Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbc1f10c77 | ||
|
|
c5efdc568e | ||
|
|
1be924a679 | ||
|
|
5a69269060 | ||
|
|
5ab5bb3e07 |
4 changed files with 65 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -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
64
libnova.spec
Normal 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.
|
||||
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
8f4c6860aa627c5d0694b8bb5699fe7f libnova-0.12.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue