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