libnova-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: libnova
  2. Summary: Libnova is a general purpose astronomy & astrodynamics library
  3. Summary(ja): 天文学や天文力学向け汎用ライブラリ
  4. Version: 0.15.0
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://sourceforge.net/projects/libnova/
  9. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: libtool autoconf automake
  12. %description
  13. Libnova is a general purpose, double precision, celestial mechanics,
  14. astrometry and astrodynamics library
  15. %package devel
  16. Summary: Development files for libnova
  17. Summary(ja): libnova の開発用ファイル
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. %description devel
  21. Contains library and header files for libnova
  22. %prep
  23. %setup -q
  24. %build
  25. autoreconf -vif
  26. %configure --disable-static
  27. make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post -p /sbin/ldconfig
  35. %postun -p /sbin/ldconfig
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc ChangeLog README AUTHORS NEWS COPYING
  39. %{_libdir}/libnova-0.15.so.*
  40. %{_bindir}/libnovaconfig
  41. %files devel
  42. %doc COPYING examples/*.c
  43. %{_includedir}/libnova
  44. %{_libdir}/libnova.so
  45. %changelog
  46. * Wed Feb 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.15.0-1
  47. - updated to 0.15.0
  48. * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.0-1
  49. - new upstream release
  50. * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.13.0-1
  51. - new upstream release
  52. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.12.1-6
  53. - Initial build for Vine Linux
  54. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-5
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-4
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  58. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.1-3
  59. - Autorebuild for GCC 4.3
  60. * Sat Jan 12 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-2
  61. - Made changes to the Groups
  62. * Mon Jan 07 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-1
  63. - Made small changes to make it more complaint with fedora packaging standards
  64. * Thu Jan 04 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-0
  65. - Initial version.