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