gsl-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. Name: gsl
  2. Summary: The GNU Scientific Library for numerical analysis.
  3. Summary(ja): 数値解析用の GNU 科学技術計算ライブラリ
  4. Version: 1.16
  5. Release: 1%{?_dist_release}
  6. License: GPLv3
  7. Group: System Environment/Libraries
  8. URL: http://www.gnu.org/software/gsl/
  9. Source: %{name}-%{version}.tar.gz
  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 --enable-silent-rules
  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. * Fri Sep 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.16-1
  79. - new upstream release
  80. * Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.14-2
  81. - rebuilt with rpm-4.8.1 for pkg-config
  82. * Sat Apr 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.14-1
  83. - new upstream release
  84. - built with new toolchain
  85. * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.12-1
  86. - new upstream release
  87. - spec in UTF-8
  88. - removed lib*.a files from devel package
  89. * Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1
  90. - new upstream release
  91. - removed lib*.la files from devel package
  92. * Tue Oct 23 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.10-0vl1
  93. - new upstream release
  94. - added Requires(post, preun) to devel package
  95. - updated License to GPLv3
  96. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-0vl1
  97. - new upstream release
  98. * Wed Jul 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6-0vl1
  99. - updated to 1.6
  100. * Tue Nov 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-0vl1
  101. - updated to 1.5
  102. - rebuild with new toolchains
  103. - added Japanese summary
  104. * Tue Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl2
  105. - rebuild with new toolchains
  106. * Fri Dec 26 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl2
  107. - rebuild with new toolchains
  108. * Sat Aug 30 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl1
  109. - update to 1.4
  110. - rebuild with new toolchains
  111. - change URL
  112. * Thu Jul 18 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.2-0vl1
  113. - update to 1.2
  114. - modified for Vine.
  115. * Sat Mar 16 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.1.1-5bw
  116. - Update 1.1.1.
  117. * Wed Feb 27 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.1-4bw
  118. - Update 1.1.
  119. * Mon Feb 18 2002 Fuhito Suguri <bitwalk@jcom.home.ne.jp> 1.0-3bw
  120. - add Japanese descriptions and rebuild on RH7.2.
  121. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  122. - automated rebuild
  123. * Thu Dec 13 2001 Trond Eivind Glomsrod <teg@redhat.com> 1.0-1
  124. - 1.0
  125. - Split into gsl and gsl-devel
  126. - update description (#56926)
  127. * Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
  128. - upgrade to 0.9
  129. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  130. - Bump release + rebuild.
  131. * Thu Jan 18 2001 Preston Brown <pbrown@redhat.com>
  132. - prereq install-info (#24250)
  133. * Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
  134. - 0.7, remove excludearch for ia64
  135. * Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  136. - fix %post to be a real shell and add ldconfig to %post
  137. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  138. - automatic rebuild
  139. * Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
  140. - don't include the info dir file...
  141. * Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
  142. - add %%defattr
  143. * Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
  144. - 0.6, FHS paths
  145. - exclude ia64, it is having issues
  146. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  147. - auto rebuild in the new build environment (release 2)
  148. * Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
  149. - update to 0.3f
  150. - add patches to fix glibc-2.1 compilation, doc oddity
  151. * Thu Feb 25 1999 Bill Nottingham <notting@redhat.com>
  152. - new summary/description, work around automake oddity
  153. * Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
  154. - libtoolize for arm
  155. * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
  156. - spec file fixups
  157. * Sat May 9 1998 Michael Fulbright <msf@redhat.com>
  158. - started with package for gmp from Toshio Kuratomi <toshiok@cats.ucsc.edu>
  159. - cleaned up file list
  160. - fixed up install-info support