]> git.pld-linux.org Git - packages/pstoedit.git/commitdiff
- new: PS/PDF-to-other-formats converter; based on spec from Mandrake
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 30 Oct 2001 13:17:09 +0000 (13:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pstoedit.spec -> 1.1

pstoedit.spec [new file with mode: 0644]

diff --git a/pstoedit.spec b/pstoedit.spec
new file mode 100644 (file)
index 0000000..09f78ec
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:       Convert PostScript and PDF files into various vector-graphic formats
+Summary(pl):   Konwerter PostScriptu i PDF do ró¿nych formatów wektorowych
+Name:          pstoedit
+Version:       3.30
+Release:       1
+License:       GPL
+Group:         Applications/Graphics
+Group(de):     Applikationen/Grafik
+Group(pl):     Aplikacje/Grafika
+Group(pt):     Aplicações/Gráficos
+Source0:       http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/%{name}_3_30.zip
+URL:           http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
+BuildRequires: unzip
+BuildRequires: autoconf
+BuildRequires: libstdc++-devel
+BuildRequires: libpng-devel
+BuildRequires: libplotter-devel >= 2.3
+Requires:      ghostscript
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+pstoedit converts PostScript and PDF files into a wide variety of
+editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
+Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
+metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
+simplified PostScript, and any format that Ghostscript or the GNU
+plotting utilities can output, such as Tektronix, CGM, and various
+bitmap formats.
+
+%description -l pl
+pstoedit konwertuje pliki PostScript i PDF do wielu ró¿nych mniej lub
+bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
+Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
+metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
+uproszczony PostScript i dowolny format jaki mog± zapisywaæ
+ghostscript lub GNU plotutils - np. Tektronix, CGM, ró¿ne formaty
+rastrowe.
+
+%prep
+%setup -q -n %{name}_%{version}
+
+%build
+(cd config
+autoconf
+%configure --libdir=%{_datadir}/pstoedit
+)
+(cd src
+cat Makefile | sed 's/-g -O2/%{rpmcflags}}/g' > Makefile.tmp
+mv -f Makefile.tmp Makefile
+%{__make}
+)
+
+%install
+rm -rf $RPM_BUILD_ROOT
+(cd src
+%{__make} install \
+       bindir=$RPM_BUILD_ROOT%{_bindir} \
+       libdir=$RPM_BUILD_ROOT%{_datadir}/pstoedit \
+       mandir=$RPM_BUILD_ROOT%{_mandir}
+)
+cp -af java $RPM_BUILD_ROOT%{_datadir}/pstoedit
+rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/readme*
+cp -af misc/* $RPM_BUILD_ROOT%{_datadir}/pstoedit
+
+gzip -9nf readme.txt java/java1/readme_java1.txt
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz java/java1/*.gz *.htm java/java2/readme_java2.html
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/pstoedit
+%{_mandir}/man1/*
This page took 0.053221 seconds and 4 git commands to generate.