Package gnustep-PopplerKit: 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 | %set_verify_elf_method unresolved=strict Name: gnustep-PopplerKit Version: 0.0.20051227svn Release: alt2.M70T.1 Summary: GNUstep framework for rendering PDF content License: GPLv2 Group: Graphical desktop/GNUstep Url: http://packages.debian.org/jessie/libpopplerkit-dev Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar BuildPreReq: clang-devel gnustep-make-devel libgnustep-objc2-devel /proc BuildPreReq: gnustep-gui-devel gcc-c++ BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel BuildPreReq: libpoppler-devel fontconfig-devel Requires: lib%name = %EVR Requires: gnustep-back %description PopplerKit is a GNUstep framework for accessing and rendering PDF content. It is based on the poppler library. Its features are: - Render PDF content. - Extract text from a PDF document. - Access a PDF document's outline. - Search in PDF documents. %package -n lib%name Summary: Shared libraries of PopplerKit Group: System/Libraries %description -n lib%name PopplerKit is a GNUstep framework for accessing and rendering PDF content. It is based on the poppler library. This package contains shared libraries of PopplerKit. %package -n lib%name-devel Summary: Development files of PopplerKit Group: Development/Objective-C Provides: %name-devel = %EVR Requires: %name = %EVR Requires: lib%name = %EVR %description -n lib%name-devel PopplerKit is a GNUstep framework for accessing and rendering PDF content. It is based on the poppler library. This package contains development files of PopplerKit. %prep %setup for i in $(find ./ -name '*.cc'); do file=$(echo $i |sed 's|\.cc|.c|') mv $i $file done %build . %_datadir/GNUstep/Makefiles/GNUstep.sh %make_build \ messages=yes \ debug=yes \ strip=no \ shared=yes \ AUXILIARY_CPPFLAGS='-DPOPPLER_0_20 -DPOPPLER_0_5 -I%_includedir/poppler' %install . %_datadir/GNUstep/Makefiles/GNUstep.sh %makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM pushd %buildroot%_libdir for j in PopplerKit; do for i in lib$j.so*; do rm -f $i mv GNUstep/Frameworks/$j.framework/Versions/Current/$i ./ for k in lib$j.so.*.*; do ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$i rm GNUstep/Frameworks/$j.framework/Versions/Current/$j ln -s %_libdir/$k GNUstep/Frameworks/$j.framework/Versions/Current/$j done done done popd %files %doc docs/* %_libdir/GNUstep %exclude %_libdir/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Headers %exclude %_libdir/GNUstep/Frameworks/PopplerKit.framework/Headers %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_libdir/GNUstep/Frameworks/PopplerKit.framework/Versions/1.0/Headers %_libdir/GNUstep/Frameworks/PopplerKit.framework/Headers %changelog * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.20051227svn-alt2.M70T.1 - Built for t7/branch * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.20051227svn-alt3 - Built with clang * Tue Feb 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.20051227svn-alt1.M70T.1 - Built for t7/branch * Thu Jan 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.20051227svn-alt2 - Added Requires: gnustep-back * Sat Jan 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.0.20051227svn-alt1 - Initial build for Sisyphus |