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