libnova/libnova.spec

81 lines
2.2 KiB
RPMSpec

Name: libnova
Version: 0.15.0
Release: 2mamba
Summary: A general purpose astronomy & astrodynamics library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libnova.sourceforge.net/
Source: http://downloads.sourceforge.net/project/libnova/libnova/v%20%{version}/libnova-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library
This package contains libraries and header files neeed for development.
%debug_package
%prep
%setup -q
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.in
sed -i "/AM_PROG_CC_STDC/d" configure.in
autoreconf -fi
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libnova-*.so.*
%doc AUTHORS
%files devel
%defattr(-,root,root)
%{_bindir}/libnovaconfig
%dir %{_includedir}/libnova
%{_includedir}/libnova/*.h
%{_libdir}/libnova.a
%{_libdir}/libnova.so
%doc COPYING examples/*.c
%doc NEWS README
%doc ChangeLog
%changelog
* Thu Apr 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-2mamba
- restore from archive as requirement for indi
* Thu Mar 14 2013 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist
* Thu Aug 25 2011 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
- automatic version update by autodist
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic update by autodist
* Mon Oct 13 2008 gil <puntogil@libero.it> 0.12.2-1mamba
- package created by autospec