Hello community,

here is the log from the commit of package libcfitsio0 for openSUSE:Factory
checked in at Tue Sep 20 09:33:22 CEST 2011.



--------
--- libcfitsio0/libcfitsio0.changes     2010-11-22 23:50:58.000000000 +0100
+++ /mounts/work_src_done/STABLE/libcfitsio0/libcfitsio0.changes        
2011-09-16 22:50:09.000000000 +0200
@@ -1,0 +2,16 @@
+Fri Sep 16 20:49:46 UTC 2011 - [email protected]
+
+- update to version 3.280
+  * Lots of changes (see changes.txt file).  
+- Spec file updates
+  * Changes based on spec-cleaner run.
+  * Updates in summaries and descriptions.
+  * Updates in Group: entries of the packages.
+  * Added description for the patch based on openSUSE Patches Guidelines.
+  * Added pkg-config in BuildRequires: (fix for "no-pkg-config-provides"
+    rpmlint warning).
+  * Added cfitsio package (containing some utilities).
+  * Fixes for cfitsio.pc.
+  * Minor other updates.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  cfitsio3230.tar.bz2

New:
----
  cfitsio3280.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcfitsio0.spec ++++++
--- /var/tmp/diff_new_pack.l1eYYf/_old  2011-09-20 09:33:19.000000000 +0200
+++ /var/tmp/diff_new_pack.l1eYYf/_new  2011-09-20 09:33:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package libcfitsio0 (Version 3.23.0)
+# spec file for package libcfitsio0
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,71 +19,76 @@
 
 
 Name:           libcfitsio0
-BuildRequires:  gcc-fortran
-Url:            http://heasarc.nasa.gov/fitsio/fitsio.html
+Version:        3.280
+Release:        1
 License:        GPLv2 ; Other uncritical OpenSource License
-Group:          Development/Libraries/Other
-AutoReqProv:    on
-Version:        3.23.0
-Release:        2
-Summary:        A FITS File Subroutine Library
-Source:         cfitsio3230.tar.bz2
-Patch1:         cfitsio-makefile.patch
+Summary:        Library for manipulating FITS data files
+Url:            http://heasarc.nasa.gov/fitsio/fitsio.html
+Group:          System/Libraries
+Source0:        
ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3280.tar.gz
+# PATCH-FIX-OPENSUSE cfitsio-makefile.patch -- Fix installation paths and 
library soname
+Patch0:         cfitsio-makefile.patch
+BuildRequires:  gcc-fortran
+BuildRequires:  pkg-config
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
-CFITSIO is a library of C and Fortran subroutines for reading and
-writing data files in FITS (Flexible Image Transport System) data
-format. CFITSIO provides simple high-level routines for reading and
-writing FITS files that insulate the programmer from the internal
-complexities of the FITS format. CFITSIO also provides many advanced
-features for manipulating and filtering the informationin FITS files.
+CFITSIO is a library of C and Fortran subroutines for reading and writing data
+files in FITS (Flexible Image Transport System) data format. CFITSIO provides
+simple high-level routines for reading and writing FITS files that insulate the
+programmer from the internal complexities of the FITS format. CFITSIO also
+provides many advanced features for manipulating and filtering the information
+in FITS files.
 
+%package -n cfitsio
+License:        GPLv2 ; Other uncritical OpenSource License
+Summary:        FITS image compression and decompression utilities
+Group:          Productivity/Scientific/Other
+Requires:       %{name} = %{version}
 
+%description -n cfitsio
+This package contains some FITS image compression and decompression utilities.
 
 %package -n libcfitsio-devel 
 License:        GPLv2 ; Other uncritical OpenSource License
-Group:          Development/Libraries/Other
 Summary:        Headers required when building programs against cfitsio library
-Requires:       %{name} = %{version}-%{release}                                
       
+Group:          Development/Libraries/Other
+Requires:       %{name} = %{version}
 Requires:       pkgconfig                                                      
       
 
 %description -n libcfitsio-devel
-This package contains headers required when building programs against cfitsio 
library.
-
-
+This package contains headers required when building programs against cfitsio
+library.
 
 %package -n libcfitsio-doc
 License:        GPLv2 ; Other uncritical OpenSource License
-Group:          Development/Libraries/Other
-Summary:        The documentation for FITS File Subroutine Library
-Requires:       %{name} = %{version}-%{release}                                
       
+Summary:        Documentation for the cfitsio library
+Group:          Documentation/Other
+Requires:       %{name} = %{version}
 
 %description -n libcfitsio-doc
-This pacakge contains documentation for FITS File Subroutine Library.
-
-
+This package contains documentation for the cfitsio library.
 
 %prep
-%setup -n cfitsio
-%patch1
+%setup -q -n cfitsio
+%patch0
 
 %build
 # lines bellow contain fixes for pkgconfig file bnc#546004, some of them are 
already fixed by upstream
 # so please drop them if they are not needed (in next round of updates)
-if [ "%version" = "3.18.1" ]; then
-       #fix hardcoded libdir
-       %__sed -i 's|${exec_prefix}/lib|${exec_prefix}/%{_lib}|' cfitsio.pc.in
-       #add include dir
-       %__sed -i 's|Cflags: -I${includedir}|$Cflags: -I${includedir} 
-I${includedir}/libcfitsio0|' cfitsio.pc.in
-       #and fix version
-       %__sed -i 's|3.006|3.18|' cfitsio.pc.in
-fi
+# Add include dir
+sed -i 's|Cflags: -I${includedir}|$Cflags: -I${includedir} 
-I${includedir}/%{name}|' cfitsio.pc.in
+# Fix version
+sed -i 's|3.28|3.280|' cfitsio.pc.in
+
 export CC=gcc
 export FC=f95
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure
-make shared
+make shared %{?_smp_mflags}
+ln -s libcfitsio.so.0 libcfitsio.so
+make fpack %{?_smp_mflags}
+make funpack %{?_smp_mflags}
 
 %check
 # testsuite
@@ -93,36 +98,40 @@
 cmp testprog.fit testprog.std ; echo $?
 
 %install
-mkdir -p $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_libdir}        
-mkdir -p $RPM_BUILD_ROOT%{_includedir}/%{name}
-make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} 
CFITSIO_LIB=$RPM_BUILD_ROOT%{_libdir} \
-     CFITSIO_INCLUDE=$RPM_BUILD_ROOT%{_includedir}/%{name} install 
-pushd $RPM_BUILD_ROOT%{_libdir}
+mkdir -p %{buildroot}
+mkdir -p %{buildroot}%{_libdir}
+mkdir -p %{buildroot}%{_includedir}/%{name}
+make LIBDIR=%{_lib} INCLUDEDIR=include/%{name} 
CFITSIO_LIB=%{buildroot}%{_libdir} \
+     CFITSIO_INCLUDE=%{buildroot}%{_includedir}/%{name} install
+pushd %{buildroot}%{_libdir}
 ln -s libcfitsio.so.0 libcfitsio.so                                            
 
 popd       
-#   mkdir -p $RPM_BUILD_ROOT/usr/lib/pkgconfig
-#mkdir -p $RPM_BUILD_ROOT/usr/include
-# make DESTDIR=$RPM_BUILD_ROOT install
+mkdir %{buildroot}%{_bindir}
+install -pm 0755 f{,un}pack %{buildroot}%{_bindir}/
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%doc License.txt README changes.txt
-%{_libdir}/libcfitsio.so.*
+%defattr(-,root,root,-)
+%{_libdir}/libcfitsio.so.0*
+
+%files -n cfitsio
+%defattr(-,root,root,-)
+%doc License.txt README changes.txt fpackguide.pdf
+%{_bindir}/fpack
+%{_bindir}/funpack
 
 %files -n libcfitsio-devel
-%defattr(-,root,root)
-/usr/include/%{name}
+%defattr(-,root,root,-)
+%{_includedir}/%{name}/
 %{_libdir}/libcfitsio.a
 %{_libdir}/libcfitsio.so
 %{_libdir}/pkgconfig/cfitsio.pc
 
 %files -n libcfitsio-doc
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc cfitsio.doc cfitsio.ps cfortran.doc fitsio.doc fitsio.ps quick.ps 
 
 %changelog


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to