From a2cdddf4d80cdd82a494976acd392f22b8c1d2b1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 13 Apr 2024 13:48:58 +0200 Subject: [PATCH] restore from archive as requirement for indi [release 0.15.0-2mamba;Thu Apr 11 2024] --- libnova.spec | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/libnova.spec b/libnova.spec index 3967c88..c683e05 100644 --- a/libnova.spec +++ b/libnova.spec @@ -1,18 +1,17 @@ Name: libnova Version: 0.15.0 -Release: 1mamba +Release: 2mamba Summary: A general purpose astronomy & astrodynamics library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -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 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 @@ -24,24 +23,17 @@ 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. +This package contains libraries and header files neeed 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. +%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 -autoreconf %configure %make @@ -57,24 +49,24 @@ autoreconf %files %defattr(-,root,root) -%{_libdir}/*.so.* -%{_bindir}/libnovaconfig -%doc AUTHORS ChangeLog +%{_libdir}/libnova-*.so.* +%doc AUTHORS %files devel %defattr(-,root,root) +%{_bindir}/libnovaconfig %dir %{_includedir}/libnova %{_includedir}/libnova/*.h -%{_libdir}/*.so +%{_libdir}/libnova.a +%{_libdir}/libnova.so %doc COPYING examples/*.c %doc NEWS README - -%files static -%defattr(-,root,root) -%{_libdir}/*.a -%{_libdir}/*.la +%doc ChangeLog %changelog +* Thu Apr 11 2024 Silvan Calarco 0.15.0-2mamba +- restore from archive as requirement for indi + * Thu Mar 14 2013 Automatic Build System 0.15.0-1mamba - automatic version update by autodist