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

Sergio Pascual (sergiopr) fedora-extras-commits at redhat.com
Mon Sep 24 18:49:16 UTC 2007


Author: sergiopr

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

Modified Files:
	sources 
Added Files:
	qfits-open.patch qfits.spec 
Log Message:
Importing F-7 version


qfits-open.patch:

--- NEW FILE qfits-open.patch ---
diff -ur qfits-6.2.0/src/qfits_memory.c qfits-6.2.0.new/src/qfits_memory.c
--- qfits-6.2.0/src/qfits_memory.c	2006-08-24 17:01:56.000000000 +0200
+++ qfits-6.2.0.new/src/qfits_memory.c	2007-09-21 13:43:19.000000000 +0200
@@ -308,7 +308,7 @@
         /* Create swap file with rights: rw-rw-rw- */
         swapfileid = ++ qfits_memory_table.file_reg ;
         fname = qfits_memory_tmpfilename(swapfileid);
-        swapfd = open(fname, O_RDWR | O_CREAT);
+        swapfd = open(fname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
         if (swapfd==-1) {
             fprintf(stderr, "qfits_mem: cannot create swap file\n");
             exit(-1);


--- NEW FILE qfits.spec ---
Name: qfits
Version: 6.2.0
Release: 3%{?dist}
Summary: A stand-alone general purpose FITS library and command line utilities

Group: Applications/Engineering
License: GPLv2+
URL: http://www.eso.org/projects/aot/qfits/index.html
Source0: ftp://ftp.hq.eso.org/pub/qfits/%{name}-%{version}.tar.gz
Patch0: qfits-open.patch
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

Requires: %{name}-libs = %{version}-%{release}

%description
qfits is a stand-alone C library offering easy access to FITS (Flexible Image 
 Transport System) files.
This package contains command-line utilities for managing FITS files

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

%package libs
Summary: A stand-alone general purpose FITS library
Group: System Environment/Libraries
%description libs
qfits is a stand-alone C library offering easy access to FITS (Flexible Image 
 Transport System) files.
This package contains the %{name} run-time library

%prep
%setup -q
%patch0 -p1

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

%install
%{__rm} -fr %{buildroot}
%{__make} DESTDIR=%{buildroot} INSTALL="%{__install} -p" install

%check
%{__make} %{?_smp_mflags} check

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

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

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

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

%files
%defattr(-,root,root,-)
%doc AUTHORS
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Sun Sep 23 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-3
- Renaming: qfits qfits-libs and qfits-devel
- Using the testsuite
* Fri Sep 21 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-2
- Renaming: qfits qfits-lib and qfits-tools to qfits
- Removed Requires ldconfig
- defattr changed
- Keeping timestamps
- buildroot changed to the preferred option
* Fri Sep 21 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-1
- Patched to use properly the open function with O_CREAT
* Thu Sep 13 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-0.4
- Updating license tag to new Fedora guidelines
* Sun Jul 01 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-0.3
- More informative description
- Removing rpth via configure script
* Tue Apr 17 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-0.2
- Created new subpackage qfits-tools
* Mon Apr 16 2007 Sergio Pascual <spr at astrax.fis.ucm.es> 6.2.0-0.1
- Initial spec file.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qfits/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Sep 2007 16:21:29 -0000	1.1
+++ sources	24 Sep 2007 18:48:43 -0000	1.2
@@ -0,0 +1 @@
+f3920831eee308af04d75089291ce144  qfits-6.2.0.tar.gz




More information about the fedora-extras-commits mailing list