|
|
@ -1,24 +1,35 @@
|
|
|
|
|
|
|
|
%if 0%{?el7}
|
|
|
|
|
|
|
|
%global dts devtoolset-9-
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: pstoedit
|
|
|
|
Name: pstoedit
|
|
|
|
Version: 3.70
|
|
|
|
Version: 3.75
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Productivity
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.pstoedit.net/
|
|
|
|
URL: http://www.pstoedit.net
|
|
|
|
Source0: http://downloads.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
|
|
|
|
Source0: https://sourceforge.net/projects/pstoedit/files/pstoedit/%{version}/pstoedit-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fix cflags of the pkg-config file
|
|
|
|
Patch0: pstoedit-pkglibdir.patch
|
|
|
|
Patch0: pstoedit-pkglibdir.patch
|
|
|
|
|
|
|
|
|
|
|
|
Requires: ghostscript
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
BuildRequires: plotutils-devel
|
|
|
|
BuildRequires: plotutils-devel
|
|
|
|
%ifnarch ia64
|
|
|
|
BuildRequires: %{?dts}gcc-c++, %{?dts}gcc
|
|
|
|
|
|
|
|
BuildRequires: libzip-devel
|
|
|
|
|
|
|
|
%if ! 0%{?rhel} >= 8
|
|
|
|
|
|
|
|
BuildRequires: ImageMagick-c++-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
BuildRequires: libEMF-devel
|
|
|
|
BuildRequires: libEMF-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
BuildRequires: ming-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: ghostscript%{?_isa}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Pstoedit converts PostScript and PDF files to various vector graphic
|
|
|
|
Pstoedit converts PostScript and PDF files to various vector graphic
|
|
|
@ -29,9 +40,7 @@ drivers
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Headers for developing programs that will use %{name}
|
|
|
|
Summary: Headers for developing programs that will use %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: libpng-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
This package contains the header files needed for developing %{name}
|
|
|
|
This package contains the header files needed for developing %{name}
|
|
|
@ -39,56 +48,100 @@ applications
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
# correctly load plugins (#1247187)
|
|
|
|
|
|
|
|
%patch0 -p1 -b .pkglibdir
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dos2unix doc/*.htm doc/readme.txt
|
|
|
|
dos2unix doc/*.htm doc/readme.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Buildling without ImageMagick support, to work around bug 507035
|
|
|
|
%if 0%{?el7}
|
|
|
|
%configure --disable-static --with-emf --without-swf --without-magick
|
|
|
|
%{?dts:source /opt/rh/devtoolset-9/enable}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
# http://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath
|
|
|
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
|
|
|
|
--without-emf
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%make_install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 644 doc/pstoedit.1 $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 {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?el7}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pstoedit
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc copying doc/readme.txt doc/pstoedit.htm
|
|
|
|
%doc doc/readme.txt doc/pstoedit.htm doc/changelog.htm doc/pstoedit.pdf
|
|
|
|
%{_datadir}/pstoedit
|
|
|
|
%license copying
|
|
|
|
|
|
|
|
%{_datadir}/pstoedit/
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_bindir}/pstoedit
|
|
|
|
%{_bindir}/pstoedit
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/pstoedit
|
|
|
|
%{_libdir}/pstoedit/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc doc/changelog.htm
|
|
|
|
%doc doc/changelog.htm
|
|
|
|
%{_includedir}/pstoedit
|
|
|
|
%{_includedir}/pstoedit/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.75-5
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.75-4
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.75-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 07 2021 Tomas Popela <tpopela@redhat.com> - 3.75-2
|
|
|
|
|
|
|
|
- Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 05 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.75-1
|
|
|
|
|
|
|
|
- Rebase to 3.75
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-8
|
|
|
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Sebastian Kisela <skisela@redhat.com> - 3.73-3
|
|
|
|
|
|
|
|
- Add explicit gcc-c++ BuildRequires, as it has been removed from
|
|
|
|
|
|
|
|
the buildroot default packages set.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 09 2018 Sebastian Kisela <skisela@redhat.com> - 3.73-1
|
|
|
|
|
|
|
|
- Rebase to 3.73
|
|
|
|
|
|
|
|
- Add automake call to regenerate Makefile, as libpstoedit.so was not generated at the right time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 16 2018 Sebastian Kisela <skisela@redhat.com> - 3.70-11
|
|
|
|
|
|
|
|
- Revert back due to unnoticed ABI changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 13 2018 Sebastian Kisela <skisela@redhat.com> - 3.70-10
|
|
|
|
|
|
|
|
- Drop unused libpng dependency
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-9
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
@ -212,4 +265,3 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 8 2006 Denis Leroy <denis@poolshark.org> - 3.44-1
|
|
|
|
* Thu Jun 8 2006 Denis Leroy <denis@poolshark.org> - 3.44-1
|
|
|
|
- First version
|
|
|
|
- First version
|
|
|
|
|
|
|
|
|
|
|
|