source: projects/specs/trunk/p/pstoedit/pstoedit-vl.spec @ 12405

Revision 12405, 9.6 KB checked in by tomop, 4 years ago (diff)

updated 9 packages

enca-1.19-1

freetype2-2.10.2-1

id3lib-3.8.3-5

libass-0.14.0-1

libemf-1.0.12-1

libexif-0.6.21-3

libtheora-1.1.1-5

libvdpau-1.4-1

pstoedit-3.75-1

Line 
1Name:            pstoedit
2Summary:         Translator of PostScript and PDF graphics into various vector formats
3Summary(ja):     ポストスクリプトやPDFを多種多様なベクタ形式に変換
4Version:         3.75
5Release:         1%{?_dist_release}
6Group:           Applications/Graphics
7Vendor:          Project Vine
8Distribution:    Vine Linux
9
10License:         GPLv2
11URL:             http://www.calvina.de/pstoedit/
12Source0:         https://prdownloads.sourceforge.net/pstoedit/%{name}-%{version}.tar.gz
13#Source1:         http://www.helga-glunz.homepage.t-online.de/plugins/plugins_linux_350.tgz
14
15BuildRoot:       %{_tmppath}/%{name}-%{version}-root
16BuildRequires:   libemf-devel libpng-devel gd-devel
17BuildRequires:   ImageMagick-c++-devel zlib-devel
18BuildRequires:   ghostscript
19BuildRequires:   libtool sed
20
21%description
22pstoedit translates PostScript and PDF graphics into other vector
23formats. Currently pstoedit can generate the following formats:
24    * Tgif .obj format (for tgif version >= 3)
25    * .fig format for xfig
26    * pdf - Adobe's Portable Document Format
27    * gnuplot format
28    * Flattened PostScript (with or without Bezier curves)
29    * DXF - CAD exchange format
30    * LWO - LightWave 3D
31    * RIB - RenderMan
32    * RPL - Real3D
33    * Java 1 or Java 2 applet
34    * Idraw format (in fact a special form of EPS that idraw can read)
35    * Tcl/Tk
36    * HPGL
37    * AI (Adobe Illustrator) (based on ps2ai.ps - not a real pstoedit driver - see notes below and manual)
38    * Windows Meta Files (WMF) (Windows 9x/NT only)
39    * Enhanced Windows Meta Files (EMF) (Windows 9x/NT only)
40    * OS/2 meta files (OS/2 only)
41    * PIC format for troff/groff
42    * MetaPost format for usage with TeX/LaTeX
43    * LaTeX2e picture
44    * Kontour
45    * GNU Metafile (plotutils / libplot)
46    * Sketch ( http://sketch.sourceforge.net )
47    * Mathematica
48    * via ImageMagick to any format supported by ImageMagick
49    * SWF (beta release state - still lot's of features missing (fonts, dash handling, ...)
50
51%description -l ja
52pstoeditはポストスクリプトやPDFを多種多様なベクタ形式に変換します。サ
53ポートしている出力ファイル形式は下記の通りです。
54    *  Tgif .obj format (for tgif version >= 3)
55    * .fig format for xfig
56    * pdf - Adobe's Portable Document Format
57    * gnuplot format
58    * Flattened PostScript (with or without Bezier curves)
59    * DXF - CAD exchange format
60    * LWO - LightWave 3D
61    * RIB - RenderMan
62    * RPL - Real3D
63    * Java 1 or Java 2 applet
64    * Idraw format (in fact a special form of EPS that idraw can read)
65    * Tcl/Tk
66    * HPGL
67    * AI (Adobe Illustrator) (based on ps2ai.ps - not a real pstoedit driver - see notes below and manual)
68    * Windows Meta Files (WMF) (Windows 9x/NT only)
69    * Enhanced Windows Meta Files (EMF) (Windows 9x/NT only)
70    * OS/2 meta files (OS/2 only)
71    * PIC format for troff/groff
72    * MetaPost format for usage with TeX/LaTeX
73    * LaTeX2e picture
74    * Kontour
75    * GNU Metafile (plotutils / libplot)
76    * Sketch ( http://sketch.sourceforge.net )
77    * Mathematica
78    * via ImageMagick to any format supported by ImageMagick
79    * SWF (beta release state - still lot's of features missing (fonts, dash handling, ...)
80
81%package        devel
82Summary:        pstoedit C Library developer.
83Summary(ja):    pstoedit 開発ライブラリ
84Group:          Development/Libraries
85URL:            http://www.pstoedit.net/pstoedit
86Requires:       pstoedit = %{version}-%{release}
87Requires:       libpng-devel libstdc++-devel zlib-devel
88
89%description devel
90pstoedit library
91
92%description -l ja devel
93pstoedit 開発ライブラリ
94
95%prep
96%setup -q
97 %{__perl} -p -i -e 's|BINDIR=/usr/local/bin||' autogen.sh
98
99%build
100autoreconf -fiv
101#./autogen.sh
102#libtoolize -c -f
103
104# needed because of definitions in imagemagick headers that break with -pedantic
105sed -ie 's/-pedantic//' configure
106
107%configure  \
108    --disable-static \
109    --without-swf \
110    --with-emf \
111    --with-libemf-lib=%{_libdir} \
112    --with-libemf-include=%{_includedir}/libEMF
113
114# don't use _smp_mflags
115%{__make}
116
117%install
118rm -rf $RPM_BUILD_ROOT
119
120%makeinstall
121#ifarch %{ix86}
122#{__install} -m 755 plugins_linux_350.so %{buildroot}%{_libdir}/%{name}
123#endif
124
125%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1
126%{__install} -m 644 doc/%{name}.1  %{buildroot}%{_mandir}/man1
127
128%{__mkdir_p} $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d
129echo "%{_libdir}/%{name}" > $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf.d/pstoedit.conf
130
131rm -rf %{buildroot}%{_docdir}/%{name}
132
133# %{__mkdir_p} %{buildroot}%{_bindir}
134# %{__install} -c config/pstoedit-config %{buildroot}%{_bindir}
135# %{__mkdir_p} %{buildroot}%{_datadir}
136# %{__install} -c -m 644 config/pstoedit.m4  %{buildroot}%{_datadir}/aclocal
137# %{__mkdir_p} %{buildroot}%{_datadir}/pstoedit/swffonts
138# %{__install} -c -m 644 misc/swffonts/default.fdb %{buildroot}%{_datadir}/pstoedit/swffonts
139# %{__install} -c -m 644 misc/latex2e.fmp %{buildroot}%{_datadir}/pstoedit
140# %{__install} -c -m 644 misc/mpost.fmp %{buildroot}%{_datadir}/pstoedit
141# %{__install} -c -m 644 misc/safer.ps %{buildroot}%{_datadir}/pstoedit
142# %{__install} -c -m 644 misc/svg.fmp %{buildroot}%{_datadir}/pstoedit
143# %{__install} -c -m 644 misc/wemf.fmp %{buildroot}%{_datadir}/pstoedit
144# %{__install} -c -m 644 misc/examplefigmap.fmp %{buildroot}%{_datadir}/pstoedit
145# ./libtool --mode=install %{__install} -c  src/libpstoedit.la  %{buildroot}%{_libdir}
146# ./libtool --mode=install %{__install} -c  src/pstoedit  %{buildroot}%{_bindir}
147# %{__mkdir_p} %{buildroot}%{_libdir}/pstoedit
148# ./libtool --mode=install %{__install} -c  src/libp2edrvstd.la   %{buildroot}%{_libdir}/pstoedit
149# ./libtool --mode=install %{__install} -c  src/libp2edrvmagick++.la  -inst-prefix %{buildroot} %{buildroot}%{_libdir}/pstoedit
150# %{__install} -c -m 644 src/pstoedit.h  %{buildroot}%{_prefix}/include/pstoedit
151# %{__install} -c -m 644 src/pstoedll.h  %{buildroot}%{_prefix}/include/pstoedit
152# %{__install} -c -m 644 src/pstoeditoutputlib.h  %{buildroot}%{_prefix}/include/pstoedit
153# %{__install} -c -m 644 src/pstoeditoptions.h  %{buildroot}%{_prefix}/include/pstoedit
154# %{__install} -c -m 644 src/pstoeditoptions.h  %{buildroot}%{_prefix}/include/pstoedit
155# %{__install} -c -m 644 src/cppcomp.h  %{buildroot}%{_prefix}/include/pstoedit
156# %{__install} -c -m 644 src/drvbase.h  %{buildroot}%{_prefix}/include/pstoedit
157# %{__install} -c -m 644 src/drvfuncs.h  %{buildroot}%{_prefix}/include/pstoedit
158# %{__install} -c -m 644 src/miscutil.h  %{buildroot}%{_prefix}/include/pstoedit
159# %{__install} -c -m 644 src/base64writer.h  %{buildroot}%{_prefix}/include/pstoedit
160# %{__install} -c -m 644 src/poptions.h  %{buildroot}%{_prefix}/include/pstoedit
161# %{__install} -c -m 644 src/ordlist.h  %{buildroot}%{_prefix}/include/pstoedit
162# %{__install} -c -m 644 src/psimage.h  %{buildroot}%{_prefix}/include/pstoedit
163#
164# %{__install} -m 775 lib/pstoedit/plugins_linux.so %{buildroot}%{_libdir}/pstoedit
165# for i in %{buildroot}%{_libdir}/*.la %{buildroot}%{_libdir}/pstoedit/*.la
166#  do cp -p $i $i~
167#  sed s:%{buildroot}::g <$i~ >$i
168#  rm $i~
169# done
170#
171
172
173%clean
174rm -rf $RPM_BUILD_ROOT
175
176
177%post -p /sbin/ldconfig
178
179%postun -p /sbin/ldconfig
180
181
182%files
183%defattr(-,root,root)
184%license copying
185%doc doc/*.htm doc/*.pdf doc/*.txt
186%{_sysconfdir}/ld.so.conf.d/%{name}.conf
187%{_bindir}/pstoedit
188%{_libdir}/*.so.*
189%dir %{_libdir}/pstoedit
190%{_libdir}/%{name}/*.so
191%{_libdir}/%{name}/*.so.*
192%{_datadir}/%{name}
193%{_mandir}/*/*
194
195%files devel
196%defattr(-,root,root)
197%{_libdir}/*.so
198%{_includedir}/pstoedit/*
199%{_libdir}/pkgconfig/*.pc
200%{_datadir}/aclocal/*
201%exclude %{_libdir}/*.la
202%exclude %{_libdir}/pstoedit/*.la
203
204
205%changelog
206* Sun May 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.75-1
207- new upstream release.
208
209* Sun Oct 27 2019 Toshiaki Ara <ara_t@384.jp> 3.60-7
210- rebuild under current VineSeed environment
211
212* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 3.60-6
213- rebuild with gcc-5.4.0
214
215* Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.60-5
216- rebuild with ImageMagick-6.9.1.4
217
218* Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.60-4
219- rebuild with ImageMagick-6.8.9.5
220
221* Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.60-3
222- rebuild with ImageMagick-6.8.7.5
223
224* Wed Aug 14 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.60-2
225- rebuild with ImageMagick-6.8.6.8
226
227* Sun Mar 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.60-1
228- update to 3.60
229- add BuildRequires: ghostscript
230
231* Sat Oct  2 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.50-3
232- rebuilt with ImageMagick-6.6.4.8
233
234* Thu Sep 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.50-2
235- rebuilt with rpm-4.8.1 for pkg-config
236
237* Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.50-1
238- new upstream release
239- built with new toolchain and ImageMagick-6.6.1.5
240- used ld.so.conf.d instead of ld.so.conf
241
242* Sun Jun 14 2009 Shu KONNO <owa@bg.wakwak.com> 3.45-1
243- applied new versioning policy, and spec in utf-8
244- update pstoedit to 3.45
245- added --disable-static option to %%configure
246- added --without-swf option, because of fail to compile
247
248* Fri Oct 13 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.44-0vl2
249- install plugins_linux.3.42.so only on ix86 archs
250  (what should we do with the intel binary file on other archs, huh?)
251
252* Thu Aug 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.44-0vl1
253- rebuilt for VineSeed (4.0)
254- updated to 3.44
255- fixed build dependancy
256
257* Wed Sep 28 2005 Susumu Tanimura <stanimura-ngs@umin.ac.jp>
258- Updated to 3.42
259
260* Tue Jan 11 2005 Susumu Tanimura  <stanimura-ngs@umin.ac.jp>
261- Updated to 3.40
262
263* Fri Sep 24 2004 Susumu Tanimura  <stanimura-ngs@umin.ac.jp>
264- Added plugins
265- Disable emf support
266
267* Wed Sep 22 2004 Susumu Tanimura  <stanimura-ngs@umin.ac.jp>
268- Added buildrequires
269
270* Thu Oct  2 2003  Susumu Tanimura  <stanimura-ngs@umin.ac.jp>
271- initial package
Note: See TracBrowser for help on using the repository browser.