2006-06-15 15:31:09 +00:00
|
|
|
Name: pstoedit
|
|
|
|
Version: 3.44
|
2006-08-28 11:37:46 +00:00
|
|
|
Release: 4%{?dist}
|
2006-06-15 15:31:09 +00:00
|
|
|
Summary: Translates PostScript and PDF graphics into other vector formats
|
|
|
|
|
|
|
|
Group: Applications/Productivity
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.pstoedit.net/
|
|
|
|
Source0: http://download.sourceforge.net/pstoedit/pstoedit-%{version}.tar.gz
|
|
|
|
Patch0: pstoedit-3.44-cxxflags.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
Requires: ghostscript
|
|
|
|
BuildRequires: gd-devel
|
|
|
|
BuildRequires: ImageMagick-c++-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: ghostscript
|
2006-08-18 11:25:58 +00:00
|
|
|
BuildRequires: plotutils-devel
|
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: ImageMagick-c++-devel
|
|
|
|
Requires: libpng-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files needed for developing %{name}
|
|
|
|
applications
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .cxxflags
|
|
|
|
dos2unix doc/*.htm doc/readme.txt
|
|
|
|
|
|
|
|
%build
|
2006-08-18 11:25:58 +00:00
|
|
|
%configure --disable-static --without-emf --without-swf
|
2006-06-15 15:31:09 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|