]> git.pld-linux.org Git - packages/pstoedit.git/blob - pstoedit.spec
- removed all Group fields translations (oure rpm now can handle translating
[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.30
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/%{name}_3_30.zip
9 URL:            http://home.t-online.de/home/helga.glunz/wglunz/pstoedit/
10 BuildRequires:  unzip
11 BuildRequires:  autoconf
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  libpng-devel
14 BuildRequires:  libplotter-devel >= 2.3
15 Requires:       ghostscript
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 pstoedit converts PostScript and PDF files into a wide variety of
20 editable (and not-so-editable) formats: gnuplot, idraw, xfig, tgif,
21 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
22 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
23 simplified PostScript, and any format that Ghostscript or the GNU
24 plotting utilities can output, such as Tektronix, CGM, and various
25 bitmap formats.
26
27 %description -l pl
28 pstoedit konwertuje pliki PostScript i PDF do wielu ró¿nych mniej lub
29 bardziej zdatnych do edycji formatów: gnuplot, idraw, xfig, tgif,
30 Tcl/Tk, HPGL, PIC, LaTeX2e, MetaPost, Sketch, KIllustrator, PDF, GNU
31 metafile, Java, DXF, Real3D, RenderMan, LightWave, Adobe Illustrator,
32 uproszczony PostScript i dowolny format jaki mog± zapisywaæ
33 ghostscript lub GNU plotutils - np. Tektronix, CGM, ró¿ne formaty
34 rastrowe.
35
36 %prep
37 %setup -q -n %{name}_%{version}
38
39 %build
40 (cd config
41 autoconf
42 %configure --libdir=%{_datadir}/pstoedit
43 )
44 (cd src
45 cat Makefile | sed 's/-g -O2/%{rpmcflags}}/g' > Makefile.tmp
46 mv -f Makefile.tmp Makefile
47 %{__make}
48 )
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 (cd src
53 %{__make} install \
54         bindir=$RPM_BUILD_ROOT%{_bindir} \
55         libdir=$RPM_BUILD_ROOT%{_datadir}/pstoedit \
56         mandir=$RPM_BUILD_ROOT%{_mandir}
57 )
58 cp -af java $RPM_BUILD_ROOT%{_datadir}/pstoedit
59 rm -f $RPM_BUILD_ROOT%{_datadir}/pstoedit/java/*/readme*
60 cp -af misc/* $RPM_BUILD_ROOT%{_datadir}/pstoedit
61
62 gzip -9nf readme.txt java/java1/readme_java1.txt
63
64 %clean
65 rm -rf "$RPM_BUILD_ROOT"
66
67 %files
68 %defattr(644,root,root,755)
69 %doc *.gz java/java1/*.gz *.htm java/java2/readme_java2.html
70 %attr(755,root,root) %{_bindir}/*
71 %{_datadir}/pstoedit
72 %{_mandir}/man1/*
This page took 0.087921 seconds and 4 git commands to generate.