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://dl.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
17 BuildRequires: automake
18 BuildRequires: bzip2-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}
53 Requires: libstdc++-devel
56 pstoedit library header files.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki pstoedit.
62 Summary: pstoedit static library
63 Summary(pl.UTF-8): Statyczna biblioteka pstoedit
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
68 pstoedit static library.
70 %description static -l pl.UTF-8
71 Statyczna biblioteka pstoedit.
74 Summary: lplot plugin for pstoedit library
75 Summary(pl.UTF-8): Wtyczka lplot dla biblioteki pstoedit
77 Requires: %{name} = %{version}-%{release}
79 %description drv-lplot
80 lplot plugin for pstoedit library. It uses libplotter library.
82 %description drv-lplot -l pl.UTF-8
83 Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
86 Summary: magick plugin for pstoedit library
87 Summary(pl.UTF-8): Wtyczka magick dla biblioteki pstoedit
89 Requires: %{name} = %{version}-%{release}
91 %description drv-magick
92 magick plugin for pstoedit library. It uses Magick++ library.
94 %description drv-magick -l pl.UTF-8
95 Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
99 Summary: swf plugin for pstoedit library
100 Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
102 Requires: %{name} = %{version}-%{release}
105 swf plugin for pstoedit library. It uses Ming library.
107 %description drv-swf -l pl.UTF-8
108 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
111 Summary: wmf plugin for pstoedit library
112 Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
114 Requires: %{name} = %{version}-%{release}
117 wmf plugin for pstoedit library. It uses libEMF library.
119 %description drv-wmf -l pl.UTF-8
120 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
130 # need to rebuild - supplied libtool is broken (relink and C++)
139 --with-libemf-include=%{_includedir}/libEMF
143 rm -rf $RPM_BUILD_ROOT
144 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
147 DESTDIR=$RPM_BUILD_ROOT
149 install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
151 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
152 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
153 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
154 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
157 rm -rf $RPM_BUILD_ROOT
159 %post -p /sbin/ldconfig
160 %postun -p /sbin/ldconfig
163 %defattr(644,root,root,755)
164 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
165 %attr(755,root,root) %{_bindir}/pstoedit
166 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
167 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
168 %dir %{_libdir}/pstoedit
169 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
171 %{_mandir}/man1/pstoedit.1*
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/libpstoedit.so
192 %{_libdir}/libpstoedit.la
193 %{_includedir}/pstoedit
194 %{_pkgconfigdir}/pstoedit.pc
195 %{_aclocaldir}/pstoedit.m4
198 %defattr(644,root,root,755)
199 %{_libdir}/libpstoedit.a