2020-10-05 14:12:14 +00:00
|
|
|
%if 0%{?el7}
|
|
|
|
%global dts devtoolset-9-
|
|
|
|
%endif
|
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
Name: pstoedit
|
2020-10-05 13:03:29 +00:00
|
|
|
Version: 3.75
|
|
|
|
Release: 1%{?dist}
|
2006-06-15 15:31:09 +00:00
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
2007-08-20 14:35:15 +00:00
|
|
|
License: GPLv2+
|
2020-10-05 13:03:29 +00:00
|
|
|
URL: http://www.pstoedit.net
|
|
|
|
Source0: https://sourceforge.net/projects/pstoedit/files/pstoedit/%{version}/pstoedit-%{version}.tar.gz
|
|
|
|
|
2020-10-05 13:56:50 +00:00
|
|
|
# Fix cflags of the pkg-config file
|
2020-10-05 13:03:29 +00:00
|
|
|
Patch0: pstoedit-pkglibdir.patch
|
|
|
|
|
2011-08-29 13:35:47 +00:00
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
BuildRequires: plotutils-devel
|
2020-10-05 14:12:14 +00:00
|
|
|
BuildRequires: %{?dts}gcc-c++, %{?dts}gcc
|
2020-10-05 13:03:29 +00:00
|
|
|
BuildRequires: libzip-devel
|
|
|
|
BuildRequires: ImageMagick-c++-devel
|
2020-10-05 13:49:13 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
BuildRequires: libEMF-devel
|
|
|
|
%endif
|
|
|
|
%if 0%{?fedora}
|
2020-10-05 13:03:29 +00:00
|
|
|
BuildRequires: ming-devel
|
2020-10-05 13:49:13 +00:00
|
|
|
%endif
|
2020-10-05 13:03:29 +00:00
|
|
|
Requires: ghostscript%{?_isa}
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pstoedit converts PostScript and PDF files to various vector graphic
|
|
|
|
formats. The resulting files can be edited or imported into various
|
|
|
|
drawing packages. Pstoedit comes with a large set of integrated format
|
|
|
|
drivers
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers for developing programs that will use %{name}
|
2020-10-05 13:03:29 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files needed for developing %{name}
|
|
|
|
applications
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2020-10-05 13:03:29 +00:00
|
|
|
%autosetup -p1
|
2011-08-29 13:35:47 +00:00
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
dos2unix doc/*.htm doc/readme.txt
|
|
|
|
|
|
|
|
%build
|
2020-10-05 14:12:14 +00:00
|
|
|
%if 0%{?el7}
|
|
|
|
%{?dts:source /opt/rh/devtoolset-9/enable}
|
|
|
|
%endif
|
|
|
|
|
2020-10-05 13:49:13 +00:00
|
|
|
%configure --disable-static --enable-docs=no --with-libzip-include=%{_includedir} \
|
|
|
|
%if 0%{?rhel} == 7
|
|
|
|
--without-emf
|
|
|
|
%endif
|
2020-10-05 13:56:50 +00:00
|
|
|
|
2020-10-05 13:03:29 +00:00
|
|
|
%make_build
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
%install
|
2020-10-05 13:03:29 +00:00
|
|
|
%make_install
|
2006-06-15 15:31:09 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
2020-10-05 13:03:29 +00:00
|
|
|
install -pm 644 doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
2006-06-15 15:31:09 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
2020-10-05 14:23:24 +00:00
|
|
|
%if 0%{?el7}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pstoedit
|
|
|
|
%endif
|
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
%files
|
2020-10-05 13:03:29 +00:00
|
|
|
%doc doc/readme.txt doc/pstoedit.htm doc/changelog.htm doc/pstoedit.pdf
|
|
|
|
%license copying
|
2020-10-05 14:23:24 +00:00
|
|
|
%{_datadir}/pstoedit/
|
2006-06-15 15:31:09 +00:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_bindir}/pstoedit
|
|
|
|
%{_libdir}/*.so.*
|
2020-10-05 13:03:29 +00:00
|
|
|
%{_libdir}/pstoedit/
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc doc/changelog.htm
|
2020-10-05 13:03:29 +00:00
|
|
|
%{_includedir}/pstoedit/
|
2006-06-15 15:31:09 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
2009-02-10 06:58:31 +00:00
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
%changelog
|
2020-10-05 13:03:29 +00:00
|
|
|
* Mon Oct 05 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.75-1
|
|
|
|
- Rebase to 3.75
|
|
|
|
|
2020-08-01 07:14:53 +00:00
|
|
|
* 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
|
|
|
|
|
2020-07-28 23:07:53 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-30 09:54:58 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 11:27:07 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 04:56:55 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-24 08:33:10 +00:00
|
|
|
* 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.
|
|
|
|
|
2018-07-13 22:57:06 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.73-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-04 11:12:47 +00:00
|
|
|
* Mon Jul 09 2018 Sebastian Kisela <skisela@redhat.com> - 3.73-1
|
2020-10-05 13:03:29 +00:00
|
|
|
- Rebase to 3.73
|
2018-07-04 11:12:47 +00:00
|
|
|
- Add automake call to regenerate Makefile, as libpstoedit.so was not generated at the right time.
|
|
|
|
|
2018-04-16 11:35:42 +00:00
|
|
|
* Mon Apr 16 2018 Sebastian Kisela <skisela@redhat.com> - 3.70-11
|
|
|
|
- Revert back due to unnoticed ABI changes
|
|
|
|
|
2018-04-13 07:29:04 +00:00
|
|
|
* Fri Apr 13 2018 Sebastian Kisela <skisela@redhat.com> - 3.70-10
|
|
|
|
- Drop unused libpng dependency
|
|
|
|
|
2018-02-09 05:54:09 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 06:26:05 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 09:07:30 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 07:55:16 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 18:32:55 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.70-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-27 14:47:35 +00:00
|
|
|
* Mon Jul 27 2015 Jiri Popelka <jpopelka@redhat.com> - 3.70-4
|
2015-07-27 14:45:31 +00:00
|
|
|
- correctly load plugins (#1247187)
|
|
|
|
|
2015-06-18 17:55:35 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 14:52:41 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 3.70-2
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-01-05 16:40:00 +00:00
|
|
|
* Mon Jan 05 2015 Jiri Popelka <jpopelka@redhat.com> - 3.70-1
|
|
|
|
- 3.70
|
|
|
|
|
2014-08-17 20:07:54 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.62-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 17:26:25 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.62-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 05:24:16 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.62-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-11 10:18:37 +00:00
|
|
|
* Tue Jun 11 2013 Remi Collet <rcollet@redhat.com> - 3.62-2
|
|
|
|
- rebuild for new GD 2.1.0
|
|
|
|
|
2013-04-29 10:22:26 +00:00
|
|
|
* Mon Apr 29 2013 Jiri Popelka <jpopelka@redhat.com> - 3.62-1
|
|
|
|
- 3.62
|
|
|
|
- remove autoreconf
|
|
|
|
|
2013-03-25 14:29:59 +00:00
|
|
|
* Mon Mar 25 2013 Jiri Popelka <jpopelka@redhat.com> - 3.61-3
|
|
|
|
- Run autoreconf prior to running configure (#926382)
|
|
|
|
|
2013-02-14 18:28:11 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.61-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-28 15:53:10 +00:00
|
|
|
* Tue Aug 28 2012 Jiri Popelka <jpopelka@redhat.com> - 3.61-1
|
|
|
|
- 3.61
|
|
|
|
|
2012-07-21 03:24:06 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.60-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-28 19:43:46 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.60-4
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-14 01:17:11 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.60-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-18 09:49:16 +00:00
|
|
|
* Tue Oct 18 2011 Jiri Popelka <jpopelka@redhat.com> - 3.60-2
|
|
|
|
- Correct source url.
|
|
|
|
|
2011-08-29 13:35:47 +00:00
|
|
|
* Mon Aug 29 2011 Jiri Popelka <jpopelka@redhat.com> - 3.60-1
|
|
|
|
- Update to new upstream 3.60, bugfix release
|
|
|
|
- Remove Rpath
|
|
|
|
|
2011-02-09 17:09:41 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.45-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-26 19:36:02 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.45-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-09 08:36:28 +00:00
|
|
|
* Thu Jul 9 2009 Denis Leroy <denis@poolshark.org> - 3.45-8
|
|
|
|
- Fix parallel build (#510281)
|
|
|
|
- Remove ImageMagick support, to work around bug 507035
|
|
|
|
|
2009-03-10 07:14:52 +00:00
|
|
|
* Tue Mar 10 2009 Denis Leroy <denis@poolshark.org> - 3.45-7
|
|
|
|
- Removed EMF BR for ia64 arch (#489412)
|
|
|
|
- Rebuild for ImageMagick
|
|
|
|
|
2009-02-27 02:48:36 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.45-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-07 19:10:46 +00:00
|
|
|
* Sat Feb 7 2009 Denis Leroy <denis@poolshark.org> - 3.45-5
|
|
|
|
- Added patch for improved asymptote support (#483503)
|
2009-02-10 06:58:31 +00:00
|
|
|
- Added patch to fix incorrect cpp directive
|
2009-02-07 19:10:46 +00:00
|
|
|
|
2008-09-24 21:39:25 +00:00
|
|
|
* Wed Sep 24 2008 Denis Leroy <denis@poolshark.org> - 3.45-4
|
|
|
|
- Fixed cxxflags patch fuziness issue
|
|
|
|
|
2008-05-14 11:27:16 +00:00
|
|
|
* Wed May 14 2008 Denis Leroy <denis@poolshark.org> - 3.45-3
|
|
|
|
- Rebuild for new ImageMagick
|
|
|
|
|
2008-02-17 10:55:21 +00:00
|
|
|
* Sun Feb 17 2008 Denis Leroy <denis@poolshark.org> - 3.45-2
|
|
|
|
- Added patch for gcc 4.3 rebuild
|
|
|
|
|
2007-09-20 09:54:36 +00:00
|
|
|
* Thu Sep 20 2007 Denis Leroy <denis@poolshark.org> - 3.45-1
|
|
|
|
- Update to new upstream 3.45, bugfix release
|
|
|
|
- Updated quiet patch for 3.45
|
|
|
|
|
2007-08-20 14:35:15 +00:00
|
|
|
* Mon Aug 20 2007 Denis Leroy <denis@poolshark.org> - 3.44-7
|
|
|
|
- License tag update
|
|
|
|
|
2007-03-25 15:13:20 +00:00
|
|
|
* Sun Mar 25 2007 Denis Leroy <denis@poolshark.org> - 3.44-6
|
|
|
|
- Added patch to add -quiet option
|
|
|
|
|
2006-11-23 09:47:23 +00:00
|
|
|
* Wed Nov 22 2006 Denis Leroy <denis@poolshark.org> - 3.44-5
|
|
|
|
- Added libEMF support
|
|
|
|
|
2006-08-28 11:37:46 +00:00
|
|
|
* Mon Aug 28 2006 Denis Leroy <denis@poolshark.org> - 3.44-4
|
|
|
|
- FE6 Rebuild
|
|
|
|
|
2006-08-18 11:25:58 +00:00
|
|
|
* Fri Aug 18 2006 Denis Leroy <denis@poolshark.org> - 3.44-3
|
|
|
|
- Added svg/libplot support
|
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
* Thu Jun 15 2006 Denis Leroy <denis@poolshark.org> - 3.44-2
|
|
|
|
- Added missing Requires and BuildRequires
|
|
|
|
- Patched configure to prevent CXXFLAGS overwrite
|
|
|
|
|
|
|
|
* Thu Jun 8 2006 Denis Leroy <denis@poolshark.org> - 3.44-1
|
|
|
|
- First version
|