cln-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. Name: cln
  2. Summary: Class Library for Numbers
  3. Summary(ja): 数値用のクラスライブラリ
  4. Version: 1.3.4
  5. Release: 1%{?_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. * Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.4-1
  69. - updated to 1.3.4
  70. - removed Patch0
  71. - built with gmp-5.1.3
  72. - added BR: texlive-collection-fontsrecommended
  73. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-2
  74. - rebuilt with rpm-4.8.1 for pkg-config
  75. * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.1-1
  76. - new upstream release
  77. - built with new toolchain
  78. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.0-3
  79. - Initial build for Vine Linux
  80. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  82. * Thu Jul 02 2009 Deji Akingunola <dakingun@gmail.com> - 1.3.0-1
  83. - Update to latest upstream release 1.3.0
  84. * Thu May 28 2009 Dan Horak <dan[at]danny.cz> - 1.2.2-5
  85. - fix build on s390x
  86. - run the test-suite during build
  87. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-4
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  89. * Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 1.2.2-3
  90. - Add upstream patch to build with gcc-4.4
  91. * Fri Jan 16 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.2.2-2
  92. - Bump to solve dependency for ginac-devel
  93. * Tue Apr 29 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.2-1
  94. - Update to 1.2.2.
  95. * Mon Feb 25 2008 Quentin Spencer <qspencer@users.sf.net> 1.2.0-1
  96. - Update to 1.2.0.
  97. - Update License tag.
  98. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.13-5
  99. - Autorebuild for GCC 4.3
  100. * Thu Sep 13 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-4
  101. - Add pkgconfig as a dependency of -devel.
  102. * Tue Aug 21 2007 Quentin Spencer <qspencer@users.sf.net> 1.1.13-3
  103. - Rebuild for F8.
  104. * Mon Aug 28 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-2
  105. - Rebuild for FC-6.
  106. * Thu Aug 17 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.13-1
  107. - New release.
  108. * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-5
  109. - Disable static build.
  110. - Enable parallel build.
  111. * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-4
  112. - Rebuild for Fedora Extras 5.
  113. - Remove /usr/share/info/dir after install.
  114. - Exclude static libs.
  115. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-3
  116. - Exclude /usr/share/info/dir from package (bug 178660).
  117. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-2
  118. - Update source URL.
  119. * Mon Jan 16 2006 Quentin Spencer <qspencer@users.sf.net> 1.1.11-1
  120. - New upstream release.
  121. * Mon Oct 31 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.10-1
  122. - New upstream release, incorporating previous patch.
  123. * Mon Jun 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-8
  124. - Rebuild
  125. * Mon Jun 13 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-4
  126. - Patched include/cln/string.h to correctly compile on gcc-c++-4.0.0-9
  127. * Fri May 27 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-3
  128. - Added gmp-devel to Requires for devel
  129. * Fri May 20 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-2
  130. - Added dist tag.
  131. * Wed May 11 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  132. - Excluded .la file
  133. * Fri Apr 22 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  134. - Added gmp-devel in BuildRequires, fixes in files
  135. - Added release to name in Requires for devel
  136. * Mon Mar 21 2005 Quentin Spencer <qspencer@users.sf.net> 1.1.9-1
  137. - Adapted spec file for Fedora Extras
  138. * Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
  139. Added pkg-config metadata file to devel package
  140. * Wed Nov 6 2002 Christian Bauer <Christian.Bauer@uni-mainz.de>
  141. Added HTML and DVI docs to devel package
  142. * Tue Nov 5 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
  143. Added Packager