Пакет libclucene-core: 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 | %define rname clucene-core Name: libclucene-core Version: 2.3.3.4 Release: alt6 Summary: CLucene is a C++ port of Lucene. License: LGPL / Apache2 Group: System/Libraries Url: http://clucene.sf.net Source: %rname-%version.tar.gz # FC Patch1: clucene-core-2.3.3.4-install_contribs_lib.patch Patch2: clucene-core-2.3.3.4-pkgconfig.patch # SuSE Patch11: clucene-kill-ext-includes.diff # ALT Patch21: %rname-%version-alt-build.patch BuildRequires: boost-devel-headers cmake gcc-c++ zlib-devel kde-common-devel %description It is a high-performance, full-featured text search engine written in C++. CLucene is faster than lucene as it is written in C++. %package -n libclucene-shared Group: System/Libraries Summary: CLucene shared library %description -n libclucene-shared It is a high-performance, full-featured text search engine written in C++. CLucene is faster than lucene as it is written in C++. %package -n libclucene-contribs-lib Group: System/Libraries Summary: CLucene contribs library %description -n libclucene-contribs-lib It is a high-performance, full-featured text search engine written in C++. CLucene is faster than lucene as it is written in C++. %package -n %name-devel Summary: Development library and headers files fo CLucene Group: Development/C++ #Requires: libclucene-core libclucene-shared Conflicts: libclucene-devel %description -n %name-devel It is a high-performance, full-featured text search engine written in C++. CLucene is faster than lucene as it is written in C++. %package -n %name-devel-static Summary: Static library for CLucene Group: Development/C++ Requires: %name-devel %description -n %name-devel-static It is a high-performance, full-featured text search engine written in C++. CLucene is faster than lucene as it is written in C++. %prep %setup -qn %rname-%version %patch1 -p1 %patch2 -p1 %patch11 -p1 %patch21 -p2 %build %ifarch %e2k # lcc 1.25.15 barfs on googletest's testing::<unnamed>::TestNameIs::operator() %add_optflags -Wno-error=unused-function %endif %Kcmake \ -DBUILD_CONTRIBS_LIB:BOOL=ON \ -DLUCENE_SYS_INCLUDES:PATH=%_libdir make -C BUILD* %install %Kinstall %files %_libdir/libclucene-core.so.* %files -n libclucene-shared %_libdir/libclucene-shared.so.* %files -n libclucene-contribs-lib %_libdir/libclucene-contribs-lib.so.* %files -n %name-devel %_pkgconfigdir/libclucene-core.pc %_libdir/CLucene/ %_libdir/CLuceneConfig.cmake %_includedir/CLucene %_includedir/CLucene.h %_libdir/lib*.so #%files -n %name-devel-static #%_libdir/lib*.a %changelog * Fri May 28 2021 Michael Shigorin <mike@altlinux.org> 2.3.3.4-alt6 - E2K: ftbfs workaround * Mon Mar 15 2021 Sergey V Turchin <zerg@altlinux.org> 2.3.3.4-alt5 - disable multiprocessor build * Wed Nov 28 2018 Sergey V Turchin <zerg@altlinux.org> 2.3.3.4-alt4 - fix check gcc version * Mon Jul 10 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.3.3.4-alt3 - Fixed build with gcc-6 * Fri Apr 08 2016 Gleb F-Malinovskiy (qa) <qa_glebfm@altlinux.org> 2.3.3.4-alt2.qa1 - Rebuilt for gcc5 C++11 ABI. * Tue May 07 2013 Sergey V Turchin <zerg@altlinux.org> 2.3.3.4-alt2 - don't export include directory with private boost headers * Thu May 24 2012 Sergey V Turchin <zerg@altlinux.org> 2.3.3.4-alt0.M60P.1 - build for M60P * Wed May 23 2012 Sergey V Turchin <zerg@altlinux.org> 2.3.3.4-alt1 - initial build |