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: b60941dd2c9e806cf4fa183a23e9c6f5
10 URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
11 BuildRequires: ImageMagick-c++-devel
12 BuildRequires: autoconf >= 2.50
13 BuildRequires: automake
14 BuildRequires: gd-devel
15 BuildRequires: ghostscript
16 BuildRequires: libEMF-devel
17 BuildRequires: libplotter-devel >= 2.3
18 BuildRequires: libpng-devel >= 1.0.8
19 BuildRequires: libstdc++-devel >= 5:3.0
20 BuildRequires: libtool >= 2:1.4d-3
21 BuildRequires: ming-devel
22 BuildRequires: pkgconfig
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 pstoedit converts PostScript and PDF files into a wide variety of
28 editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
29 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
30 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
31 simplified PostScript, and any format that Ghostscript or the GNU
32 plotting utilities can output, such as Tektronix, CGM, and various
35 %description -l pl.UTF-8
36 pstoedit konwertuje pliki PostScript i PDF do wielu różnych mniej lub
37 bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
38 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
39 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
40 uproszczony PostScript i dowolny format jaki mogą zapisywać
41 ghostscript lub GNU plotutils - np. Tektronix, CGM, różne formaty
45 Summary: pstoedit library header files
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pstoedit
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
50 Requires: libstdc++-devel
53 pstoedit library header files.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki pstoedit.
59 Summary: pstoedit static library
60 Summary(pl.UTF-8): Statyczna biblioteka pstoedit
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
65 pstoedit static library.
67 %description static -l pl.UTF-8
68 Statyczna biblioteka pstoedit.
71 Summary: lplot plugin for pstoedit library
72 Summary(pl.UTF-8): Wtyczka lplot dla biblioteki pstoedit
74 Requires: %{name} = %{version}-%{release}
76 %description drv-lplot
77 lplot plugin for pstoedit library. It uses libplotter library.
79 %description drv-lplot -l pl.UTF-8
80 Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
83 Summary: magick plugin for pstoedit library
84 Summary(pl.UTF-8): Wtyczka magick dla biblioteki pstoedit
86 Requires: %{name} = %{version}-%{release}
88 %description drv-magick
89 magick plugin for pstoedit library. It uses Magick++ library.
91 %description drv-magick -l pl.UTF-8
92 Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
96 Summary: swf plugin for pstoedit library
97 Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
99 Requires: %{name} = %{version}-%{release}
102 swf plugin for pstoedit library. It uses Ming library.
104 %description drv-swf -l pl.UTF-8
105 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
108 Summary: wmf plugin for pstoedit library
109 Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
111 Requires: %{name} = %{version}-%{release}
114 wmf plugin for pstoedit library. It uses libEMF library.
116 %description drv-wmf -l pl.UTF-8
117 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
132 --with-libemf-include=%{_includedir}/libEMF
136 rm -rf $RPM_BUILD_ROOT
137 #install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
140 DESTDIR=$RPM_BUILD_ROOT
142 #install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
144 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
145 %{__rm} $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
146 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
147 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
150 rm -rf $RPM_BUILD_ROOT
152 %post -p /sbin/ldconfig
153 %postun -p /sbin/ldconfig
156 %defattr(644,root,root,755)
157 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
158 %attr(755,root,root) %{_bindir}/pstoedit
159 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
160 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
161 %dir %{_libdir}/pstoedit
162 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
164 %{_mandir}/man1/pstoedit.1*
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
179 %defattr(644,root,root,755)
180 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libpstoedit.so
185 %{_libdir}/libpstoedit.la
186 %{_includedir}/pstoedit
187 %{_pkgconfigdir}/pstoedit.pc
188 %{_aclocaldir}/pstoedit.m4
191 %defattr(644,root,root,755)
192 %{_libdir}/libpstoedit.a