1 %include /usr/lib/rpm/macros.perl
2 Summary: Simple vector graphics creator (with stdin/out interface)
3 Summary(pl): Prosty program do grafiki wektorowej (z interfejsem stdin/out)
8 Group: X11/Applications/Graphics
9 Source0: http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
10 Patch0: %{name}-makefile.patch
11 URL: http://www.earth.li/projectpurple/progs/drawtool.html
12 BuildRequires: gtk+-devel
13 BuildRequires: netpbm-devel
14 BuildRequires: perl-devel >= 5.6.1
15 BuildRequires: rpm-perlprov >= 3.0.3-16
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _prefix /usr/X11R6
22 Drawtool is a simple application that reads in simple vector geometry
23 from stdin and displays it in a gtk window. Similarly, it will write
24 data onto stdout as generated by click-drag mouse movements. It can
25 output to bitmap files and Postscript. It can be used as a general
26 purpose drawing program, a network whiteboard, a picture viewer or a
27 scrapbook for quickly getting down ideas....
30 Drawtool jest prost± aplikacj± która wczytuje opis prostej grafiki
31 wektorowej ze standardowego wej¶cia i wy¶wietla j± w okienku gtk.
32 Analogicznie, wypisuje on dane na standardowe wyj¶cie w miarê jak
33 obraz jest generowany za pomoc± myszki i u¿ytkownika. Wyj¶cie mo¿e te¿
34 byæ generowane w formie bitmapy lib Postscriptu. Drawtool mo¿e byæ
35 u¿ywany jako wszechstronny program do rysunków, sieciowy "whiteboard",
36 przegl±darka obrazków, notatnik do szybkiego zapisywania pomys³ów...
39 Summary: Perl extensions for drawtool
40 Summary(pl): Perlowe rozszerzenia dla drawtoola
41 Group: X11/Applications/Graphics
44 Perl extensions for drawtool: PSDrawtool, SVGDrawtool and perltool.
46 %description perl -l pl
47 Perlowe rozszerzenia dla drawtoola: PSDrawtool, SVGDrawtool i
55 %{__make} CFLAGS="%{rpmcflags}"
58 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
63 DESTDIR=$RPM_BUILD_ROOT \
64 MANDIR=%{_mandir}/man1 \
67 mv -f logo/utils logo-utils
69 gzip -9nf TODO README CHANGES
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc docs/drawtool.pdf
79 %attr(755,root,root) %{_bindir}/logo
80 %attr(755,root,root) %{_bindir}/drawtool
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/*.pl