]> git.pld-linux.org Git - packages/drawtool.git/blame - drawtool.spec
- converted to UTF-8
[packages/drawtool.git] / drawtool.spec
CommitLineData
96722fc8 1%include /usr/lib/rpm/macros.perl
b30e6110 2Summary: Simple vector graphics creator (with stdin/out interface)
4e097a23 3Summary(pl.UTF-8): Prosty program do grafiki wektorowej (z interfejsem stdin/out)
b30e6110 4Name: drawtool
b30e6110 5Version: 3.2.2
7b810559 6Release: 6
b30e6110 7License: GPL
d5a977a3 8Group: X11/Applications/Graphics
b30e6110 9Source0: http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
cf75a2e9 10# Source0-md5: 97ffd36c555d67f58fa50615afc28772
b30e6110 11Patch0: %{name}-makefile.patch
032d1d30 12Patch1: %{name}-build.patch
b30e6110 13URL: http://www.earth.li/projectpurple/progs/drawtool.html
b30e6110 14BuildRequires: gtk+-devel
3f6f84c8 15BuildRequires: imlib-devel
d5a977a3 16BuildRequires: netpbm-devel
7b810559 17BuildRequires: perl-devel >= 1:5.6.1
18BuildRequires: rpm-perlprov >= 4.1-13
b30e6110
SZ
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
b30e6110
SZ
21%description
22Drawtool is a simple application that reads in simple vector geometry
af8f88bc 23from stdin and displays it in a GTK+ window. Similarly, it will write
b30e6110
SZ
24data onto stdout as generated by click-drag mouse movements. It can
25output to bitmap files and Postscript. It can be used as a general
26purpose drawing program, a network whiteboard, a picture viewer or a
27scrapbook for quickly getting down ideas....
28
4e097a23
JR
29%description -l pl.UTF-8
30Drawtool jest prostą aplikacją która wczytuje opis prostej grafiki
31wektorowej ze standardowego wejścia i wyświetla ją w okienku GTK+.
32Analogicznie, wypisuje on dane na standardowe wyjście w miarę jak
33obraz jest generowany za pomocą myszki i użytkownika. Wyjście może też
34być generowane w formie bitmapy lib Postscriptu. Drawtool może być
35używany jako wszechstronny program do rysunków, sieciowy "whiteboard",
36przeglądarka obrazków, notatnik do szybkiego zapisywania pomysłów...
b30e6110
SZ
37
38%package perl
39Summary: Perl extensions for drawtool
4e097a23 40Summary(pl.UTF-8): Perlowe rozszerzenia dla drawtoola
b30e6110 41Group: X11/Applications/Graphics
b30e6110
SZ
42
43%description perl
3abf3e33 44Perl extensions for drawtool: PSDrawtool, SVGDrawtool and perltool.
b30e6110 45
4e097a23 46%description perl -l pl.UTF-8
3abf3e33 47Perlowe rozszerzenia dla drawtoola: PSDrawtool, SVGDrawtool i
48perltool.
b30e6110
SZ
49
50%prep
51%setup -q
52%patch0 -p1
032d1d30 53%patch1 -p1
b30e6110
SZ
54
55%build
032d1d30
JB
56%{__make} \
57 CC="%{__cc}" \
58 CFLAGS="%{rpmcflags}"
b30e6110
SZ
59
60%install
61rm -rf $RPM_BUILD_ROOT
b30e6110
SZ
62install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT \
66 MANDIR=%{_mandir}/man1 \
67 BINDIR=%{_bindir}
68
69mv -f logo/utils logo-utils
70
b30e6110
SZ
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
032d1d30 76%doc TODO README CHANGES docs/drawtool.pdf utils logo-utils
b30e6110
SZ
77%attr(755,root,root) %{_bindir}/logo
78%attr(755,root,root) %{_bindir}/drawtool
796907b8 79%{_mandir}/man*/*
b30e6110
SZ
80
81%files perl
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_bindir}/*.pl
This page took 0.0533400000000001 seconds and 4 git commands to generate.