libnova-vl.spec 2.1 KB

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