1 Summary: Convert PostScript and PDF files into various vector-graphic formats
2 Summary(pl.UTF-8): Konwerter PostScriptu i PDF do różnych formatów wektorowych
7 Group: Applications/Graphics
8 Source0: http://downloads.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
9 # Source0-md5: 97d649305ad90fab7a569154f17e0916
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-link.patch
12 Patch2: %{name}-am18.patch
14 URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
15 BuildRequires: ImageMagick-c++-devel
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: gd-devel
19 BuildRequires: ghostscript
20 BuildRequires: libEMF-devel
21 BuildRequires: libplotter-devel >= 2.3
22 BuildRequires: libpng-devel >= 1.0.8
23 BuildRequires: libstdc++-devel >= 3.0
24 BuildRequires: libtool >= 2:1.4d-3
25 BuildRequires: ming-devel
26 BuildRequires: pkgconfig
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 pstoedit converts PostScript and PDF files into a wide variety of
32 editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
33 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
34 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
35 simplified PostScript, and any format that Ghostscript or the GNU
36 plotting utilities can output, such as Tektronix, CGM, and various
39 %description -l pl.UTF-8
40 pstoedit konwertuje pliki PostScript i PDF do wielu różnych mniej lub
41 bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
42 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
43 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
44 uproszczony PostScript i dowolny format jaki mogą zapisywać
45 ghostscript lub GNU plotutils - np. Tektronix, CGM, różne formaty
49 Summary: pstoedit library header files
50 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pstoedit
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
54 Requires: libstdc++-devel
57 pstoedit library header files.
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe biblioteki pstoedit.
63 Summary: pstoedit static library
64 Summary(pl.UTF-8): Statyczna biblioteka pstoedit
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
69 pstoedit static library.
71 %description static -l pl.UTF-8
72 Statyczna biblioteka pstoedit.
75 Summary: lplot plugin for pstoedit library
76 Summary(pl.UTF-8): Wtyczka lplot dla biblioteki pstoedit
78 Requires: %{name} = %{version}-%{release}
80 %description drv-lplot
81 lplot plugin for pstoedit library. It uses libplotter library.
83 %description drv-lplot -l pl.UTF-8
84 Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
87 Summary: magick plugin for pstoedit library
88 Summary(pl.UTF-8): Wtyczka magick dla biblioteki pstoedit
90 Requires: %{name} = %{version}-%{release}
92 %description drv-magick
93 magick plugin for pstoedit library. It uses Magick++ library.
95 %description drv-magick -l pl.UTF-8
96 Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
100 Summary: swf plugin for pstoedit library
101 Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
103 Requires: %{name} = %{version}-%{release}
106 swf plugin for pstoedit library. It uses Ming library.
108 %description drv-swf -l pl.UTF-8
109 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
112 Summary: wmf plugin for pstoedit library
113 Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
115 Requires: %{name} = %{version}-%{release}
118 wmf plugin for pstoedit library. It uses libEMF library.
120 %description drv-wmf -l pl.UTF-8
121 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
131 # need to rebuild - supplied libtool is broken (relink and C++)
141 --with-libemf-include=%{_includedir}/libEMF
145 rm -rf $RPM_BUILD_ROOT
146 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
149 DESTDIR=$RPM_BUILD_ROOT
151 install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
153 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
154 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
155 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
156 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
159 rm -rf $RPM_BUILD_ROOT
161 %post -p /sbin/ldconfig
162 %postun -p /sbin/ldconfig
165 %defattr(644,root,root,755)
166 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
167 %attr(755,root,root) %{_bindir}/pstoedit
168 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
169 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
170 %dir %{_libdir}/pstoedit
171 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
173 %{_mandir}/man1/pstoedit.1*
176 %defattr(644,root,root,755)
177 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/libpstoedit.so
194 %{_libdir}/libpstoedit.la
195 %{_includedir}/pstoedit
196 %{_pkgconfigdir}/pstoedit.pc
197 %{_aclocaldir}/pstoedit.m4
200 %defattr(644,root,root,755)
201 %{_libdir}/libpstoedit.a