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 # Source0-md5: 97ffd36c555d67f58fa50615afc28772
11 Patch0: %{name}-makefile.patch
12 Patch1: %{name}-build.patch
13 URL: http://www.earth.li/projectpurple/progs/drawtool.html
14 BuildRequires: gtk+-devel
15 BuildRequires: netpbm-devel
16 BuildRequires: perl-devel >= 1:5.6.1
17 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Drawtool is a simple application that reads in simple vector geometry
22 from stdin and displays it in a gtk window. Similarly, it will write
23 data onto stdout as generated by click-drag mouse movements. It can
24 output to bitmap files and Postscript. It can be used as a general
25 purpose drawing program, a network whiteboard, a picture viewer or a
26 scrapbook for quickly getting down ideas....
29 Drawtool jest prost± aplikacj± która wczytuje opis prostej grafiki
30 wektorowej ze standardowego wej¶cia i wy¶wietla j± w okienku gtk.
31 Analogicznie, wypisuje on dane na standardowe wyj¶cie w miarê jak
32 obraz jest generowany za pomoc± myszki i u¿ytkownika. Wyj¶cie mo¿e te¿
33 byæ generowane w formie bitmapy lib Postscriptu. Drawtool mo¿e byæ
34 u¿ywany jako wszechstronny program do rysunków, sieciowy "whiteboard",
35 przegl±darka obrazków, notatnik do szybkiego zapisywania pomys³ów...
38 Summary: Perl extensions for drawtool
39 Summary(pl): Perlowe rozszerzenia dla drawtoola
40 Group: X11/Applications/Graphics
43 Perl extensions for drawtool: PSDrawtool, SVGDrawtool and perltool.
45 %description perl -l pl
46 Perlowe rozszerzenia dla drawtoola: PSDrawtool, SVGDrawtool i
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
64 DESTDIR=$RPM_BUILD_ROOT \
65 MANDIR=%{_mandir}/man1 \
68 mv -f logo/utils logo-utils
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc TODO README CHANGES docs/drawtool.pdf utils logo-utils
76 %attr(755,root,root) %{_bindir}/logo
77 %attr(755,root,root) %{_bindir}/drawtool
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*.pl