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