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 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 | Name: libtommath Version: 1.2.1 Release: alt1 Summary: A portable number theoretic multiple-precision integer library License: WTFPL Group: System/Libraries Url: http://www.libtom.net/ # https://github.com/libtom/libtommath.git Source: ltm-%version.tar.xz BuildRequires: dblatex ghostscript-utils libtiff-utils %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 = %EVR %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package doc Summary: Documentation files for %name Group: Documentation Requires: %name = %EVR BuildArch: noarch %description doc The %name-doc package contains PDF documentation for using %name. %prep %setup # Fix pkgconfig path sed -i \ -e 's|^prefix=.*|prefix=%prefix|g' \ -e 's|^libdir=.*|libdir=%_libdir|g' \ -e 's|^includedir=.*|includedir=%_includedir|g' \ %name.pc.in %build %make_build V=1 LIBPATH=%_libdir CFLAGS="%optflags -I./" -f makefile.shared echo "@@@@" make V=1 -f makefile 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 '*.a' -exec rm -f {} ';' find %buildroot -name '*.h' -exec chmod 644 {} ';' %check make -f makefile.shared test ./test %files %doc LICENSE %_libdir/*.so.* %files devel %doc LICENSE %_includedir/tommath %_libdir/*.so %_pkgconfigdir/*.pc %files doc %doc LICENSE %doc doc/bn.pdf # doc/poster.pdf doc/tommath.pdf %changelog * Wed Feb 14 2024 Fr. Br. George <george@altlinux.org> 1.2.1-alt1 - Autobuild version bump to 1.2.1 * Tue Sep 21 2021 Grigory Ustinov <grenka@altlinux.org> 1.1.0-alt2 - Drop devel-static subpackage. * Mon Feb 11 2019 Fr. Br. George <george@altlinux.ru> 1.1.0-alt1 - Autobuild version bump to 1.1.0 - Change packaging scheme * Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 1.0.1.0.97.gitg0bc7551-alt2.qa1 - NMU: applied repocop patch * Tue Apr 03 2018 Grigory Ustinov <grenka@altlinux.org> 1.0.1.0.97.gitg0bc7551-alt2 - Fix BuildRequires. * Thu Mar 01 2018 Grigory Ustinov <grenka@altlinux.org> 1.0.1.0.97.gitg0bc7551-alt1 - Update version for lastest commit because: 1) There was an error in compilation of doc/booker.pl on e2k. 2) Upstream applied patch for e2k support. * Wed Feb 28 2018 Andrew Savchenko <bircoph@altlinux.org> 1.0.1-alt3 - Fix e2k build properly: as was pointed by upstream, original patch is incorrect and will lead to data loss and int overflow. Proper solution uses MP_32BIT math until LCC will have int128 support. * Sat Feb 24 2018 Michael Shigorin <mike@altlinux.org> 1.0.1-alt2 - Fixed e2k build (int128) * Fri Jan 12 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.0.1-alt1 - Updated to upstream version 1.0.1. * 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 |