[mmdb2] Initial import (#1148224).

Timothy Fenn timfenn at fedoraproject.org
Wed Nov 26 20:50:51 UTC 2014


commit cad5bea097aa496f7272fbff9e7bf892dfb0ae76
Author: Tim Fenn <tim.fenn at gmail.com>
Date:   Wed Nov 26 15:50:44 2014 -0500

    Initial import (#1148224).

 .gitignore |    1 +
 mmdb2.spec |   80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 82 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..91e2d0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mmdb2-2.0.1.tar.gz
diff --git a/mmdb2.spec b/mmdb2.spec
new file mode 100644
index 0000000..e44d36d
--- /dev/null
+++ b/mmdb2.spec
@@ -0,0 +1,80 @@
+Summary: Macromolecular coordinate library
+Name: mmdb2
+Version: 2.0.1
+Release: 2%{?dist}
+License: LGPLv3
+Group: System Environment/Libraries
+URL: ftp://ftp.ccp4.ac.uk/opensource/
+Source0: ftp://ftp.ccp4.ac.uk/opensource/%{name}-%{version}.tar.gz
+# prevent breakage on F20
+%if 0%{?fedora} >= 21
+Obsoletes: mmdb < %{version}-%{release}
+%endif
+
+%description
+MMDB is a macromolecular coordinate library, written by Eugene
+Krissinel primarily for use by the collaborative computational project
+4 (CCP4) group in the United Kingdom.  The Coordinate Library is
+designed to assist CCP4 developers in working with coordinate files.
+
+The Library features work with the primary file formats of the Protein
+Data Bank (PDB), the PDB file format and the mmCIF file format.
+
+The Library provides various high-level tools for working with
+coordinate files, which include not only reading and writing, but also
+orthogonal-fractional coordinate transforms, generation of symmetry
+mates, editing the molecular structure and some others. The Library is
+supposed as a general low-level tool for unifying the
+coordinate-related operations.
+
+This package contains the shared library components needed for programs
+that have been compiled with the mmdb library. 
+
+%package devel
+Summary: Header files and library for developing programs with mmdb
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: pkgconfig
+Group: Development/Libraries
+# prevent breakage on F20
+%if 0%{?fedora} >= 21
+Obsoletes: mmdb < %{version}-%{release}
+%endif
+
+%description devel
+This package contains libraries and header files needed for program
+development using the macromolecular coordinate library.
+
+%prep
+%setup -q -n %{name}-%{version}
+chmod 644 README COPYING AUTHORS
+
+%build
+%configure --enable-shared --disable-static
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+
+# remove unpackaged files from the buildroot
+rm -f %{buildroot}%{_libdir}/*.la
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc AUTHORS COPYING README
+%{_libdir}/libmmdb2.so.0.0.0
+%{_libdir}/libmmdb2.so.0
+
+%files devel
+%{_libdir}/libmmdb2.so
+%{_includedir}/mmdb2/
+%{_libdir}/pkgconfig/%{name}.pc
+
+%changelog
+* Sun Nov 2 2014 Tim Fenn <tim.fenn at gmail.com> - 2.0.1-2
+- spec file clean ups/modernization
+
+* Sun Sep 21 2014 Tim Fenn <tim.fenn at gmail.com> - 2.0.1-1
+- Initial build
diff --git a/sources b/sources
index e69de29..1bcf623 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+67598229ed229fc43c7327d2a0c04c78  mmdb2-2.0.1.tar.gz


More information about the scm-commits mailing list