update to 0.31.9 [release 0.31.9-1mamba;Tue Dec 13 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:42:37 +01:00
parent 8538634163
commit 7ba0bc0f09

View File

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