auto-import pstoedit-3.44-2 on branch devel from pstoedit-3.44-2.src.rpm
This commit is contained in:
parent
d917d9889a
commit
a9494373df
@ -0,0 +1 @@
|
|||||||
|
pstoedit-3.44.tar.gz
|
10
pstoedit-3.44-cxxflags.patch
Normal file
10
pstoedit-3.44-cxxflags.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- pstoedit-3.44/configure.orig 2006-06-15 00:52:42.000000000 +0200
|
||||||
|
+++ pstoedit-3.44/configure 2006-06-15 00:52:45.000000000 +0200
|
||||||
|
@@ -22590,7 +22590,6 @@
|
||||||
|
echo "${ECHO_T}GNU" >&6
|
||||||
|
SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
|
||||||
|
fi
|
||||||
|
- CXXFLAGS="-g"
|
||||||
|
elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
|
||||||
|
echo "$as_me:$LINENO: result: AIX xlC" >&5
|
||||||
|
echo "${ECHO_T}AIX xlC" >&6
|
91
pstoedit.spec
Normal file
91
pstoedit.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
Name: pstoedit
|
||||||
|
Version: 3.44
|
||||||
|
Release: 2%{?dist}
|
||||||
|
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
|
||||||
|
|
||||||
|
%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
|
||||||
|
%configure --disable-static --without-emf --without-swf --without-libplot
|
||||||
|
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
|
||||||
|
* 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user