rpms/cpl/F-7 cpl-qfits.patch, NONE, 1.1 cpl.spec, NONE, 1.1 sources, 1.1, 1.2

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Tue Oct 9 11:29:38 UTC 2007


Author: sergiopr

Update of /cvs/pkgs/rpms/cpl/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29916

Modified Files:
	sources 
Added Files:
	cpl-qfits.patch cpl.spec 
Log Message:
Initial build


cpl-qfits.patch:

--- NEW FILE cpl-qfits.patch ---
diff -ur cpl-3.1/configure cpl-3.1.new/configure
--- cpl-3.1/configure	2007-03-09 18:48:54.000000000 +0100
+++ cpl-3.1.new/configure	2007-10-09 12:41:06.000000000 +0200
@@ -20176,7 +20176,7 @@
 echo $ECHO_N "checking for Qfits... $ECHO_C" >&6
 
     cpl_qfits_check_header="qfits.h"
-    cpl_qfits_check_lib="libqfits.a"
+    cpl_qfits_check_lib="libqfits.so"
 
     cpl_qfits_includes=""
     cpl_qfits_libraries=""
@@ -20251,7 +20251,7 @@
         # Check for the Qfits library
 
         if test -z "$cpl_with_qfits_libs"; then
-            cpl_qfits_libdirs="/opt/qfits/lib /usr/local/lib /usr/lib"
+            cpl_qfits_libdirs="/opt/qfits/lib /usr/local/lib $libdir"
 
             test -n "$CPLDIR" && cpl_qfits_libdirs="$CPLDIR/lib \
                                                     $cpl_qfits_libdirs"


--- NEW FILE cpl.spec ---
Name: cpl
Version: 3.1
Release: 2%{?dist}
Summary: ESO library for automated astronomical data-reduction tasks

Group: Development/Libraries
License: GPLv2+
URL: http://www.eso.org/observing/cpl
Source0: ftp://ftp.hq.eso.org/pub/cpl/%{name}-%{version}.tar.gz
Patch0: cpl-qfits.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: qfits-devel

%description
The Common Pipeline Library (CPL) comprises a set of ISO-C libraries 
that provide a comprehensive, efficient and robust software toolkit. 
It forms a basis for the creation of automated astronomical data-reduction 
tasks (known as "pipelines") for ESO (European Southern Observatory) 
instruments.  The CPL was developed to standardise the way 
VLT (Very Large Telescope) instrument pipelines are built, 
to shorten their development cycle and to ease their maintenance. 

%package devel
Summary: Libraries, includes, etc. used to develop an application with %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: qfits-devel
%description devel
This are the header files and libraries needed to develop a %{name}
application

%prep
%setup -q
%patch0 -p1

%build
%configure --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -fr %{buildroot}
%{__make} DESTDIR=%{buildroot} install
%{__mkdir_p} %{buildroot}%{_libdir}/cplrecipes

%clean
%{__rm} -fr %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS
%{_libdir}/*so.*
%{_libdir}/cplrecipes

%files devel
%defattr(-,root,root,-)
%doc README
%{_libdir}/*.so
%{_includedir}/*
%exclude %{_libdir}/*.la

%changelog
* Tue Oct 09 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-2
- Updated qfits patch to build in 64 bits systems
* Tue Sep 25 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 3.1-1
- Minor changes
* Thu Sep 13 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 3.1-0.3
- Updated license tag
* Thu May 03 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 3.1-0.2
- Added dir for recipes.
* Thu Apr 26 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 3.1-0.1
- Initial spec file.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cpl/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Oct 2007 18:46:10 -0000	1.1
+++ sources	9 Oct 2007 11:29:06 -0000	1.2
@@ -0,0 +1 @@
+b97abdebb563c302d147bb97978c321e  cpl-3.1.tar.gz




More information about the fedora-extras-commits mailing list