]> git.pld-linux.org Git - packages/pstoedit.git/blame - pstoedit.spec
- release 3
[packages/pstoedit.git] / pstoedit.spec
CommitLineData
cbc0f056 1Summary: Convert PostScript and PDF files into various vector-graphic formats
badfaf18 2Summary(pl.UTF-8): Konwerter PostScriptu i PDF do różnych formatów wektorowych
cbc0f056 3Name: pstoedit
df9d56e1 4Version: 3.50
6b0883a5 5Release: 3
b55c349a 6License: GPL v2+
cbc0f056 7Group: Applications/Graphics
94944e1f 8Source0: http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
df9d56e1 9# Source0-md5: 97d649305ad90fab7a569154f17e0916
96d1cc96 10Patch0: %{name}-opt.patch
df9d56e1
PS
11Patch1: %{name}-link.patch
12Patch2: %{name}-am18.patch
79b6aaa2 13Patch3: ming04.patch
94944e1f 14URL: http://www.helga-glunz.homepage.t-online.de/pstoedit/
df9d56e1 15BuildRequires: ImageMagick-c++-devel
cbc0f056 16BuildRequires: autoconf
96d1cc96 17BuildRequires: automake
ec1391e6 18BuildRequires: bzip2-devel
4986296f 19BuildRequires: ghostscript
7528c9d3 20BuildRequires: libEMF-devel
cbc0f056 21BuildRequires: libplotter-devel >= 2.3
1800675c
JB
22BuildRequires: libpng-devel >= 1.0.8
23BuildRequires: libstdc++-devel >= 3.0
96d1cc96
JB
24BuildRequires: libtool >= 2:1.4d-3
25BuildRequires: ming-devel
4986296f 26BuildRequires: pkgconfig
cbc0f056
JB
27Requires: ghostscript
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31pstoedit converts PostScript and PDF files into a wide variety of
32editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
33Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
34metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
35simplified PostScript, and any format that Ghostscript or the GNU
36plotting utilities can output, such as Tektronix, CGM, and various
37bitmap formats.
38
a4596559
JR
39%description -l pl.UTF-8
40pstoedit konwertuje pliki PostScript i PDF do wielu różnych mniej lub
41bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
cbc0f056
JB
42Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
43metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
a4596559
JR
44uproszczony PostScript i dowolny format jaki mogą zapisywać
45ghostscript lub GNU plotutils - np. Tektronix, CGM, różne formaty
cbc0f056
JB
46rastrowe.
47
b55c349a
JB
48%package devel
49Summary: pstoedit library header files
50Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pstoedit
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
53Requires: libstdc++-devel
54
55%description devel
56pstoedit library header files.
57
58%description devel -l pl.UTF-8
59Pliki nagłówkowe biblioteki pstoedit.
60
61%package static
62Summary: pstoedit static library
63Summary(pl.UTF-8): Statyczna biblioteka pstoedit
64Group: Development/Libraries
65Requires: %{name}-devel = %{version}-%{release}
66
67%description static
68pstoedit static library.
69
70%description static -l pl.UTF-8
71Statyczna biblioteka pstoedit.
72
96d1cc96
JB
73%package drv-lplot
74Summary: lplot plugin for pstoedit library
badfaf18 75Summary(pl.UTF-8): Wtyczka lplot dla biblioteki pstoedit
96d1cc96 76Group: Libraries
f1ef07a7 77Requires: %{name} = %{version}-%{release}
96d1cc96
JB
78
79%description drv-lplot
80lplot plugin for pstoedit library. It uses libplotter library.
81
a4596559
JR
82%description drv-lplot -l pl.UTF-8
83Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
96d1cc96
JB
84
85%package drv-magick
86Summary: magick plugin for pstoedit library
badfaf18 87Summary(pl.UTF-8): Wtyczka magick dla biblioteki pstoedit
96d1cc96 88Group: Libraries
f1ef07a7 89Requires: %{name} = %{version}-%{release}
96d1cc96
JB
90
91%description drv-magick
92magick plugin for pstoedit library. It uses Magick++ library.
93
a4596559
JR
94%description drv-magick -l pl.UTF-8
95Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
96d1cc96
JB
96Magick++.
97
98%package drv-swf
99Summary: swf plugin for pstoedit library
badfaf18 100Summary(pl.UTF-8): Wtyczka swf dla biblioteki pstoedit
96d1cc96 101Group: Libraries
f1ef07a7 102Requires: %{name} = %{version}-%{release}
96d1cc96
JB
103
104%description drv-swf
105swf plugin for pstoedit library. It uses Ming library.
106
a4596559
JR
107%description drv-swf -l pl.UTF-8
108Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
96d1cc96 109
7528c9d3
JB
110%package drv-wmf
111Summary: wmf plugin for pstoedit library
badfaf18 112Summary(pl.UTF-8): Wtyczka wmf dla biblioteki pstoedit
7528c9d3 113Group: Libraries
f1ef07a7 114Requires: %{name} = %{version}-%{release}
7528c9d3
JB
115
116%description drv-wmf
117wmf plugin for pstoedit library. It uses libEMF library.
118
a4596559
JR
119%description drv-wmf -l pl.UTF-8
120Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
7528c9d3 121
cbc0f056 122%prep
96d1cc96 123%setup -q
ec1391e6
TP
124%patch0 -p1
125%patch1 -p1
5e2b0fb5 126%patch2 -p1
79b6aaa2 127%patch3 -p1
cbc0f056
JB
128
129%build
7528c9d3 130# need to rebuild - supplied libtool is broken (relink and C++)
96d1cc96
JB
131%{__libtoolize}
132%{__aclocal}
c1d1f46c 133%{__autoconf}
96d1cc96 134%{__automake}
7528c9d3 135%configure \
4986296f 136 GS=%{_bindir}/gs \
1800675c 137 --enable-static \
df9d56e1 138 --with-magick \
4986296f 139 --with-libemf-include=%{_includedir}/libEMF
df9d56e1 140%{__make} -j1
cbc0f056
JB
141
142%install
143rm -rf $RPM_BUILD_ROOT
96d1cc96
JB
144install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
145
cbc0f056 146%{__make} install \
96d1cc96
JB
147 DESTDIR=$RPM_BUILD_ROOT
148
149install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
96d1cc96 150
df9d56e1 151cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
1800675c
JB
152rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
153 $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
f63c1920 154 $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
cbc0f056 155
cbc0f056 156%clean
f1eb9690 157rm -rf $RPM_BUILD_ROOT
cbc0f056 158
96d1cc96
JB
159%post -p /sbin/ldconfig
160%postun -p /sbin/ldconfig
161
cbc0f056
JB
162%files
163%defattr(644,root,root,755)
df9d56e1 164%doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
7528c9d3 165%attr(755,root,root) %{_bindir}/pstoedit
b55c349a
JB
166%attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
167%attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
96d1cc96
JB
168%dir %{_libdir}/pstoedit
169%attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
cbc0f056 170%{_datadir}/pstoedit
7528c9d3 171%{_mandir}/man1/pstoedit.1*
96d1cc96
JB
172
173%files drv-lplot
174%defattr(644,root,root,755)
175%attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
176
177%files drv-magick
178%defattr(644,root,root,755)
179%attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
180
181%files drv-swf
182%defattr(644,root,root,755)
183%attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
184
7528c9d3
JB
185%files drv-wmf
186%defattr(644,root,root,755)
187%attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
188
96d1cc96
JB
189%files devel
190%defattr(644,root,root,755)
191%attr(755,root,root) %{_libdir}/libpstoedit.so
192%{_libdir}/libpstoedit.la
193%{_includedir}/pstoedit
b55c349a
JB
194%{_pkgconfigdir}/pstoedit.pc
195%{_aclocaldir}/pstoedit.m4
96d1cc96
JB
196
197%files static
198%defattr(644,root,root,755)
199%{_libdir}/libpstoedit.a
This page took 0.104549 seconds and 4 git commands to generate.