89 lines
2.5 KiB
RPMSpec
89 lines
2.5 KiB
RPMSpec
Name: libnova
|
|
Version: 0.15.0
|
|
Release: 1mamba
|
|
Summary: A general purpose astronomy & astrodynamics library
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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 need for development.
|
|
|
|
%package static
|
|
Group: Development/Libraries
|
|
Summary: Static libraries for %{name}
|
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description static
|
|
Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library
|
|
This package contains static libraries need for development.
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.in
|
|
sed -i "/AM_PROG_CC_STDC/d" configure.in
|
|
|
|
%build
|
|
autoreconf
|
|
%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}/*.so.*
|
|
%{_bindir}/libnovaconfig
|
|
%doc AUTHORS ChangeLog
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libnova
|
|
%{_includedir}/libnova/*.h
|
|
%{_libdir}/*.so
|
|
%doc COPYING examples/*.c
|
|
%doc NEWS README
|
|
|
|
%files static
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.la
|
|
|
|
%changelog
|
|
* 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
|