]> git.pld-linux.org Git - packages/pstoedit.git/blob - pstoedit.spec
- don't try to pull plugins from random places
[packages/pstoedit.git] / pstoedit.spec
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
3 Name:           pstoedit
4 Version:        3.70
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Graphics
8 Source0:        http://downloads.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
9 # Source0-md5:  d3ad4657b4944a8400f7ca76f78cb943
10 Patch0:         pluginsdir.patch
11 URL:            http://www.helga-glunz.homepage.t-online.de/pstoedit/
12 BuildRequires:  ImageMagick-c++-devel
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  gd-devel
16 BuildRequires:  ghostscript
17 BuildRequires:  libEMF-devel
18 BuildRequires:  libplot-devel >= 2.3
19 BuildRequires:  libplotter-devel >= 2.3
20 BuildRequires:  libstdc++-devel >= 5:3.0
21 BuildRequires:  libtool >= 2:1.4d-3
22 BuildRequires:  libzip-devel
23 BuildRequires:  ming-devel
24 BuildRequires:  pkgconfig
25 Requires:       ghostscript
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
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
35 bitmap formats.
36
37 %description -l pl.UTF-8
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
44 rastrowe.
45
46 %package devel
47 Summary:        pstoedit library header files
48 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pstoedit
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Requires:       gd-devel
52 Requires:       libstdc++-devel
53
54 %description devel
55 pstoedit library header files.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki pstoedit.
59
60 %package static
61 Summary:        pstoedit static library
62 Summary(pl.UTF-8):      Statyczna biblioteka pstoedit
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 pstoedit static library.
68
69 %description static -l pl.UTF-8
70 Statyczna biblioteka pstoedit.
71
72 %package drv-lplot
73 Summary:        lplot plugin for pstoedit library
74 Summary(pl.UTF-8):      Wtyczka lplot dla biblioteki pstoedit
75 Group:          Libraries
76 Requires:       %{name} = %{version}-%{release}
77
78 %description drv-lplot
79 lplot plugin for pstoedit library. It uses libplotter library.
80
81 %description drv-lplot -l pl.UTF-8
82 Wtyczka lplot dla biblioteki pstoedit. Używa biblioteki libplotter.
83
84 %package drv-magick
85 Summary:        magick plugin for pstoedit library
86 Summary(pl.UTF-8):      Wtyczka magick dla biblioteki pstoedit
87 Group:          Libraries
88 Requires:       %{name} = %{version}-%{release}
89
90 %description drv-magick
91 magick plugin for pstoedit library. It uses Magick++ library.
92
93 %description drv-magick -l pl.UTF-8
94 Wtyczka magick (libplotter) dla biblioteki pstoedit. Używa biblioteki
95 Magick++.
96
97 %package drv-pptx
98 Summary:        pptx plugin for pstoedit library
99 Summary(pl.UTF-8):      Wtyczka pptx dla biblioteki pstoedit
100 Group:          Libraries
101 Requires:       %{name} = %{version}-%{release}
102
103 %description drv-pptx
104 pptx plugin for pstoedit library. It uses libzip library.
105
106 %description drv-pptx -l pl.UTF-8
107 Wtyczka pptx dla biblioteki pstoedit. Używa biblioteki libzip.
108
109 %package drv-swf
110 Summary:        swf plugin for pstoedit library
111 Summary(pl.UTF-8):      Wtyczka swf dla biblioteki pstoedit
112 Group:          Libraries
113 Requires:       %{name} = %{version}-%{release}
114
115 %description drv-swf
116 swf plugin for pstoedit library. It uses Ming library.
117
118 %description drv-swf -l pl.UTF-8
119 Wtyczka swf dla biblioteki pstoedit. Używa biblioteki Ming.
120
121 %package drv-wmf
122 Summary:        wmf plugin for pstoedit library
123 Summary(pl.UTF-8):      Wtyczka wmf dla biblioteki pstoedit
124 Group:          Libraries
125 Requires:       %{name} = %{version}-%{release}
126
127 %description drv-wmf
128 wmf plugin for pstoedit library. It uses libEMF library.
129
130 %description drv-wmf -l pl.UTF-8
131 Wtyczka wmf dla biblioteki pstoedit. Używa biblioteki libEMF.
132
133 %prep
134 %setup -q
135 %patch0 -p1
136
137 %build
138 %{__libtoolize}
139 %{__aclocal}
140 %{__autoconf}
141 %{__autoheader}
142 %{__automake}
143 export CPPFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
144 export CFLAGS="%{rpmcflags} `pkg-config --cflags libzip`"
145 %configure \
146         GS=%{_bindir}/gs \
147         --enable-static \
148         --with-magick \
149         --with-libemf-include=%{_includedir}/libEMF
150 %{__make} -j1
151
152 %install
153 rm -rf $RPM_BUILD_ROOT
154 #install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
155
156 %{__make} install \
157         DESTDIR=$RPM_BUILD_ROOT
158
159 #install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
160
161 cp -af contrib/java $RPM_BUILD_ROOT%{_datadir}/pstoedit
162 %{__rm} $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
163         $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
164         $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
165
166 %clean
167 rm -rf $RPM_BUILD_ROOT
168
169 %post   -p /sbin/ldconfig
170 %postun -p /sbin/ldconfig
171
172 %files
173 %defattr(644,root,root,755)
174 %doc doc/{readme.txt,*.htm} contrib/java/java1/readme_java1.txt contrib/java/java2/readme_java2.html
175 %attr(755,root,root) %{_bindir}/pstoedit
176 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*.*
177 %attr(755,root,root) %ghost %{_libdir}/libpstoedit.so.0
178 %dir %{_libdir}/pstoedit
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
180 %{_datadir}/pstoedit
181 %{_mandir}/man1/pstoedit.1*
182
183 %files drv-lplot
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
186
187 %files drv-magick
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
190
191 %files drv-pptx
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvpptx.so*
194
195 %files drv-swf
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
198
199 %files drv-wmf
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
202
203 %files devel
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_libdir}/libpstoedit.so
206 %{_libdir}/libpstoedit.la
207 %{_includedir}/pstoedit
208 %{_pkgconfigdir}/pstoedit.pc
209 %{_aclocaldir}/pstoedit.m4
210
211 %files static
212 %defattr(644,root,root,755)
213 %{_libdir}/libpstoedit.a
This page took 0.074201 seconds and 4 git commands to generate.