restore from archive as requirement for indi [release 0.15.0-2mamba;Thu Apr 11 2024]

This commit is contained in:
Silvan Calarco 2024-04-13 13:48:58 +02:00
parent 273ef95088
commit a2cdddf4d8

View File

@ -1,18 +1,17 @@
Name: libnova Name: libnova
Version: 0.15.0 Version: 0.15.0
Release: 1mamba Release: 2mamba
Summary: A general purpose astronomy & astrodynamics library Summary: A general purpose astronomy & astrodynamics library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libnova.sourceforge.net URL: https://libnova.sourceforge.net/
Source: http://downloads.sourceforge.net/project/libnova/libnova/v%20%{version}/libnova-%{version}.tar.gz Source: http://downloads.sourceforge.net/project/libnova/libnova/v%20%{version}/libnova-%{version}.tar.gz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library
@ -24,24 +23,17 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library Libnova is a general purpose, double precision, celestial mechanics, astrometry and astrodynamics library
This package contains libraries and header files need for development. This package contains libraries and header files neeed for development.
%package static %debug_package
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 %prep
%setup -q %setup -q
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.in sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|" configure.in
sed -i "/AM_PROG_CC_STDC/d" configure.in sed -i "/AM_PROG_CC_STDC/d" configure.in
autoreconf -fi
%build %build
autoreconf
%configure %configure
%make %make
@ -57,24 +49,24 @@ autoreconf
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libnova-*.so.*
%{_bindir}/libnovaconfig %doc AUTHORS
%doc AUTHORS ChangeLog
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/libnovaconfig
%dir %{_includedir}/libnova %dir %{_includedir}/libnova
%{_includedir}/libnova/*.h %{_includedir}/libnova/*.h
%{_libdir}/*.so %{_libdir}/libnova.a
%{_libdir}/libnova.so
%doc COPYING examples/*.c %doc COPYING examples/*.c
%doc NEWS README %doc NEWS README
%doc ChangeLog
%files static
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%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 * Thu Mar 14 2013 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist - automatic version update by autodist