cln-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Name: cln
  2. Summary: Class Library for Numbers
  3. Summary(ja): 数値用のクラスライブラリ
  4. Version: 1.3.4
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2+
  8. URL: http://www.ginac.de/CLN/
  9. Source0: http://www.ginac.de/CLN/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gmp-devel
  12. BuildRequires: texinfo
  13. BuildRequires: texlive-collection-fontsrecommended
  14. %description
  15. CLN is a collection of C++ math classes and functions, which are
  16. designed for memory and speed efficiency, and enable type safety
  17. and algebraic syntax.
  18. %package devel
  19. Summary: Development files for programs using the CLN library
  20. Summary(ja): CLN ライブラリの開発用ファイル
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires(post): /sbin/install-info
  24. Requires(preun): /sbin/install-info
  25. %description devel
  26. CLN is a collection of C++ math classes and functions, which are
  27. designed for memory and speed efficiency, and enable type safety
  28. and algebraic syntax.
  29. This package is necessary if you wish to develop software based on
  30. the CLN library.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static
  35. make %{?_smp_mflags}
  36. make pdf
  37. make html
  38. %install
  39. rm -rf %{buildroot}
  40. make DESTDIR=%{buildroot} install
  41. find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
  42. rm -f %{buildroot}%{_infodir}/dir
  43. rm -rf %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1/pi.*
  44. %check
  45. make %{?_smp_mflags} check
  46. %clean
  47. rm -rf %{buildroot}
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %post devel
  51. /sbin/install-info --section="Math" %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
  52. %preun devel
  53. if [ "$1" = 0 ]; then
  54. /sbin/install-info --delete %{_infodir}/cln.info.gz %{_infodir}/dir 2>/dev/null || :
  55. fi
  56. %files
  57. %defattr(-,root,root)
  58. %doc COPYING NEWS README TODO
  59. %{_libdir}/*.so.*
  60. %files devel
  61. %defattr(-,root,root)
  62. %doc COPYING doc/cln.pdf doc/cln.html
  63. %{_libdir}/*.so
  64. %{_libdir}/pkgconfig/cln.pc
  65. %{_includedir}/cln
  66. %{_infodir}/*.info*
  67. %changelog
  68. * Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.4-2
  69. - rebuild with gcc-5.4.0
  70. * Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.4-1
  71. - updated to 1.3.4
  72. - removed Patch0
  73. - built with gmp-5.1.3
  74. - added BR: texlive-collection-fontsrecommended
  75. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-2
  76. - rebuilt with rpm-4.8.1 for pkg-config
  77. * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-1
  78. - new upstream release
  79. - built with new toolchain
  80. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.0-3
  81. - Initial build for Vine Linux
  82. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  84. * Thu Jul 02 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.0-1
  85. - Update to latest upstream release 1.3.0
  86. * Thu May 28 2009 Dan Horak <dan[at]danny.cz> - 1.2.2-5
  87. - fix build on s390x
  88. - run the test-suite during build
  89. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
  90. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  91. * Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 1.2.2-3
  92. - Add upstream patch to build with gcc-4.4
  93. * Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.2.2-2
  94. - Bump to solve dependency for ginac-devel
  95. * Tue Apr 29 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.2-1
  96. - Update to 1.2.2.
  97. * Mon Feb 25 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.0-1
  98. - Update to 1.2.0.
  99. - Update License tag.
  100. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.13-5
  101. - Autorebuild for GCC 4.3
  102. * Thu Sep 13 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-4
  103. - Add pkgconfig as a dependency of -devel.
  104. * Tue Aug 21 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-3
  105. - Rebuild for F8.
  106. * Mon Aug 28 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-2
  107. - Rebuild for FC-6.
  108. * Thu Aug 17 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-1
  109. - New release.
  110. * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-5
  111. - Disable static build.
  112. - Enable parallel build.
  113. * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-4
  114. - Rebuild for Fedora Extras 5.
  115. - Remove /usr/share/info/dir after install.
  116. - Exclude static libs.
  117. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-3
  118. - Exclude /usr/share/info/dir from package (bug 178660).
  119. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-2
  120. - Update source URL.
  121. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-1
  122. - New upstream release.
  123. * Mon Oct 31 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.10-1
  124. - New upstream release, incorporating previous patch.
  125. * Mon Jun 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-8
  126. - Rebuild
  127. * Mon Jun 13 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-4
  128. - Patched include/cln/string.h to correctly compile on gcc-c++-4.0.0-9
  129. * Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-3
  130. - Added gmp-devel to Requires for devel
  131. * Fri May 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-2
  132. - Added dist tag.
  133. * Wed May 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  134. - Excluded .la file
  135. * Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  136. - Added gmp-devel in BuildRequires, fixes in files
  137. - Added release to name in Requires for devel
  138. * Mon Mar 21 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  139. - Adapted spec file for Fedora Extras
  140. * Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
  141. Added pkg-config metadata file to devel package
  142. * Wed Nov 6 2002 Christian Bauer <Christian.Bauer@uni-mainz.de>
  143. Added HTML and DVI docs to devel package
  144. * Tue Nov 5 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
  145. Added Packager