Package liborcus: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | %define _unpackaged_files_terminate_build 1 %define _stripped_files_terminate_build 1 %set_verify_elf_method strict %def_enable spreadsheet-model %def_with python Name: liborcus Version: 0.17.2 Release: alt1 Summary: Standalone file import filter library for spreadsheet documents Group: System/Libraries License: MPL-2.0 Url: https://gitlab.com/orcus/orcus Source: orcus-%version.tar.gz %define libver 0.17 # Automatically added by buildreq on Thu Jul 25 2013 # optimized out: boost-devel boost-intrusive-devel libstdc++-devel pkg-config BuildRequires: boost-devel-headers boost-interprocess-devel boost-program_options-devel gcc-c++ zlib-devel boost-filesystem-devel mdds-devel python3-devel libixion-devel %description %name is a standalone file import filter library for spreadsheet documents. Currently under development are ODS, XLSX and CSV import filters. %package devel Summary: Development files for %name Group: Development/C++ %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package tools Summary: Tools for working with Orcus Group: Publishing %description tools Tools for working with Orcus. %package -n python3-module-orcus Summary: Python3 bindings for Orcus Group:Development/Python3 %description -n python3-module-orcus Python3 bindings for Orcus %prep %setup %build %add_optflags -D_FILE_OFFSET_BITS=64 sed -i 's|liborcus_@ORCUS_API_VERSION@_la_LIBADD = |& ../parser/liborcus-parser-@ORCUS_API_VERSION@.la|' src/liborcus/Makefile.am sed -i 's/liborcus_parser_.*_la_LIBADD = /& $(BOOST_SYSTEM_LIB) /' src/parser/Makefile.am %autoreconf # TODO spreadsheet-model requires ixion %configure \ --disable-debug \ --disable-static \ --disable-werror \ --with-pic \ --with-boost \ --with-boost-system \ %subst_enable spreadsheet-model \ %if_without python --disable-python \ %endif # sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ libtool %make_build V=1 %install make install DESTDIR=%buildroot rm -f %buildroot/%_libdir/*.la ln -s %name-%libver.pc %buildroot%_pkgconfigdir/%name.pc %files %doc AUTHORS %_libdir/%name-*%libver.so.* %files devel %_includedir/%name-%libver %_libdir/%name-*%libver.so %_libdir/pkgconfig/%{name}*.pc %files tools %_bindir/orcus-* %if_with python %files -n python3-module-orcus %python3_sitelibdir/* %python3_sitelibdir_noarch/* %endif %changelog * Thu Jan 13 2022 Fr. Br. George <george@altlinux.ru> 0.17.2-alt1 - Autobuild version bump to 0.17.2 - Enable python module - Add ixion support * Wed Oct 13 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 0.16.1-alt2 - Fixed build with gcc-11 * Fri Feb 12 2021 Fr. Br. George <george@altlinux.ru> 0.16.1-alt1 - Autobuild version bump to 0.16.1 * Thu Aug 06 2020 Andrey Cherepanov <cas@altlinux.org> 0.15.4-alt1 - NMU: New version needed by LibreOffice 6.4 * Mon Dec 16 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 0.14.1-alt2 - Rebuilt with boost-1.71.0 and mdds-1.5.0. * Mon Sep 17 2018 Fr. Br. George <george@altlinux.ru> 0.14.1-alt1 - Autobuild version bump to 0.14.1 - Introduce python3 module * Wed May 23 2018 Fr. Br. George <george@altlinux.ru> 0.13.4-alt1 - Autobuild version bump to 0.13.4 * Tue Feb 20 2018 Fr. Br. George <george@altlinux.ru> 0.13.2-alt1 - Autobuild version bump to 0.13.2 * Mon Sep 04 2017 Fr. Br. George <george@altlinux.ru> 0.13.0-alt1 - Autobuild version bump to 0.13.0 * Mon Jul 31 2017 Fr. Br. George <george@altlinux.ru> 0.12.1-alt2 - Rebuild with new boost * Mon Oct 17 2016 Fr. Br. George <george@altlinux.ru> 0.12.1-alt1 - Autobuild version bump to 0.12.1 * Mon Jul 11 2016 Fr. Br. George <george@altlinux.ru> 0.11.2-alt1 - Autobuild version bump to 0.11.2 * Thu Mar 10 2016 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.11.0-alt1 - Updated to 0.11.0. * Mon Sep 21 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 0.9.2-alt1 - Updated to 0.9.2. * Sat Jan 03 2015 Ivan A. Melnikov <iv@altlinux.org> 0.7.0-alt2.1 - rebuild with boost 1.57.0 * Sat Jun 07 2014 Alexey Shabalin <shaba@altlinux.ru> 0.7.0-alt2 - build to sisyphus * Thu Feb 20 2014 Fr. Br. George <george@altlinux.ru> 0.7.0-alt1 - Autobuild version bump to 0.7.0 - Fix build (introduce chrpath hack) * Thu Jul 25 2013 Fr. Br. George <george@altlinux.ru> 0.5.1-alt1 - Autobuild version bump to 0.5.1 - Fix underlinkage * Sun Apr 14 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.3.0-alt1.qa1 - NMU: rebuilt with libboost_*.so.1.53.0. * Tue Feb 05 2013 Fr. Br. George <george@altlinux.ru> 0.3.0-alt1 - Initial build from FC * Sat Dec 08 2012 David Tardon <dtardon@redhat.com> - 0.3.0-2 - a pointless release bump * Fri Dec 07 2012 David Tardon <dtardon@redhat.com> - 0.3.0-1 - new release * Sun Sep 09 2012 David Tardon <dtardon@redhat.com> - 0.1.0-1 - initial import |