Release 4.00

This commit is contained in:
Antonio Trande 2023-06-20 22:10:42 +02:00
parent a8d6e98cba
commit fa9708bb2c
3 changed files with 14 additions and 27 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ pstoedit-3.45.tar.gz
/pstoedit-3.76.tar.gz
/pstoedit-3.77.tar.gz
/pstoedit-3.78.tar.gz
/pstoedit-4.00.tar.gz

View File

@ -1,10 +1,6 @@
%if 0%{?el7}
%global dts devtoolset-9-
%endif
Name: pstoedit
Version: 3.78
Release: 7%{?dist}
Version: 4.00
Release: 1%{?dist}
Summary: Translates PostScript and PDF graphics into other vector formats
License: GPLv2+
URL: http://www.pstoedit.net
@ -26,9 +22,7 @@ BuildRequires: libzip-devel
%if ! (0%{?rhel} >= 8)
BuildRequires: ImageMagick-c++-devel
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: libEMF-devel
%endif
Requires: ghostscript%{?_isa}
%description
@ -50,23 +44,16 @@ applications
%prep
%autosetup -N
%patch0 -p1
%if 0%{?fedora} > 35 || 0%{?rhel} > 9
%patch1 -p1
%patch -P 0 -p1
%if 0%{?fedora} || 0%{?rhel} > 9
%patch -P 1 -p1
%endif
dos2unix doc/*.htm doc/readme.txt
%build
%if 0%{?el7}
%{?dts:source /opt/rh/devtoolset-9/enable}
%endif
%configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \
%if 0%{?rhel} == 7
--without-emf
%endif
--with-magick --with-libplot
%make_build
%install
@ -75,29 +62,28 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -pm 644 doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%if 0%{?el7}
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pstoedit
%endif
%files
%doc doc/readme.txt doc/pstoedit.htm doc/changelog.htm doc/pstoedit.pdf
%license copying
%{_datadir}/pstoedit/
%{_mandir}/man1/*
%{_bindir}/pstoedit
%{_libdir}/*.so.*
%{_libdir}/libpstoedit.so.0.0.0
%{_libdir}/libpstoedit.so.0
%{_libdir}/pstoedit/
%files devel
%doc doc/changelog.htm
%{_includedir}/pstoedit/
%{_libdir}/*.so
%{_libdir}/libpstoedit.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/aclocal/*.m4
%changelog
* Tue Jun 20 2023 Antonio Trande <sagitter@fedoraproject.org> - 4.00-1
- Release 4.00
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.78-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pstoedit-3.78.tar.gz) = ed880da1ba16780224b4bb40d520f99bc5290b4335dd30f1a195855ce75b3880d5a4fca9885b214855ce61d8bd701aa0681a190e69a8fdef2f3d5e1e2f692648
SHA512 (pstoedit-4.00.tar.gz) = 82a8afd56bdefdc78fe7c39367480943a1639412e271f9469e3f9b77e3652cd6a291a828eeaba28ff0aeba58cb1bb052624650cdc4c8658b4e7e27f6d4a386f4