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 Patch1: imagemagick7.patch
12 URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
13 BuildRequires: ImageMagick-c++-devel
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: gd-devel
17 BuildRequires: ghostscript
18 BuildRequires: libEMF-devel
19 BuildRequires: libplot-devel >= 2.3
20 BuildRequires: libplotter-devel >= 2.3
21 BuildRequires: libstdc++-devel >= 5:3.0
22 BuildRequires: libtool >= 2:1.4d-3
23 BuildRequires: libzip-devel
24 BuildRequires: ming-devel
25 BuildRequires: pkgconfig
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 pstoedit converts PostScript and PDF files into a wide variety of
31 editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
32 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
33 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
34 simplified PostScript, and any format that Ghostscript or the GNU
35 plotting utilities can output, such as Tektronix, CGM, and various
38 %description -l pl.UTF-8
39 pstoedit konwertuje pliki PostScript i PDF do wielu różnych mniej lub
40 bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
41 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
42 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
43 uproszczony PostScript i dowolny format jaki mogą zapisywać
44 ghostscript lub GNU plotutils - np. Tektronix, CGM, różne formaty
48 Summary: pstoedit library header files
49 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pstoedit
50 Group: Development/Libraries
51 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: pptx plugin for pstoedit library
100 Summary(pl.UTF-8): Wtyczka pptx dla biblioteki pstoedit
102 Requires: %{name} = %{version}-%{release}
104 %description drv-pptx
105 pptx plugin for pstoedit library. It uses libzip library.
107 %description drv-pptx -l pl.UTF-8
108 Wtyczka pptx dla biblioteki pstoedit. Używa biblioteki libzip.
111 Summary: swf plugin for pstoedit library
112 Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
114 Requires: %{name} = %{version}-%{release}
117 swf plugin for pstoedit library. It uses Ming library.
119 %description drv-swf -l pl.UTF-8
120 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
123 Summary: wmf plugin for pstoedit library
124 Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
126 Requires: %{name} = %{version}-%{release}
129 wmf plugin for pstoedit library. It uses libEMF library.
131 %description drv-wmf -l pl.UTF-8
132 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
145 export CPPFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
146 export CFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
151 --with-libemf-include=%{_includedir}/libEMF
155 rm -rf $RPM_BUILD_ROOT
156 #install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
159 DESTDIR=$RPM_BUILD_ROOT
161 #install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
163 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
164 %{__rm} $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
165 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
166 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
169 rm -rf $RPM_BUILD_ROOT
171 %post -p /sbin/ldconfig
172 %postun -p /sbin/ldconfig
175 %defattr(644,root,root,755)
176 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
177 %attr(755,root,root) %{_bindir}/pstoedit
178 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
179 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
180 %dir %{_libdir}/pstoedit
181 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
183 %{_mandir}/man1/pstoedit.1*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
194 %defattr(644,root,root,755)
195 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvpptx.so*
198 %defattr(644,root,root,755)
199 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
202 %defattr(644,root,root,755)
203 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_libdir}/libpstoedit.so
208 %{_libdir}/libpstoedit.la
209 %{_includedir}/pstoedit
210 %{_pkgconfigdir}/pstoedit.pc
211 %{_aclocaldir}/pstoedit.m4
214 %defattr(644,root,root,755)
215 %{_libdir}/libpstoedit.a