- update to 1.25.5 - fix license string - add URL - drop 1-comparison.patch: upstreamed - drop 2-array.patch: upstreamed OBS-URL: https://build.opensuse.org/request/show/206265 OBS-URL: https://build.opensuse.org/package/show/science/mmdb?expand=0&rev=3
66 lines
1.5 KiB
RPMSpec
66 lines
1.5 KiB
RPMSpec
Name: libmmdb0
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkg-config
|
|
License: LGPL-3.0
|
|
Url: http://www.ccp4.ac.uk/index.php
|
|
Group: Productivity/Scientific/Chemistry
|
|
AutoReqProv: on
|
|
Summary: A library for storage and manipulation of macromolecular models
|
|
Version: 1.25.5
|
|
Release: 3.1
|
|
Source0: mmdb-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%define docdir %{_prefix}/share/doc/packages/%{name}
|
|
|
|
%package -n libmmdb-devel
|
|
Requires: libmmdb0 = %{version}
|
|
Group: Development/Libraries/C and C++
|
|
Summary: A library for storage and manipulation of macromolecular models
|
|
|
|
%description
|
|
A library for storage and manipulation of macromolecular models
|
|
|
|
Authors
|
|
--------
|
|
Eugene Krissinel
|
|
|
|
%description -n libmmdb-devel
|
|
A library for storage and manipulation of macromolecular models
|
|
This package contains headers and static libraries.
|
|
|
|
Authors
|
|
--------
|
|
Eugene Krissinel
|
|
|
|
%prep
|
|
%setup -q -n mmdb-%{version}
|
|
|
|
%build
|
|
%configure --disable-static --enable-shared
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
rm ${RPM_BUILD_ROOT}/%{_libdir}/libmmdb.la
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(0644,root,root)
|
|
%{_libdir}/libmmdb.so.*
|
|
|
|
%files -n libmmdb-devel
|
|
%defattr(0644,root,root)
|
|
%dir %attr(0755,root,root) %{_includedir}/mmdb
|
|
%{_includedir}/mmdb/*
|
|
%{_libdir}/libmmdb.so
|
|
%{_libdir}/pkgconfig/mmdb.pc
|
|
|
|
|
|
%changelog
|