SPECS: libnova.spec (NEW) - initial spec

paszczus paszczus at pld-linux.org
Sat Jul 26 12:50:53 CEST 2008


Author: paszczus                     Date: Sat Jul 26 10:50:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial spec

---- Files affected:
SPECS:
   libnova.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libnova.spec
diff -u /dev/null SPECS/libnova.spec:1.1
--- /dev/null	Sat Jul 26 12:50:53 2008
+++ SPECS/libnova.spec	Sat Jul 26 12:50:47 2008
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary:	Libnova is a general purpose astronomy & astrodynamics library
+Name:		libnova
+Version:	0.12.2
+Release:	1
+License:	LGPL
+Group:		Libraries
+URL:		http://libnova.sourceforge.net/
+Source0:	http://dl.sourceforge.net/libnova/%{name}-%{version}.tar.gz
+# Source0-md5:	093e93e812cf97269b7ee338dae2e1c5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libnova is a general purpose, double precision, celestial mechanics,
+astrometry and astrodynamics library.
+
+%package devel
+Summary:	Header files and static libraries from libnova
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Libraries and includes files for developing programs based on libnova.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} CFLAGS="%{optflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# get rid of *.la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/libnova.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
+%attr(755,root,root) %{_bindir}/libnovaconfig
+%attr(755,root,root) %{_libdir}/libnova-0.12.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/libnova
+%{_libdir}/libnova.a
+%{_libdir}/libnova.so
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/07/26 10:50:47  paszczus
+- initial spec
+
================================================================


More information about the pld-cvs-commit mailing list