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://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
9 # Source0-md5: 13f24cb070da3f6af82ed84f4e53f049
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-no_pedantic.patch
12 Patch2: %{name}-link.patch
13 Patch3: %{name}-am18.patch
14 URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
15 BuildRequires: GraphicsMagick-c++-devel >= 1.0.6
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: bzip2-devel
19 BuildRequires: libEMF-devel
20 BuildRequires: libplotter-devel >= 2.3
21 BuildRequires: libpng-devel >= 1.0.8
22 BuildRequires: libstdc++-devel >= 3.0
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}-%{release}
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}-%{release}
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}-%{release}
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}-%{release}
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}-%{release}
100 Requires: libstdc++-devel
103 pstoedit library header files.
105 %description devel -l pl
106 Pliki nag³ówkowe biblioteki pstoedit.
109 Summary: pstoedit static libraries
110 Summary(pl): Biblioteki statyczne pstoedit
111 Group: Development/Libraries
112 Requires: %{name}-devel = %{version}-%{release}
115 pstoedit static libraries.
117 %description static -l pl
118 Biblioteki statyczne pstoedit.
128 # need to rebuild - supplied libtool is broken (relink and C++)
136 --with-libemf-include=/usr/include/libEMF
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
144 DESTDIR=$RPM_BUILD_ROOT
146 install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
148 cp -af java $RPM_BUILD_ROOT%{_datadir}/pstoedit
149 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
150 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
151 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
160 %defattr(644,root,root,755)
161 %doc doc/{readme.txt,*.htm} java/java1/readme_java1.txt java/java2/readme_java2.html
162 %attr(755,root,root) %{_bindir}/pstoedit
163 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*
164 %dir %{_libdir}/pstoedit
165 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
167 %{_mandir}/man1/pstoedit.1*
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/libpstoedit.so
188 %{_libdir}/libpstoedit.la
189 %{_includedir}/pstoedit
190 %{_pkgconfigdir}/*.pc
194 %defattr(644,root,root,755)
195 %{_libdir}/libpstoedit.a