From 7ba0bc0f0989026adb562fa040777fc302536eac Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:42:37 +0100 Subject: [PATCH] update to 0.31.9 [release 0.31.9-1mamba;Tue Dec 13 2022] --- autotrace.spec | 53 ++++++++++++++++++++++---------------------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/autotrace.spec b/autotrace.spec index 0cc9b09..e1d9519 100644 --- a/autotrace.spec +++ b/autotrace.spec @@ -1,13 +1,14 @@ Name: autotrace -Version: 0.31.1 -Release: 14mamba +Version: 0.31.9 +Release: 1mamba Summary: Utility for converting bitmaps to vector graphics Group: Applications/Multimedia Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://autotrace.sourceforge.net/ -Source: http://dl.sf.net/autotrace/autotrace-%{version}.tar.gz +URL: https://autotrace.sourceforge.net/ +Source: https://github.com/autotrace/autotrace.git/%{version}/autotrace-%{version}.tar.bz2 +#Source: http://dl.sf.net/autotrace/autotrace-%{version}.tar.gz Patch0: %{name}-0.31.1-gcc4.patch Patch1: %{name}-0.31.1-pstoedit.patch Patch2: %{name}-0.31.1-m4_fix.patch @@ -15,34 +16,21 @@ Patch3: autotrace-0.31.1-libpng-1.5.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXpm-devel +BuildRequires: libGraphicsMagick-devel +BuildRequires: libSM-devel BuildRequires: libbrotli-devel -BuildRequires: libbsd-devel BuildRequires: libbzip2-devel -BuildRequires: libexpat-devel -BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel -BuildRequires: libgd-devel -BuildRequires: libgif-devel BuildRequires: libglib-devel +BuildRequires: libgomp-devel BuildRequires: libgraphite2-devel -BuildRequires: libharfbuzz-devel -BuildRequires: libjbig-devel -BuildRequires: libjpeg-devel -BuildRequires: liblzma-devel BuildRequires: libming-devel BuildRequires: libpcre-devel BuildRequires: libpng-devel BuildRequires: libpstoedit-devel BuildRequires: libstdc++6-devel -BuildRequires: libtiff-devel -BuildRequires: libwebp-devel -BuildRequires: libxcb-devel +BuildRequires: libuuid-devel BuildRequires: libz-devel -BuildRequires: libzstd-devel ## AUTOBUILDREQ-END BuildRequires: libMagick-devel >= 6.8.6 Requires: libautotrace = %{?epoch:%epoch:}%{version}-%{release} @@ -77,10 +65,9 @@ This package contains static libraries and header files needed for development. %prep %setup -q -%patch0 -p1 -#%patch1 -p1 -%patch2 -p1 -%patch3 -p0 +#%patch0 -p1 +#%patch2 -p1 +#%patch3 -p0 cat > pstoedit-config << _EOF ARGS=\`echo \$@ | sed "s|--version|--modversion|"\` @@ -88,9 +75,11 @@ pkg-config pstoedit \$ARGS _EOF chmod +x pstoedit-config +./autogen.sh + %build -autoreconf -i %configure \ + --enable-magick-readers \ PSTOEDIT_CONFIG=$(pwd)/pstoedit-config %make @@ -99,13 +88,15 @@ autoreconf -i [ %{buildroot} != / ] && rm -rf "%{buildroot}" %makeinstall +%find_lang %{name} + %clean [ %{buildroot} != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(-, root, root) %{_bindir}/autotrace %{_mandir}/man1/autotrace.1* @@ -117,18 +108,20 @@ autoreconf -i %files -n libautotrace-devel %defattr(-, root, root) -%{_bindir}/autotrace-config +#%{_bindir}/autotrace-config %{_libdir}/lib%{name}.a -%{_libdir}/lib%{name}.la %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/*.pc %dir %{_includedir}/%{name} %{_includedir}/%{name}/* -%{_datadir}/aclocal/*.m4 +#%{_datadir}/aclocal/*.m4 %doc FAQ NEWS README* TODO %doc ChangeLog %changelog +* Tue Dec 13 2022 Silvan Calarco 0.31.9-1mamba +- update to 0.31.9 + * Sun Aug 01 2021 Silvan Calarco 0.31.1-14mamba - rebuilt with libgd 2.3.2