2006-06-15 15:31:09 +00:00
|
|
|
Name: pstoedit
|
2007-09-20 09:54:36 +00:00
|
|
|
Version: 3.45
|
2009-07-26 19:36:02 +00:00
|
|
|
Release: 9%{?dist}
|
2006-06-15 15:31:09 +00:00
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
|
|
|
|
|
|
|
Group: Applications/Productivity
|
2007-08-20 14:35:15 +00:00
|
|
|
License: GPLv2+
|
2006-06-15 15:31:09 +00:00
|
|
|
URL: http://www.pstoedit.net/
|
|
|
|
Source0: http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
|
|
|
|
Patch0: pstoedit-3.44-cxxflags.patch
|
2007-09-20 09:54:36 +00:00
|
|
|
Patch1: pstoedit-3.45-quiet.patch
|
2008-02-17 10:55:21 +00:00
|
|
|
Patch2: pstoedit-3.45-gcc43.patch
|
2009-02-07 19:10:46 +00:00
|
|
|
Patch3: pstoedit-3.45-asy.patch
|
2009-02-10 06:58:31 +00:00
|
|
|
Patch4: pstoedit-3.45-elif.patch
|
2009-07-09 08:36:28 +00:00
|
|
|
# Patch5: fix parallel build
|
|
|
|
Patch5: pstoedit-3.45-build.patch
|
2006-06-15 15:31:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: ghostscript
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: ghostscript
|
2006-08-18 11:25:58 +00:00
|
|
|
BuildRequires: plotutils-devel
|
2009-03-10 07:14:52 +00:00
|
|
|
%ifnarch ia64
|
2006-11-23 09:47:23 +00:00
|
|
|
BuildRequires: libEMF-devel
|
2009-03-10 07:19:05 +00:00
|
|
|
%endif
|
|
|
|
|
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}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: libpng-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files needed for developing %{name}
|
|
|
|
applications
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .cxxflags
|
2007-03-25 15:13:20 +00:00
|
|
|
%patch1 -p1 -b .quiet
|
2008-02-17 10:55:21 +00:00
|
|
|
%patch2 -p1 -b .gcc43
|
2009-02-07 19:10:46 +00:00
|
|
|
%patch3 -p1 -b .asy
|
2009-02-10 06:58:31 +00:00
|
|
|
%patch4 -p1 -b .elif
|
2009-07-09 08:36:28 +00:00
|
|
|
%patch5 -p1 -b .build
|
2006-06-15 15:31:09 +00:00
|
|
|
dos2unix doc/*.htm doc/readme.txt
|
|
|
|
|
2009-07-09 08:36:28 +00:00
|
|
|
|
2006-06-15 15:31:09 +00:00
|
|
|
%build
|
2009-07-09 08:36:28 +00:00
|
|
|
# Buildling without ImageMagick support, to work around bug 507035
|
|
|
|
%configure --disable-static --with-emf --without-swf --without-magick
|
|
|
|
make %{?_smp_mflags}
|
2006-06-15 15:31:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 644 doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc copying doc/readme.txt doc/index.htm doc/pstoedit.htm
|
|
|
|
%{_datadir}/pstoedit
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_bindir}/pstoedit
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/pstoedit
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc doc/changelog.htm
|
|
|
|
%{_includedir}/pstoedit
|
|
|
|
%{_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
|
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
|
|
|
|
|