rpms/gpp4/EL-5 ccp4_sysdep.patch, NONE, 1.1 configure.patch, NONE, 1.1 gpp4.pc.patch, NONE, 1.1 gpp4.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Timothy Fenn timfenn at fedoraproject.org
Thu Oct 30 00:56:43 UTC 2008


Author: timfenn

Update of /cvs/pkgs/rpms/gpp4/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17161/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	ccp4_sysdep.patch configure.patch gpp4.pc.patch gpp4.spec 
	import.log 
Log Message:
* Wed Oct 29 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-11
- initial CVS commit



ccp4_sysdep.patch:

--- NEW FILE ccp4_sysdep.patch ---
--- src/ccp4_sysdep_orig.h	2008-10-25 16:10:45.000000000 -0700
+++ src/ccp4_sysdep.h	2008-10-25 16:10:58.000000000 -0700
@@ -88,6 +88,12 @@
 #  define CALL_LIKE_SUN 1
 #endif
 
+#if defined __linux__ && ( defined __PPC || defined __PPC__ )
+#  undef CALL_LIKE_SUN
+#  define KNOWN_MACHINE
+#  define CALL_LIKE_SUN 1
+#endif
+
 #if defined (__FreeBSD__)
 #  undef CALL_LIKE_SUN
 #  define KNOWN_MACHINE
--- src/ccp4_sysdep_orig.h	2008-10-25 16:11:39.000000000 -0700
+++ src/ccp4_sysdep.h	2008-10-25 16:25:20.000000000 -0700
@@ -248,7 +248,7 @@
 #  define NATIVEFT DFNTF_LEIEEE
 #endif
 
-#if defined (powerpc) || defined (__ppc__)
+#if defined (powerpc) || defined (__powerpc__) || defined (__ppc__) || defined __PPC
 #  define NATIVEIT DFNTI_MBO
 #  define NATIVEFT DFNTF_BEIEEE
 #endif

configure.patch:

--- NEW FILE configure.patch ---
--- configure.ac_orig	2008-10-26 19:32:20.000000000 -0700
+++ configure.ac	2008-10-26 19:34:32.000000000 -0700
@@ -18,6 +18,7 @@
 # check for libm
 AC_CHECK_LIBM
 AC_SUBST(LIBM)
+LDFLAGS="$LDFLAGS $LIBM"
 
 # check for std c headers
 AC_HEADER_STDC([])

gpp4.pc.patch:

--- NEW FILE gpp4.pc.patch ---
--- gpp4.pc.in_orig	2008-10-26 19:34:47.000000000 -0700
+++ gpp4.pc.in	2008-10-26 19:34:57.000000000 -0700
@@ -1,7 +1,7 @@
-prefix=@GPP4_PREFIX@
-exec_prefix=@GPP4_PREFIX@
-libdir=@GPP4_PREFIX@/lib
-includedir=@GPP4_PREFIX@/include
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
 
 Name: gpp4
 Description: alternative to the CCP4 library


--- NEW FILE gpp4.spec ---
# -*- mode: rpm-spec ; mode: font-lock -*-

Summary: Library providing specific CCP4 functionality 
Name: gpp4
Version: 1.0.4
Release: 11%{?dist}
License: LGPLv2
Group: System Environment/Libraries
URL: http://www.bioxray.au.dk/~mok/%{name}
Source: ftp://ftp.bioxray.au.dk/pub/mok/src/%{name}-%{version}.tar.gz
Patch0: ccp4_sysdep.patch
Patch1: configure.patch
Patch2: gpp4.pc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: doxygen

%description

The CCP4 software suite is based around a library of routines which
cover common tasks, such as file opening, parsing keyworded input,
reading and writing of standard data formats, applying symmetry
operations, etc. Programs in the suite call these routines which, as
well as saving the programmer some effort, ensure that the varied
programs in the suite have a similar look-and-feel.

The library contains several subcomponents: 
  * CMTZ library -- Contains a variety of functions for manipulating 
    the data structure, for example adding crystals, datasets or columns. 
    The data structure can be dumped to an output MTZ data file.
  * CMAP library -- Functions defining the C-level API for accessing 
    CCP4 map files.
  * CSYM library -- a collection of functions centred around a data file 
    syminfo.lib which is auto-generated from sgtbx (the Space Group Toolbox 
    of cctbx).
  * CCP4 utility library -- many utility functions which either give 
    specific CCP4 or platform independent functionality.
  * CCP4 Parser library -- provides CCP4-style parsing, as used for 
    processing keywords of CCP4 programs, MTZ header records, etc.
  * CCP4 resizable arrays -- defines an object and methods which looks 
    just like a simple C array, but can be resized at will without 
    incurring excessive overheads.

This package contains the shared library components needed for programs
that have been compiled with the gpp4 library. 

%package devel
Summary: Header files and library for developing free CCP4 programs
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Group: Development/Libraries

%description devel
The CCP4 software suite is based around a library of routines which
cover common tasks, such as file opening, parsing keyworded input,
reading and writing of standard data formats, applying symmetry
operations, etc. Programs in the suite call these routines which, as
well as saving the programmer some effort, ensure that the varied
programs in the suite have a similar look-and-feel.

This package contains libraries and header files needed for program
development.

%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p0
aclocal
automake --copy --add-missing --gnu
autoconf

%build
%configure --disable-static
make %{?_smp_mflags}
cd src
doxygen

%install
rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'

# remove unpackaged files from the buildroot
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README COPYING NEWS AUTHORS
%{_datadir}/gpp4/
%{_libdir}/libgpp4.so.0
%{_libdir}/libgpp4.so.0.0.0

%files devel
%defattr(-,root,root,-)
%doc doc
%{_includedir}/gpp4
%{_libdir}/libgpp4.so
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Tue Oct 28 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-11
- fix buildrequires

* Mon Oct 27 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-10
- add math lib to linker
- fix duplicate docs
- minor edit to make install

* Sat Oct 25 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-9
- change name libgpp4 to gpp4
- add smp make macro
- add PPC patch

* Mon Jun  9 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-8
- remove test from -devel

* Thu May 29 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-7
- minor spec changes

* Wed May 28 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-6
- fix ldconfig, requires, buildroot, naming scheme

* Tue May 27 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-5
- remove static libs

* Mon May 26 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-4
- spec cleanup

* Tue Feb 26 2008 Tim Fenn <fenn at stanford.edu> - 1.0.4-3
- Update using fedora packaging recommendations

* Sun Sep 02 2007 Morten Kjeldgaard <mok at bioxray.dk> - 1.0.4-2
- Initial build. 

####


--- NEW FILE import.log ---
gpp4-1_0_4-11_f8:EL-5:gpp4-1.0.4-11.f8.src.rpm:1225328133


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpp4/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	29 Oct 2008 21:34:20 -0000	1.1
+++ .cvsignore	30 Oct 2008 00:56:13 -0000	1.2
@@ -0,0 +1 @@
+gpp4-1.0.4.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpp4/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 Oct 2008 21:34:20 -0000	1.1
+++ sources	30 Oct 2008 00:56:13 -0000	1.2
@@ -0,0 +1 @@
+48931781425a5b79a8255ebefaed24b3  gpp4-1.0.4.tar.gz




More information about the scm-commits mailing list