Package libtommath: 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 | Name: libtommath Version: 0.42.0 Release: alt1 Summary: A portable number theoretic multiple-precision integer library Group: System/Libraries License: WTFPL Url: http://libtom.org/ Source0: http://www.libtom.org/files/ltm-%version.tar.bz2 BuildRequires: texlive-latex-recommended # Automatically added by buildreq on Wed Sep 14 2011 # optimized out: fontconfig ghostscript-classic ghostscript-common tex-common texlive-base texlive-base-bin texlive-common texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-xetex BuildRequires: ghostscript-utils libtiff-utils Patch0: libtommath-makefile.patch %description A free open source portable number theoretic multiple-precision integer library written entirely in C. (phew!). The library is designed to provide a simple to work with API that provides fairly efficient routines that build out of the box without configuration. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package devel-static Summary: Static development files for %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static The %name-devel-static package contains static libraries for developing applications that use %name. %package doc Summary: Documentation files for %name Group: Documentation Requires: %name = %version-%release %description doc The %name-doc package contains PDF documentation for using %name. %prep %setup %patch0 -p1 -b .makefile %build %make_build LIBPATH=%_libdir -f makefile.shared %make_build -f makefile poster manual docs %install # There is no configure script that ships with libtommath but it does # understand DESTDIR and it installs via that and the # INSTALL_USER and INSTALL_GROUP environment variables. export INSTALL_USER=$(id -un) export INSTALL_GROUP=$(id -gn) make install INCPATH=%_includedir/tommath DESTDIR=%buildroot LIBPATH=%_libdir -f makefile.shared find %buildroot -name '*.la' -exec rm -f {} ';' find %buildroot -name '*.h' -exec chmod 644 {} ';' %files %doc LICENSE %_libdir/*.so.* %files devel %doc LICENSE %_includedir/tommath %_libdir/*.so %files devel-static %_libdir/*.a %files doc %doc LICENSE %doc bn.pdf poster.pdf tommath.pdf %changelog * Wed Sep 14 2011 Fr. Br. George <george@altlinux.ru> 0.42.0-alt1 - Autobuild version bump to 0.42.0 * Wed Sep 14 2011 Fr. Br. George <george@altlinux.ru> 0.41-alt1 - Initial build from FC * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.41-8 - Autorebuild for GCC 4.3 * Sun Nov 25 2007 Jeremy Hinegardner <jeremy at hinegardner dot org> - 0.41-7 - Resolve multilib conflicts from Bug #342441 by splitting out documentation to libtommath-docs subpackage - fix rpmlint Summary: warning * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.41-6 - Rebuild for selinux ppc32 issue. * Fri Jun 29 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-5 - removed package name from summary * Wed Jun 27 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-4 - changed patch to honor RPM_OPT_FLAGS - changed patch to allow INCPATH to be set externally - changed installation of headers to _includedir/tommath * Sun Jun 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-3 - changed patch to bring it into line with the style of libtomcrypt * Sat Jun 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-2 - add patch to makefile.shared to allow for /usr/lib64 installs - update spec to pass libdir build and install process * Fri Jun 22 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 0.41-1 - Initial spec file creation |