[packages/libnova] Up to 0.16
arekm
arekm at pld-linux.org
Sun Mar 15 11:58:51 CET 2026
commit a47896019f26003481ef473fc5ff54ad57f930a9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Mar 15 11:58:33 2026 +0100
Up to 0.16
libnova-opt.patch | 28 +++++++++++++++++++---------
libnova.spec | 17 +++++++++--------
2 files changed, 28 insertions(+), 17 deletions(-)
---
diff --git a/libnova.spec b/libnova.spec
index a770148..043082c 100644
--- a/libnova.spec
+++ b/libnova.spec
@@ -1,14 +1,14 @@
Summary: General purpose astronomy & astrodynamics library
Summary(pl.UTF-8): Biblioteka astronomiczna i astrodynamiczna ogólnego przeznaczenia
Name: libnova
-Version: 0.15.0
+Version: 0.16
Release: 1
License: LGPL v2+
Group: Libraries
-Source0: http://downloads.sourceforge.net/libnova/%{name}-%{version}.tar.gz
-# Source0-md5: 756fdb55745cb78511f83a62c25f3be4
+Source0: https://gitlab.com/libnova/libnova/-/archive/v%{version}/%{name}-v%{version}.tar.gz
+# Source0-md5: 85dafbc9ec042e483d2f68849feb2d9a
Patch0: %{name}-opt.patch
-URL: http://libnova.sourceforge.net/
+URL: https://gitlab.com/libnova/libnova
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@@ -48,12 +48,13 @@ Static libnova library.
Statyczna biblioteka libnova.
%prep
-%setup -q
+%setup -q -n %{name}-v%{version}
%patch -P0 -p1
+echo %{version} > .tarball-version
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
@@ -75,8 +76,8 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS
%attr(755,root,root) %{_bindir}/libnovaconfig
-%attr(755,root,root) %{_libdir}/libnova-0.15.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libnova-0.15.so.0
+%attr(755,root,root) %{_libdir}/libnova-0.16.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libnova-0.16.so.0
%files devel
%defattr(644,root,root,755)
diff --git a/libnova-opt.patch b/libnova-opt.patch
index 5699f30..67a6e1b 100644
--- a/libnova-opt.patch
+++ b/libnova-opt.patch
@@ -1,11 +1,21 @@
---- libnova-0.15.0/configure.in.orig 2012-07-11 10:23:42.000000000 +0200
-+++ libnova-0.15.0/configure.in 2016-03-20 16:49:32.482399751 +0100
-@@ -63,7 +63,7 @@
- AC_CHECK_FUNCS([asinl])
- AC_CHECK_FUNCS([atan2l])
-
+--- libnova-v0.16.orig/configure.ac 2015-03-03 12:16:58.000000000 +0100
++++ libnova-v0.16/configure.ac 2026-03-15 11:53:24.212469530 +0100
+@@ -100,7 +100,7 @@
+ fi
+
+ dnl Make sure we fail on all warnings
-CFLAGS=-Wall
+CFLAGS="$CFLAGS -Wall"
-
- # Checks for header files.
- AC_HEADER_STDC
+
+ AC_CONFIG_FILES([
+ Makefile
+--- libnova-v0.16.orig/src/Makefile.am 2015-03-03 12:16:58.000000000 +0100
++++ libnova-v0.16/src/Makefile.am 2026-03-15 11:53:24.214483085 +0100
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+
+-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS)
++AM_CFLAGS = -Wall $(AVX_CFLAGS)
+
+ SUBDIRS = libnova
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libnova.git/commitdiff/a47896019f26003481ef473fc5ff54ad57f930a9
More information about the pld-cvs-commit
mailing list