Search
j0ke.net Open Build Service
>
Projects
>
graphics
>
pstoedit
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Added
pstoedit.spec
@@ -0,0 +1,313 @@ +# +# spec file for package pstoedit (Version 3.44) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild +# usedforbuild ImageMagick ImageMagick-Magick++ ImageMagick-Magick++-devel ImageMagick-devel Mesa aaa_base acl atk attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 cairo coreutils cpio cpp cracklib cups-libs cvs cyrus-sasl db diffutils e2fsprogs expat file filesystem fillup findutils flex fontconfig fontconfig-devel freetype2 freetype2-devel gawk gcc gcc-c++ gdbm gdbm-devel gettext gettext-devel ghostscript-fonts-std ghostscript-library ghostscript-x11 glib2 glibc glibc-devel glibc-locale glitz gnome-filesystem gpm grep groff gtk2 gzip info insserv joe klogd less libEMF libEMF-devel libacl libattr libcom_err libdrm libexif libgcc libgimpprint libjasper libjpeg libjpeg-devel liblcms liblcms-devel libnetpbm libnscd libpng libpng-devel libstdc++ libstdc++-devel libtiff libtiff-devel libtool libwmf libwmf-devel libxcrypt libxml2 libxml2-devel libzio m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg netpbm openldap2-client openmotif-libs openssl pam pam-modules pango patch perl permissions pkgconfig popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone transfig unzip util-linux vim xaw3d xfig xorg-x11-devel xorg-x11-libs zlib zlib-devel + +Name: pstoedit +BuildRequires: ImageMagick-Magick++-devel >= 6.2.6.0 gcc-c++ ghostscript-fonts-std ghostscript-x11 joe libexif pkgconfig xfig +%ifarch %ix86 ppc +BuildRequires: libEMF-devel +%endif +License: GPL, Other License(s), see package +Group: Productivity/Publishing/PS +Requires: ghostscript_any +Autoreqprov: on +Summary: PostScript and PDF Converter +Version: 3.44 +Release: 10 +Source: http://mesh.dl.sourceforge.net/sourceforge/pstoedit/pstoedit-%{version}.tar.gz +Patch0: pstoedit-CXXFLAGS.patch +Patch1: pstoedit-no_builddir_in_la_file.patch +#Patch2: pstoedit-codecleanup.patch +Patch3: pstoedit-manpages.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: http://www.pstoedit.net/ + +%description +pstoedit converts PostScript and PDF files to other vector graphic +formats so that they can be edited graphically. pstoedit supports: + +* tgif: Tgif .obj format (for tgif version >= 3) + +* rpl: Real3D Programming Language Format + +* lwo: LightWave 3D Object Format + +* rib: RenderMan Interface Bytestream + +* mif: (Frame)Maker Intermediate Format + +* fig: .fig format for xfig + +* xfig: .fig format for xfig + +* pdf: Adobe's Portable Document Format + +* gnuplot: gnuplot format + +* ps: Flattened PostScript + +* debug: for test purposes + +* dump: for test purposes (same as debug) + +* dxf: CAD exchange format + +* java 1 and 2: java applet source code + +* idraw: Interviews draw format + +* tcl/tk: Tcl/Tk + +* hpgl: HPGL + +* AI: Adobe Illustrator + +* wmf: Windows Meta Files (WMF) (Windows 9x/NT only) + +* ewm: Enhanced Windows Meta Files (EMF) (Windows 9x/NT + only) + +* OS/2 meta files (OS/2 only) + +* PIC format for troff/groff + +* MetaPost format for usage with TeX/LaTeX + +* LaTeX2e picture + +* Kontour + +* GNU Metafile (plotutils / libplot) + +* Skencil formerly known as sketch ( http://www.skencil.org ) + +* Mathematica + +* via ImageMagick to any format supported by ImageMagick + +* SWF (beta release state--still lots of features missing, such as + fonts, dash handling, etc.) + +pstoedit needs an installed Ghostscript interpreter. + + + +Authors: +-------- + Wolfgang Glunz <Wolfgang.Glunz@mchp.siemens.de> + +%debug_package +%package devel +Summary: PostScript and PDF converter +Group: Productivity/Publishing/PS +Requires: %name = %{PACKAGE_VERSION} +Requires: ImageMagick-devel >= 6.2.6.0 ImageMagick-Magick++-devel >= 6.2.6.0 + +%description devel +pstoedit converts Postscript(TM) and PDF files to other vector graphic +formats so that they can be edited graphically. pstoedit supports: + +tgif: Tgif .obj format (for tgif version >= 3) + +rpl: Real3D Programming Language Format + +lwo: LightWave 3D Object Format + +rib: RenderMan Interface Bytestream + +mif: (Frame)Maker Intermediate Format + +fig: .fig format for xfig + +xfig: .fig format for xfig + +pdf: Adobe's Portable Document Format + +gnuplot: gnuplot format + +ps: Flattened PostScript + +debug: for test purposes + +dump: for test purposes (same as debug) + +dxf: CAD exchange format + +java: java applet source code + +idraw: Interviews draw format + +pstoedit needs an installed Ghostscript interpreter. + + + +Authors: +-------- + Wolfgang Glunz <Wolfgang.Glunz@mchp.siemens.de> + +%define INSTALL install -m755 -s +%define INSTALL_DIR install -d -m755 +%define INSTALL_DATA install -m644 +%prep +%setup -q +%patch0 +%patch1 +# %patch2 +%patch3 +%{suse_update_config -f config} + +%build +autoreconf -fi +export CFLAGS="%optflags -g" +export LDFLAGS="$LDFLAGS -g" +export CXXFLAGS="%optflags" +%ifarch axp %ix86 ppc sparc +CPPFLAGS="-I/usr/include/libEMF" +EMF_OPT=--with-libemf-include=/usr/include/libEMF +%endif +./configure --prefix=%{_prefix} --mandir=%{_mandir} --libdir=%{_libdir} $EMF_OPT +make + +%install +make DESTDIR=%{buildroot} install +make clean +make DESTDIR=%{buildroot} install +DESTDIR=%{buildroot} libtool --finish %{_libdir}/pstoedit +#%clean +#rm -rf %{buildroot} + +%post +%run_ldconfig + +%postun +%run_ldconfig + +%files +%defattr(-, root, root) +%doc copying +%doc examples +%doc doc/*.htm +%{_bindir}/pstoedit