From a91cec69c5a36e0b351dbdd2cfac04c9249fa3c8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:45:11 +0100 Subject: [PATCH] update to 1.3.24 added library subpackage [release 1.3.24-1mamba;Mon Aug 01 2016] --- GraphicsMagick.spec | 50 +++++++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/GraphicsMagick.spec b/GraphicsMagick.spec index 205c5c0..b42e905 100644 --- a/GraphicsMagick.spec +++ b/GraphicsMagick.spec @@ -1,5 +1,5 @@ Name: GraphicsMagick -Version: 1.3.20 +Version: 1.3.24 Release: 1mamba Summary: The swiss army knife of image processing Group: Applications/Graphics @@ -10,7 +10,6 @@ URL: http://www.graphicsmagick.org/ Source: http://downloads.sourceforge.net/sourceforge/graphicsmagick/GraphicsMagick-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN -BuildRequires: ghostscript-devel BuildRequires: glibc-devel BuildRequires: libICE-devel BuildRequires: libSM-devel @@ -18,6 +17,7 @@ BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libXdmcp-devel BuildRequires: libXext-devel +BuildRequires: libbsd-devel BuildRequires: libbzip2-devel BuildRequires: libfreetype-devel BuildRequires: libgcc @@ -31,11 +31,13 @@ BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: libltdl-devel BuildRequires: liblzma-devel +BuildRequires: libpcre-devel BuildRequires: libperl BuildRequires: libpng-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libuuid-devel +BuildRequires: libwebp-devel BuildRequires: libwmf-devel BuildRequires: libxcb-devel BuildRequires: libxml2-devel @@ -54,6 +56,7 @@ BuildRequires: libgimp-devel BuildRequires: libsane-backends BuildRequires: wget BuildRequires: ghostscript-fonts +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -66,12 +69,22 @@ Image processing operations are available from the command line, as well as thro Extensions are available from third-parties to support programming in Python, Tcl, and Ruby. With some modification, language extensions for ImageMagick may be used. -%package devel +%package -n lib%{name} +Summary: Libraries provided by %{name} +Group: Development/Libraries + +%description -n lib%{name} +GraphicsMagick is the swiss army knife of image processing. +This package contains the shared libraries. + +%package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: %{name}-devel +Obsoletes: %{name}-devel -%description devel +%description -n lib%{name}-devel GraphicsMagick is the swiss army knife of image processing. This package contains static libraries and header files need for development. @@ -147,14 +160,24 @@ chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/gm %dir %{_datadir}/GraphicsMagick-%{version}/config %{_datadir}/GraphicsMagick-%{version}/config/*.mgk +%{_docdir}/GraphicsMagick/ChangeLog* +%{_docdir}/GraphicsMagick/Copyright.txt +%{_docdir}/GraphicsMagick/NEWS.txt +%{_mandir}/man1/gm.* +%{_mandir}/man4/miff.* +%{_mandir}/man5/quantize.* +%doc TODO.txt README.txt + +%files -n lib%{name} +%defattr(-,root,root) %dir %{_libdir}/GraphicsMagick-%{version} %dir %{_libdir}/GraphicsMagick-%{version}/config %{_libdir}/GraphicsMagick-%{version}/config/*.mgk @@ -165,15 +188,8 @@ chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so %{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters/*.la %{_libdir}/GraphicsMagick-%{version}/modules-Q8/filters/*.so %{_libdir}/lib*.so.* -%{_docdir}/GraphicsMagick/ChangeLog* -%{_docdir}/GraphicsMagick/Copyright.txt -%{_docdir}/GraphicsMagick/NEWS.txt -%{_mandir}/man1/gm.* -%{_mandir}/man4/miff.* -%{_mandir}/man5/quantize.* -%doc TODO.txt README.txt -%files devel +%files -n lib%{name}-devel %defattr(-,root,root) %{_bindir}/GraphicsMagick++-config %{_bindir}/GraphicsMagick-config @@ -202,6 +218,10 @@ chmod 755 %{buildroot}%{perl_vendorarch}/auto/Graphics/Magick/Magick.so %defattr(-,root,root) %changelog +* Mon Aug 01 2016 Silvan Calarco 1.3.24-1mamba +- update to 1.3.24 +- added library subpackage + * Mon Sep 01 2014 Stefano Cotta Ramusino 1.3.20-1mamba - update to 1.3.20