Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 5c319f4142f65887ab3ef4ce8560fc33 > files > 2

libnova-0.14.0-2.mga3.src.rpm

%define major	0
%define api	14
%define libname	%mklibname nova %{api}_%{major}
%define develname %mklibname nova %{api} -d

Name:       libnova
Version:    0.14.0
Release:    %mkrel 2
Summary:    General purpose astronomy & astrodynamics library
Group:      Sciences/Astronomy
License:    LGPLv2+
URL:        http://sourceforge.net/projects/libnova/
Source0:    http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Requires:   %{libname} = %{version}-%{release}

%description
Libnova is a general purpose, double precision, celestial mechanics, 
astrometry and astrodynamics library

%files
%defattr(-,root,root,-)
%doc ChangeLog README AUTHORS NEWS COPYING
%{_bindir}/libnovaconfig

#--------------------------------------------------------------------

%package -n %{libname}
Summary:    Library files for %name
Group:      Development/KDE and Qt

%description -n %{libname}
Contains library files for nova

%files -n %{libname}
%{_libdir}/libnova-0.%{api}.so.%{major}*

#--------------------------------------------------------------------

%package -n %{develname}
Summary:    Development files for %name
Group:      Development/KDE and Qt
Requires:   %{libname} = %{version}-%{release}
Provides:   %{name}-devel = %{version}-%{release}
Obsoletes:  %{name}-devel < %{version}-%{release}

%description -n %{develname}
Contains library and header files for %nova

%files -n %{develname}
%doc COPYING examples/*.c
%{_includedir}/libnova
%{_libdir}/libnova.so

#--------------------------------------------------------------------

%prep
%setup -q

%build
%configure2_5x --disable-static
%make

%install
rm -rf %{buildroot}
%makeinstall_std

find %{buildroot} -name '*.la' -exec rm -f {} ';'

%clean
rm -rf %{buildroot}




%changelog

* Sat Jan 12 2013 umeabot <umeabot> 0.14.0-2.mga3
+ Revision: 357881
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Mar 05 2012 fwang <fwang> 0.14.0-1.mga2
+ Revision: 218301
- new version 0.14.0

* Sat Jan 22 2011 ahmad <ahmad> 0.13.0-3.mga1
+ Revision: 33242
- drop old/unneeded scriptlets
- imported package libnova