cln-vl.spec 5.5 KB

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