Package gnustep-pdfkit: 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 | Name: gnustep-pdfkit Version: 0.9.3 Release: alt6 Summary: A Framework for accessing and rendering PDF content License: GPL-2.0 Group: File tools Url: http://wiki.gnustep.org/index.php/PDFKit Packager: Andrey Cherepanov <cas@altlinux.org> BuildPreReq: gcc-c++ libfreetype-devel gnustep-make-devel BuildPreReq: gnustep-base-devel gnustep-gui-devel Source: %name-%version.tar Patch1: link-libs.patch Requires: gnustep-back %description Kit for displaying PDFs in a View, based on xpdf. %package -n lib%name Summary: Shared libraries of PDFKit Group: System/Libraries Requires: %name = %version-%release %description -n lib%name Kit for displaying PDFs in a View, based on xpdf. This package contains shared libraries of PDFKit. %package -n lib%name-devel Summary: Development files of PDFKit Group: Development/Objective-C Provides: %name-devel = %version-%release Requires: %name = %version-%release Requires: lib%name = %version-%release %description -n lib%name-devel Kit for displaying PDFs in a View, based on xpdf. This package contains development files of PDFKit. %prep %setup %patch1 -p2 %build export GNUSTEP_MAKEFILES=%_datadir/GNUstep/Makefiles . %_datadir/GNUstep/Makefiles/GNUstep.sh %autoreconf %configure \ --libexecdir=%_libdir \ --with-freetype2-library=%prefix \ --with-freetype2-includes=%_includedir/freetype2 \ --with-installation-domain=SYSTEM %make_build \ messages=yes \ debug=yes \ strip=no \ shared=yes \ CONFIG_SYSTEM_LIBS='-lgnustep-gui -lgnustep-base' %install . %_datadir/GNUstep/Makefiles/GNUstep.sh %makeinstall_std \ GNUSTEP_INSTALLATION_DOMAIN=SYSTEM pushd %buildroot%_libdir for i in *.so*; do rm -f $i mv GNUstep/Frameworks/PDFKit.framework/Versions/Current/$i ./ ln -s %_libdir/$i \ GNUstep/Frameworks/PDFKit.framework/Versions/Current/ done popd rm -f \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/libPDFKit.so \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/PDFKit \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/libPDFKit.so \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/PDFKit pushd %buildroot%_libdir for i in libPDFKit.so.*.*; do ln -s %_libdir/$i \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/libPDFKit.so ln -s %_libdir/$i \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/PDFKit ln -s %_libdir/$i \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/libPDFKit.so ln -s %_libdir/$i \ %buildroot%_libdir/GNUstep/Frameworks/PDFKit.framework/PDFKit done popd # It is the file in the package whose name matches the format emacs or vim uses # for backup and autosave files. It may have been installed by accident. find $RPM_BUILD_ROOT \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete # failsafe cleanup if the file is declared as %%doc find . \( -name '.*.swp' -o -name '#*#' -o -name '*~' \) -print -delete %files %doc Documentation/* %_libdir/GNUstep %exclude %_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/Headers %exclude %_libdir/GNUstep/Frameworks/PDFKit.framework/Headers %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_includedir/* %_libdir/*.so %_libdir/GNUstep/Frameworks/PDFKit.framework/Versions/0/Headers %_libdir/GNUstep/Frameworks/PDFKit.framework/Headers %changelog * Mon Oct 12 2020 Andrey Cherepanov <cas@altlinux.org> 0.9.3-alt6 - Build without libgnustep-objc2-devel. - Build on aarch64 architectire. * Mon Feb 04 2019 Ivan A. Melnikov <iv@altlinux.org> 0.9.3-alt5.1 - Fix FTBFS. * Sat Feb 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.3-alt5 - Built with clang * Thu Jan 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.3-alt4 - Added Requires: gnustep-back * Mon Jan 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.3-alt3 - Rebuilt with new gnustep-gui * Thu Oct 03 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.3-alt2 - Applied repocop patch * Wed Oct 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.3-alt1 - Version 0.9.3 * Mon Dec 31 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.2-alt3 - Don't required devel packages for runtime packages * Wed Dec 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.2-alt2 - Moved shared libraries into %_libdir * Wed Dec 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.2-alt1 - Initial build for Sisyphus |