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: d3ad4657b4944a8400f7ca76f78cb943
10 Patch0: pluginsdir.patch
11 URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
12 BuildRequires: ImageMagick-c++-devel
13 BuildRequires: autoconf >= 2.50
14 BuildRequires: automake
15 BuildRequires: gd-devel
16 BuildRequires: ghostscript
17 BuildRequires: libEMF-devel
18 BuildRequires: libplot-devel >= 2.3
19 BuildRequires: libplotter-devel >= 2.3
20 BuildRequires: libstdc++-devel >= 5:3.0
21 BuildRequires: libtool >= 2:1.4d-3
22 BuildRequires: libzip-devel
23 BuildRequires: ming-devel
24 BuildRequires: pkgconfig
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
37 %description -l pl.UTF-8
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: pstoedit library header files
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pstoedit
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
52 Requires: libstdc++-devel
55 pstoedit library header files.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki pstoedit.
61 Summary: pstoedit static library
62 Summary(pl.UTF-8): Statyczna biblioteka pstoedit
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
67 pstoedit static library.
69 %description static -l pl.UTF-8
70 Statyczna biblioteka pstoedit.
73 Summary: lplot plugin for pstoedit library
74 Summary(pl.UTF-8): Wtyczka lplot dla biblioteki pstoedit
76 Requires: %{name} = %{version}-%{release}
78 %description drv-lplot
79 lplot plugin for pstoedit library. It uses libplotter library.
81 %description drv-lplot -l pl.UTF-8
82 Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
85 Summary: magick plugin for pstoedit library
86 Summary(pl.UTF-8): Wtyczka magick dla biblioteki pstoedit
88 Requires: %{name} = %{version}-%{release}
90 %description drv-magick
91 magick plugin for pstoedit library. It uses Magick++ library.
93 %description drv-magick -l pl.UTF-8
94 Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
98 Summary: pptx plugin for pstoedit library
99 Summary(pl.UTF-8): Wtyczka pptx dla biblioteki pstoedit
101 Requires: %{name} = %{version}-%{release}
103 %description drv-pptx
104 pptx plugin for pstoedit library. It uses libzip library.
106 %description drv-pptx -l pl.UTF-8
107 Wtyczka pptx dla biblioteki pstoedit. Używa biblioteki libzip.
110 Summary: swf plugin for pstoedit library
111 Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
113 Requires: %{name} = %{version}-%{release}
116 swf plugin for pstoedit library. It uses Ming library.
118 %description drv-swf -l pl.UTF-8
119 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
122 Summary: wmf plugin for pstoedit library
123 Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
125 Requires: %{name} = %{version}-%{release}
128 wmf plugin for pstoedit library. It uses libEMF library.
130 %description drv-wmf -l pl.UTF-8
131 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
143 export CPPFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
144 export CFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
149 --with-libemf-include=%{_includedir}/libEMF
153 rm -rf $RPM_BUILD_ROOT
154 #install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
157 DESTDIR=$RPM_BUILD_ROOT
159 #install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
161 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
162 %{__rm} $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
163 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
164 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
167 rm -rf $RPM_BUILD_ROOT
169 %post -p /sbin/ldconfig
170 %postun -p /sbin/ldconfig
173 %defattr(644,root,root,755)
174 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
175 %attr(755,root,root) %{_bindir}/pstoedit
176 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
177 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
178 %dir %{_libdir}/pstoedit
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
181 %{_mandir}/man1/pstoedit.1*
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvpptx.so*
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/libpstoedit.so
206 %{_libdir}/libpstoedit.la
207 %{_includedir}/pstoedit
208 %{_pkgconfigdir}/pstoedit.pc
209 %{_aclocaldir}/pstoedit.m4
212 %defattr(644,root,root,755)
213 %{_libdir}/libpstoedit.a