1 Summary: Convert PostScript and PDF files into various vector-graphic formats
2 Summary(pl): Konwerter PostScriptu i PDF do ró¿nych formatów wektorowych
7 Group: Applications/Graphics
8 Source0: http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/%{name}-%{version}.tar.gz
9 # Source0-md5: 6a671ef165bf7d1611a2ad3f0499ff5b
10 Source1: http://autotrace.sourceforge.net/tools/pstoedit.m4
11 # NoSource1-md5: 6d3384b46da54a8ccdb9d47254820b89
12 Patch0: %{name}-opt.patch
13 Patch1: %{name}-no_pedantic.patch
14 URL: http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
15 BuildRequires: ImageMagick-c++-devel >= 5.4.8
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: bzip2-devel
19 BuildRequires: libEMF-devel
20 BuildRequires: libplotter-devel >= 2.3
21 BuildRequires: libpng-devel
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool >= 2:1.4d-3
24 BuildRequires: ming-devel
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 pstoedit converts PostScript and PDF files into a wide variety of
30 editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
31 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
32 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
33 simplified PostScript, and any format that Ghostscript or the GNU
34 plotting utilities can output, such as Tektronix, CGM, and various
38 pstoedit konwertuje pliki PostScript i PDF do wielu ró¿nych mniej lub
39 bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
40 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
41 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
42 uproszczony PostScript i dowolny format jaki mog± zapisywaæ
43 ghostscript lub GNU plotutils - np. Tektronix, CGM, ró¿ne formaty
47 Summary: lplot plugin for pstoedit library
48 Summary(pl): Wtyczka lplot dla biblioteki pstoedit
50 Requires: %{name} = %{version}
52 %description drv-lplot
53 lplot plugin for pstoedit library. It uses libplotter library.
55 %description drv-lplot -l pl
56 Wtyczka lplot dla biblioteki pstoedit. U¿ywa biblioteki libplotter.
59 Summary: magick plugin for pstoedit library
60 Summary(pl): Wtyczka magick dla biblioteki pstoedit
62 Requires: %{name} = %{version}
64 %description drv-magick
65 magick plugin for pstoedit library. It uses Magick++ library.
67 %description drv-magick -l pl
68 Wtyczka magick (libplotter) dla biblioteki pstoedit. U¿ywa biblioteki
72 Summary: swf plugin for pstoedit library
73 Summary(pl): Wtyczka swf dla biblioteki pstoedit
75 Requires: %{name} = %{version}
78 swf plugin for pstoedit library. It uses Ming library.
80 %description drv-swf -l pl
81 Wtyczka swf dla biblioteki pstoedit. U¿ywa biblioteki Ming.
84 Summary: wmf plugin for pstoedit library
85 Summary(pl): Wtyczka wmf dla biblioteki pstoedit
87 Requires: %{name} = %{version}
90 wmf plugin for pstoedit library. It uses libEMF library.
92 %description drv-wmf -l pl
93 Wtyczka wmf dla biblioteki pstoedit. U¿ywa biblioteki libEMF.
96 Summary: pstoedit library header files
97 Summary(pl): Pliki nag³ówkowe biblioteki pstoedit
98 Group: Development/Libraries
99 Requires: %{name} = %{version}
102 pstoedit library header files.
104 %description devel -l pl
105 Pliki nag³ówkowe biblioteki pstoedit.
108 Summary: pstoedit static libraries
109 Summary(pl): Biblioteki statyczne pstoedit
110 Group: Development/Libraries
111 Requires: %{name}-devel = %{version}
114 pstoedit static libraries.
116 %description static -l pl
117 Biblioteki statyczne pstoedit.
125 # need to rebuild - supplied libtool is broken (relink and C++)
131 CPPFLAGS="-I/usr/X11R6/include -I/usr/X11R6/include/X11"
133 --with-libemf-include=/usr/include/libEMF
137 rm -rf $RPM_BUILD_ROOT
138 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
141 DESTDIR=$RPM_BUILD_ROOT
143 install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
144 install %{SOURCE1} $RPM_BUILD_ROOT%{_aclocaldir}
146 cp -af java $RPM_BUILD_ROOT%{_datadir}/pstoedit
147 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/readme*
150 rm -rf $RPM_BUILD_ROOT
152 %post -p /sbin/ldconfig
153 %postun -p /sbin/ldconfig
156 %defattr(644,root,root,755)
157 %doc readme.txt java/java1/readme_java1.txt *.htm java/java2/readme_java2.html
158 %attr(755,root,root) %{_bindir}/pstoedit
159 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*
160 %dir %{_libdir}/pstoedit
161 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
163 %{_mandir}/man1/pstoedit.1*
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/pstoedit-config
184 %attr(755,root,root) %{_libdir}/libpstoedit.so
185 %{_libdir}/libpstoedit.la
186 %{_includedir}/pstoedit
187 %{_pkgconfigdir}/*.pc
191 %defattr(644,root,root,755)
192 %{_libdir}/libpstoedit.a