]> git.pld-linux.org Git - packages/pstoedit.git/blob - pstoedit.spec
- updated to 3.44
[packages/pstoedit.git] / pstoedit.spec
1 Summary:        Convert PostScript and PDF files into various vector-graphic formats
2 Summary(pl):    Konwerter PostScriptu i PDF do ró¿nych formatów wektorowych
3 Name:           pstoedit
4 Version:        3.44
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
9 # Source0-md5:  13f24cb070da3f6af82ed84f4e53f049
10 Patch0:         %{name}-opt.patch
11 Patch1:         %{name}-no_pedantic.patch
12 Patch2:         %{name}-link.patch
13 Patch3:         %{name}-am18.patch
14 URL:            http://www.helga-glunz.homepage.t-online.de/pstoedit/
15 BuildRequires:  GraphicsMagick-c++-devel >= 1.0.6
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bzip2-devel
19 BuildRequires:  libEMF-devel
20 BuildRequires:  libplotter-devel >= 2.3
21 BuildRequires:  libpng-devel >= 1.0.8
22 BuildRequires:  libstdc++-devel >= 3.0
23 BuildRequires:  libtool >= 2:1.4d-3
24 BuildRequires:  ming-devel
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
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 drv-lplot
47 Summary:        lplot plugin for pstoedit library
48 Summary(pl):    Wtyczka lplot dla biblioteki pstoedit
49 Group:          Libraries
50 Requires:       %{name} = %{version}-%{release}
51
52 %description drv-lplot
53 lplot plugin for pstoedit library. It uses libplotter library.
54
55 %description drv-lplot -l pl
56 Wtyczka lplot dla biblioteki pstoedit. U¿ywa biblioteki libplotter.
57
58 %package drv-magick
59 Summary:        magick plugin for pstoedit library
60 Summary(pl):    Wtyczka magick dla biblioteki pstoedit
61 Group:          Libraries
62 Requires:       %{name} = %{version}-%{release}
63
64 %description drv-magick
65 magick plugin for pstoedit library. It uses Magick++ library.
66
67 %description drv-magick -l pl
68 Wtyczka magick (libplotter) dla biblioteki pstoedit. U¿ywa biblioteki
69 Magick++.
70
71 %package drv-swf
72 Summary:        swf plugin for pstoedit library
73 Summary(pl):    Wtyczka swf dla biblioteki pstoedit
74 Group:          Libraries
75 Requires:       %{name} = %{version}-%{release}
76
77 %description drv-swf
78 swf plugin for pstoedit library. It uses Ming library.
79
80 %description drv-swf -l pl
81 Wtyczka swf dla biblioteki pstoedit. U¿ywa biblioteki Ming.
82
83 %package drv-wmf
84 Summary:        wmf plugin for pstoedit library
85 Summary(pl):    Wtyczka wmf dla biblioteki pstoedit
86 Group:          Libraries
87 Requires:       %{name} = %{version}-%{release}
88
89 %description drv-wmf
90 wmf plugin for pstoedit library. It uses libEMF library.
91
92 %description drv-wmf -l pl
93 Wtyczka wmf dla biblioteki pstoedit. U¿ywa biblioteki libEMF.
94
95 %package devel
96 Summary:        pstoedit library header files
97 Summary(pl):    Pliki nag³ówkowe biblioteki pstoedit
98 Group:          Development/Libraries
99 Requires:       %{name} = %{version}-%{release}
100 Requires:       libstdc++-devel
101
102 %description devel
103 pstoedit library header files.
104
105 %description devel -l pl
106 Pliki nag³ówkowe biblioteki pstoedit.
107
108 %package static
109 Summary:        pstoedit static libraries
110 Summary(pl):    Biblioteki statyczne pstoedit
111 Group:          Development/Libraries
112 Requires:       %{name}-devel = %{version}-%{release}
113
114 %description static
115 pstoedit static libraries.
116
117 %description static -l pl
118 Biblioteki statyczne pstoedit.
119
120 %prep
121 %setup -q
122 %patch0 -p1
123 %patch1 -p1
124 %patch2 -p1
125 %patch3 -p1
126
127 %build
128 # need to rebuild - supplied libtool is broken (relink and C++)
129 %{__libtoolize}
130 %{__aclocal}
131 %{__autoconf}
132 %{__automake}
133 %configure \
134         GS=/usr/bin/gs \
135         --enable-static \
136         --with-libemf-include=/usr/include/libEMF
137 %{__make}
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
142
143 %{__make} install \
144         DESTDIR=$RPM_BUILD_ROOT
145
146 install doc/pstoedit.1 $RPM_BUILD_ROOT%{_mandir}/man1
147
148 cp -af java $RPM_BUILD_ROOT%{_datadir}/pstoedit
149 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/{readme*,Makefile*} \
150         $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/Makefile* \
151         $RPM_BUILD_ROOT%{_libdir}/pstoedit/lib*.{la,a}
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %post   -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
158
159 %files
160 %defattr(644,root,root,755)
161 %doc doc/{readme.txt,*.htm} java/java1/readme_java1.txt java/java2/readme_java2.html
162 %attr(755,root,root) %{_bindir}/pstoedit
163 %attr(755,root,root) %{_libdir}/libpstoedit.so.*.*
164 %dir %{_libdir}/pstoedit
165 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvstd.so*
166 %{_datadir}/pstoedit
167 %{_mandir}/man1/pstoedit.1*
168
169 %files drv-lplot
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvlplot.so*
172
173 %files drv-magick
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvmagick++.so*
176
177 %files drv-swf
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvswf.so*
180
181 %files drv-wmf
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_libdir}/pstoedit/libp2edrvwmf.so*
184
185 %files devel
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/libpstoedit.so
188 %{_libdir}/libpstoedit.la
189 %{_includedir}/pstoedit
190 %{_pkgconfigdir}/*.pc
191 %{_aclocaldir}/*.m4
192
193 %files static
194 %defattr(644,root,root,755)
195 %{_libdir}/libpstoedit.a
This page took 0.08097 seconds and 4 git commands to generate.