rpms/ssm/EL-5 configure.ac.patch, NONE, 1.1 import.log, NONE, 1.1 makefile.am.patch, NONE, 1.1 ssm.pc.in.patch, NONE, 1.1 ssm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Timothy Fenn timfenn at fedoraproject.org
Wed Nov 12 23:19:12 UTC 2008


Author: timfenn

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

Modified Files:
	.cvsignore sources 
Added Files:
	configure.ac.patch import.log makefile.am.patch 
	ssm.pc.in.patch ssm.spec 
Log Message:
* Wed Nov 12 2008 Tim Fenn <fenn at stanford.edu> - 0.1-9
- initial CVS commit



configure.ac.patch:

--- NEW FILE configure.ac.patch ---
--- configure.ac_orig	2007-09-03 13:57:28.000000000 -0700
+++ configure.ac	2008-02-27 16:30:40.000000000 -0800
@@ -26,8 +26,10 @@
 AC_STRUCT_TM
 
 dnl Check for MMDB.
-AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1])
-
+# AM_PATH_MMDB([echo Found mmdb], [echo Error locating necessary mmdb; exit 1])
+PKG_CHECK_MODULES(MMDB, mmdb >= 1.09)
+AC_SUBST(MMDB_CFLAGS)
+AC_SUBST(MMDB_LIBS)
 
 # Checks for library functions.
 AC_FUNC_STRTOD


--- NEW FILE import.log ---
ssm-0_1-9_f8:EL-5:ssm-0.1-9.f8.src.rpm:1226531896

makefile.am.patch:

--- NEW FILE makefile.am.patch ---
--- src/Makefile.am_orig	2007-09-03 13:58:00.000000000 -0700
+++ src/Makefile.am	2008-11-10 01:38:24.000000000 -0800
@@ -5,7 +5,8 @@
 
 lib_LTLIBRARIES = libssm.la
 
-INCLUDES = $(MMDB_CXXFLAGS)
+AM_CPPFLAGS = @MMDB_CFLAGS@
+AM_LDFLAGS = @MMDB_LIBS@
 
 libssm_h_sources = ss_csia.h ss_graph.h ssm_align.h ssm_superpose.h ss_vxedge.h
 

ssm.pc.in.patch:

--- NEW FILE ssm.pc.in.patch ---
--- ssm.pc.in_orig	2007-09-03 13:58:16.000000000 -0700
+++ ssm.pc.in	2008-02-27 16:19:48.000000000 -0800
@@ -1,7 +1,7 @@
-prefix=@SSM_PREFIX@
-exec_prefix=@SSM_PREFIX@
-libdir=@SSM_PREFIX@/lib
-includedir=@SSM_PREFIX@/include
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
 
 Name: ssm
 Description: Macromolecular superposition library


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

Summary: Macromolecular coordinate superposition library
Name: ssm
Version: 0.1
Release: 9%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.bioxray.au.dk/~mok/%{name}
Source0: ftp://ftp.bioxray.au.dk/pub/mok/src/%{name}-%{version}.tar.gz
Patch0: configure.ac.patch
Patch1: makefile.am.patch
Patch2: ssm.pc.in.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mmdb-devel

%description
SSM is a macromolecular coordinate superposition library, written by 
Eugene Krissinel.

The library implements the SSM algorithm of protein structure
comparison in three dimensions, which includes an original procedure
of matching graphs built on the protein's secondary-structure
elements, followed by an iterative three-dimensional alignment of
protein backbone Calpha atoms. 

The algorithm implemented by the software is described in:
E. Krissinel & K. Henrick (2004) Secondary-structure matching (SSM), a
new tool for fast protein structure alignment in three dimensions.
Acta Crystallogr D Biol Crystallogr. 60, 2256-68.

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

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

%description devel
This package contains libraries and header files needed for program
development using SSM.

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

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

%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 AUTHORS COPYING README
%{_libdir}/libssm.so.0.0.0
%{_libdir}/libssm.so.0

%files devel
%defattr(-,root,root,-)
%{_libdir}/libssm.so
%{_includedir}/ssm/
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Mon Nov 10 2008 Tim Fenn <fenn at stanford.edu> - 0.1-9
- include makefile patch to correspond with configure patch
- fix license tag
- fix buildrequires (add mmdb-devel)
- fix configure/make install
- docs only in main package

* Sat Oct 25 2008 Tim Fenn <fenn at stanford.edu> - 0.1-8
- change name libssm to ssm
- add smp make macro
- fix buildrequires

* Thu May 29 2008 Tim Fenn <fenn at stanford.edu> - 0.1-7
- fix Requires, post, postun

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

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

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

* Tue Feb 26 2008 Tim Fenn <fenn at stanford.edu> - 0.1-3
- update using fedora packaging conventions

* Sun Sep 02 2007 Morten Kjeldgaard <mok at bioxray.dk> - 0.1
- Spec file part of ssm distro, split devel files and shared library 
  into separate packages.

####


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ssm/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Nov 2008 18:56:41 -0000	1.1
+++ .cvsignore	12 Nov 2008 23:18:39 -0000	1.2
@@ -0,0 +1 @@
+ssm-0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ssm/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Nov 2008 18:56:41 -0000	1.1
+++ sources	12 Nov 2008 23:18:41 -0000	1.2
@@ -0,0 +1 @@
+317d9cc78a88fa5652a4a4b06f329823  ssm-0.1.tar.gz




More information about the fedora-extras-commits mailing list