From de45730fcdeb9abf4b84582b71b019a554797491 Mon Sep 17 00:00:00 2001 From: Tom "spot" Callaway Date: Dec 08 2010 19:57:04 +0000 Subject: split libeplplot into a subpackage --- diff --git a/EMBOSS.spec b/EMBOSS.spec index cdc564f..6647bb1 100644 --- a/EMBOSS.spec +++ b/EMBOSS.spec @@ -18,7 +18,7 @@ Name: EMBOSS Version: 6.3.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The European Molecular Biology Open Software Suite Group: Applications/Engineering @@ -107,6 +107,7 @@ Trends in Genetics June 2000, vol 16, No 6. pp.276-277 Summary: Development tools for programs which will use the %{name} library Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} +Requires: libeplplot-devel = %{version}-%{release} %description devel The %{name}-devel package includes the header files and static libraries @@ -141,6 +142,22 @@ Documentation on Jemboss can be found at: http://www.hgmp.mrc.ac.uk/Software/EMBOSS/Jemboss/ %endif +%package -n libeplplot +Summary: A modified version of plplot used by EMBOSS +Group: System Environment/Libraries + +%description -n libeplplot +A modified version of plplot used by EMBOSS. + +%package -n libeplplot-devel +Summary: Development files for eplplot +Group: Development/Libraries +Requires: libeplplot = %{version}-%{release} + +%description -n libeplplot-devel +The libeplplot-devel package includes the header files and libraries +necessary for developing programs which will use the eplplot library. + %prep %setup -q @@ -274,9 +291,12 @@ rm -rf $RPM_BUILD_ROOT %post libs -p /sbin/ldconfig - %postun libs -p /sbin/ldconfig +%post -n libeplplot -p /sbin/ldconfig + +%postun -n libeplplot -p /sbin/ldconfig + %files %defattr(-,root,root,-) @@ -288,18 +308,17 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_datadir}/EMBOSS/jemboss %config %{_sysconfdir}/profile.d/* - %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/EMBOSS - +%exclude %{_includedir}/EMBOSS/eplplot/ %files libs %defattr(-,root,root,-) %doc COPYING LICENSE %{_libdir}/*.so.* - +%exclude %{_libdir}/libeplplot* %if 0%{?with_jemboss} || 0%{?with_sunjava} %files -n jemboss @@ -311,8 +330,18 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/EMBOSS/jemboss %endif +%files -n libeplplot +%defattr(-,root,root,-) +%{_libdir}/libeplplot*.so.* + +%files -n libeplplot-devel +%defattr(-,root,root,-) +%{_includedir}/EMBOSS/eplplot/ %changelog +* Wed Dec 10 2010 Tom "spot" Callaway - 6.3.1-8 +- split libeplplot into its own package + * Tue Nov 9 2010 Tom "spot" Callaway - 6.3.1-7 - use bundled plplot (EMBOSS depends on fork) - add BR for postgresql-devel and mysql-devel