Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
bbc1f10c77 dist-git conversion 2010-07-28 21:22:44 +00:00
Bill Nottingham
c5efdc568e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:51:16 +00:00
Huzaifa Sidhpurwala
1be924a679 changes to groups 2008-01-12 04:13:01 +00:00
Huzaifa Sidhpurwala
5a69269060 new 2008-01-08 06:33:34 +00:00
Kevin Fenzi
5ab5bb3e07 Initialize branch F-8 for libnova 2008-01-08 03:20:42 +00:00
4 changed files with 65 additions and 21 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: libnova
# $Id$
NAME := libnova
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

64
libnova.spec Normal file
View file

@ -0,0 +1,64 @@
Name: libnova
Version: 0.12.1
Release: 2%{?dist}
Summary: Libnova is a general purpose astronomy & astrodynamics library
Group: Development/Libraries
License: LGPLv2+
URL: http://sourceforge.net/projects/libnova/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
Libnova is a general purpose, double precision, celestial mechanics,
astrometry and astrodynamics library
%package devel
Summary: Development files for libnova
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Contains library and header files for libnova
%prep
%setup -q
%build
%configure --disable-static
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc ChangeLog README AUTHORS NEWS COPYING
%{_libdir}/libnova-0.12.so.1.0.0
%{_libdir}/libnova-0.12.so.1
%{_bindir}/libnovaconfig
%files devel
%doc COPYING examples/*.c
%{_includedir}/libnova
%{_libdir}/libnova.so
%changelog
* Sat Jan 12 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-2
- Made changes to the Groups
* Mon Jan 07 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-1
- Made small changes to make it more complaint with fedora packaging standards
* Thu Jan 04 2007 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 0.12.1-0
- Initial version.

View file

@ -0,0 +1 @@
8f4c6860aa627c5d0694b8bb5699fe7f libnova-0.12.1.tar.gz