gsl-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. Summary: The GNU Scientific Library for numerical analysis.
  2. Summary(ja): 数値解析用の GNU 科学技術計算ライブラリ
  3. Name: gsl
  4. Version: 1.14
  5. Release: 2%{?_dist_release}
  6. URL: http://www.gnu.org/software/gsl/
  7. Source: %{name}-%{version}.tar.gz
  8. License: GPLv3
  9. Group: System Environment/Libraries
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: inagaki
  14. %description
  15. The GNU Scientific Library (GSL) is a collection of routines for
  16. numerical analysis, written in C
  17. %description -l ja
  18. gsl パッケージは、科学技術計算用のライブラリ、GNU Scientific Library (GSL)
  19. を収めたものです。GSL は C で記述された数値解析ルーチンのコレクションです。
  20. %package devel
  21. Summary: Static libraries and header files for GSL development.
  22. Summary(ja): GSL での開発に必要な静的ライブラリとヘッダファイル
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires(post): /sbin/install-info
  26. Requires(preun): /sbin/install-info
  27. %description devel
  28. The gsl-devel package contains the header files and static libraries
  29. necessary for developing programs using the GSL (GNU Scientific Library).
  30. %description devel -l ja
  31. gsl-devel パッケージには GNU Scientific Library (GSL) を使ってプログラムを
  32. 開発する際に必要となる、ヘッダーファイルおよびスタティックライブラリが収め
  33. られています。
  34. %prep
  35. %setup -q
  36. %build
  37. %configure --disable-static
  38. touch doc/gsl-ref.info
  39. make
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} INFODIR=%{_infodir} install
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  44. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %post devel
  48. /sbin/install-info %{_infodir}/gsl-ref.info.gz %{_infodir}/dir
  49. %preun devel
  50. if [ "$1" = 0 ]; then
  51. /sbin/install-info --delete %{_infodir}/gsl-ref.info.gz %{_infodir}/dir
  52. fi
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root)
  57. %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS
  58. %doc README NEWS THANKS TODO
  59. %{_bindir}/gsl-histogram
  60. %{_bindir}/gsl-randist
  61. %{_libdir}/*.so.*
  62. %{_mandir}/man1/gsl-histogram.*
  63. %{_mandir}/man1/gsl-randist.*
  64. %files devel
  65. %defattr(-,root,root)
  66. %doc AUTHORS COPYING
  67. %{_bindir}/gsl-config
  68. %{_includedir}/*
  69. %{_datadir}/aclocal/*.m4
  70. %{_infodir}/*
  71. #{_libdir}/*.a
  72. #{_libdir}/*.la
  73. %{_libdir}/*.so
  74. %{_libdir}/pkgconfig/*.pc
  75. %{_mandir}/man1/gsl-config.*
  76. %{_mandir}/man3/*
  77. %changelog
  78. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.14-2
  79. - rebuilt with rpm-4.8.1 for pkg-config
  80. * Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.14-1
  81. - new upstream release
  82. - built with new toolchain
  83. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12-1
  84. - new upstream release
  85. - spec in UTF-8
  86. - removed lib*.a files from devel package
  87. * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1
  88. - new upstream release
  89. - removed lib*.la files from devel package
  90. * Tue Oct 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-0vl1
  91. - new upstream release
  92. - added Requires(post, preun) to devel package
  93. - updated License to GPLv3
  94. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-0vl1
  95. - new upstream release
  96. * Wed Jul 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-0vl1
  97. - updated to 1.6
  98. * Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-0vl1
  99. - updated to 1.5
  100. - rebuild with new toolchains
  101. - added Japanese summary
  102. * Tue Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl2
  103. - rebuild with new toolchains
  104. * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl2
  105. - rebuild with new toolchains
  106. * Sat Aug 30 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  107. - update to 1.4
  108. - rebuild with new toolchains
  109. - change URL
  110. * Thu Jul 18 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2-0vl1
  111. - update to 1.2
  112. - modified for Vine.
  113. * Sat Mar 16 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.1.1-5bw
  114. - Update 1.1.1.
  115. * Wed Feb 27 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.1-4bw
  116. - Update 1.1.
  117. * Mon Feb 18 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.0-3bw
  118. - add Japanese descriptions and rebuild on RH7.2.
  119. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  120. - automated rebuild
  121. * Thu Dec 13 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0-1
  122. - 1.0
  123. - Split into gsl and gsl-devel
  124. - update description (#56926)
  125. * Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
  126. - upgrade to 0.9
  127. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  128. - Bump release + rebuild.
  129. * Thu Jan 18 2001 Preston Brown <pbrown@redhat.com>
  130. - prereq install-info (#24250)
  131. * Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
  132. - 0.7, remove excludearch for ia64
  133. * Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  134. - fix %post to be a real shell and add ldconfig to %post
  135. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  136. - automatic rebuild
  137. * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
  138. - don't include the info dir file...
  139. * Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
  140. - add %%defattr
  141. * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
  142. - 0.6, FHS paths
  143. - exclude ia64, it is having issues
  144. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  145. - auto rebuild in the new build environment (release 2)
  146. * Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
  147. - update to 0.3f
  148. - add patches to fix glibc-2.1 compilation, doc oddity
  149. * Thu Feb 25 1999 Bill Nottingham <notting@redhat.com>
  150. - new summary/description, work around automake oddity
  151. * Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
  152. - libtoolize for arm
  153. * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
  154. - spec file fixups
  155. * Sat May 9 1998 Michael Fulbright <msf@redhat.com>
  156. - started with package for gmp from Toshio Kuratomi <toshiok@cats.ucsc.edu>
  157. - cleaned up file list
  158. - fixed up install-info support