rpms/cpl/FC-6 cpl-qfits.patch,NONE,1.1 cpl.spec,NONE,1.1

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Thu Oct 11 10:59:15 UTC 2007


Author: sergiopr

Update of /cvs/pkgs/rpms/cpl/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25720

Added Files:
	cpl-qfits.patch cpl.spec 
Log Message:
* 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 <sergiopr at fedoraproject.org> 3.1-1
- Minor changes
* Thu Sep 13 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.3
- Updated license tag
* Thu May 03 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.2
- Added dir for recipes.
* Thu Apr 26 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.1
- Initial spec file.


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 <sergiopr at fedoraproject.org> 3.1-1
- Minor changes
* Thu Sep 13 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.3
- Updated license tag
* Thu May 03 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.2
- Added dir for recipes.
* Thu Apr 26 2007 Sergio Pascual <sergiopr at fedoraproject.org> 3.1-0.1
- Initial spec file.




More information about the fedora-extras-commits mailing list