Accepting request 71817 from KDE:Distro:Factory
Update to version 0.13.0, Spec file updates, Removed libnova-0.12.2-optflags.patch (forwarded request 70942 from adra) OBS-URL: https://build.opensuse.org/request/show/71817 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnova?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
5626bd2794
commit
7a11f1113f
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 20 19:48:21 UTC 2011 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 0.13.0:
|
||||
* Added heliocentric time corrections calculations.
|
||||
* Various bugfixes.
|
||||
* Sun/Solaris support fixes.
|
||||
From 0.12.3:
|
||||
* MS Windows support fixes.
|
||||
- Spec file updates:
|
||||
* Changes based on spec-cleaner run.
|
||||
* Changed License: to LGPLv2+.
|
||||
* Updates in Summary: and Group entries.
|
||||
* Removed %changelog entries.
|
||||
* Minor other updates.
|
||||
- Removed libnova-0.12.2-optflags.patch and replaced it with a fix inside the
|
||||
spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 21:28:49 CEST 2009 - dmueller@suse.de
|
||||
|
||||
|
||||
+37
-75
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnova (Version 0.12.2)
|
||||
# spec file for package libnova
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,19 +17,19 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define debug_package_requires libnova-0_12-2 = %{version}-%{release}
|
||||
%define debug_package_requires libnova-0_13-0 = %{version}-%{release}
|
||||
|
||||
Name: libnova
|
||||
BuildRequires: gcc-c++
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 0.12.2
|
||||
Release: 4
|
||||
Summary: Astrodynamics Library
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Version: 0.13.0
|
||||
Release: 1
|
||||
License: LGPLv2+
|
||||
Summary: Celestial Mechanics, Astrometry and Astrodynamics Library
|
||||
Url: http://libnova.sourceforge.net/
|
||||
Group: System/Libraries
|
||||
# http://downloads.sourceforge.net/0.13.0/libnova-0.13.0.tar.gz
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRequires: gcc-c++
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch: libnova-0.12.2-optflags.patch
|
||||
|
||||
%description
|
||||
libnova is a general purpose, double precision, Celestial Mechanics,
|
||||
@@ -37,92 +37,54 @@ Astrometry and Astrodynamics library. The intended audience of libnova
|
||||
is C & C++ programmers, astronomers and anyone else interested in
|
||||
calculating positions of astronomical objects or celestial mechanics.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Liam Girdwood <liam@gnova.org>
|
||||
Petr Kubanek <petr@kubanek.net>
|
||||
|
||||
%package devel
|
||||
License: LGPL v2.1 or later
|
||||
License: LGPLv2+
|
||||
Summary: Development files for libnova
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Astrodynamics Library
|
||||
Requires: libnova-0_12-2 = %{version} glibc-devel
|
||||
Requires: glibc-devel
|
||||
Requires: libnova-0_13-0 = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains development files for libnova.
|
||||
|
||||
%package -n libnova-0_13-0
|
||||
License: LGPLv2+
|
||||
Summary: Celestial Mechanics, Astrometry and Astrodynamics Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libnova-0_13-0
|
||||
libnova is a general purpose, double precision, Celestial Mechanics,
|
||||
Astrometry and Astrodynamics library. The intended audience of libnova
|
||||
is C & C++ programmers, astronomers and anyone else interested in
|
||||
calculating positions of astronomical objects or celestial mechanics.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Liam Girdwood <liam@gnova.org>
|
||||
Petr Kubanek <petr@kubanek.net>
|
||||
|
||||
%package -n libnova-0_12-2
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Astrodynamics Library
|
||||
|
||||
%description -n libnova-0_12-2
|
||||
libnova is a general purpose, double precision, Celestial Mechanics,
|
||||
Astrometry and Astrodynamics library. The intended audience of libnova
|
||||
is C & C++ programmers, astronomers and anyone else interested in
|
||||
calculating positions of astronomical objects or celestial mechanics.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Liam Girdwood <liam@gnova.org>
|
||||
Petr Kubanek <petr@kubanek.net>
|
||||
|
||||
%define ARCH_POSTFIX ""
|
||||
%ifarch amd64 x86_64
|
||||
%define ARCH_POSTFIX 64
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure --disable-static --with-pic
|
||||
make %{?jobs:-j %jobs}
|
||||
make CFLAGS+="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
||||
%make_install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libnova-0_12-2 -p /sbin/ldconfig
|
||||
%post -n libnova-0_13-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libnova-0_12-2 -p /sbin/ldconfig
|
||||
%postun -n libnova-0_13-0 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -n libnova-0_12-2
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
%files -n libnova-0_13-0
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libnova-0.13.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/libnova/
|
||||
%{_includedir}/libnova/*.h
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING ChangeLog NEWS
|
||||
%{_includedir}/libnova/
|
||||
%{_libdir}/libnova.so
|
||||
/usr/bin/libnovaconfig
|
||||
%{_bindir}/libnovaconfig
|
||||
|
||||
%changelog
|
||||
* Tue May 19 2009 dmueller@suse.de
|
||||
- fix debuginfo package requires
|
||||
* Wed Mar 11 2009 crrodriguez@suse.de
|
||||
- remove static libraries an "la" files
|
||||
- fix devel package dependencies
|
||||
- use RPM_OPT_FLAGS
|
||||
* Wed Jan 07 2009 dmueller@suse.de
|
||||
- Initial version (0.12.2)
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
Index: configure.in
|
||||
===================================================================
|
||||
--- configure.in.orig 2007-10-11 18:12:28.000000000 +0200
|
||||
+++ configure.in 2009-03-11 20:39:07.000000000 +0100
|
||||
@@ -54,7 +54,7 @@ AC_HEADER_TIME
|
||||
AC_STRUCT_TM
|
||||
|
||||
LIBS="$LIBS -lm"
|
||||
-CFLAGS=-Wall
|
||||
+CFLAGS+=" -Wall"
|
||||
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ba94f46a25ef9db8cb2b0b7744f909ec9c6b0b420e460f02e0b9f0fbb4785aa7
|
||||
size 1157055
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff7af86ef1a2970d8ab45a5ee87f631d1fda7f7824b57060204144c9120ee2d3
|
||||
size 1169759
|
||||
Reference in New Issue
Block a user