]> git.pld-linux.org Git - packages/drawtool.git/blame_incremental - drawtool.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/drawtool.git] / drawtool.spec
... / ...
CommitLineData
1%include /usr/lib/rpm/macros.perl
2Summary: Simple vector graphics creator (with stdin/out interface)
3Summary(pl.UTF-8): Prosty program do grafiki wektorowej (z interfejsem stdin/out)
4Name: drawtool
5Version: 3.2.2
6Release: 6
7License: GPL
8Group: X11/Applications/Graphics
9Source0: http://www.earth.li/projectpurple/files/%{name}-%{version}.tar.gz
10# Source0-md5: 97ffd36c555d67f58fa50615afc28772
11Patch0: %{name}-makefile.patch
12Patch1: %{name}-build.patch
13URL: http://www.earth.li/projectpurple/progs/drawtool.html
14BuildRequires: gtk+-devel
15BuildRequires: imlib-devel
16BuildRequires: netpbm-devel
17BuildRequires: perl-devel >= 1:5.6.1
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Drawtool is a simple application that reads in simple vector geometry
23from stdin and displays it in a GTK+ window. Similarly, it will write
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
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...
37
38%package perl
39Summary: Perl extensions for drawtool
40Summary(pl.UTF-8): Perlowe rozszerzenia dla drawtoola
41Group: X11/Applications/Graphics
42
43%description perl
44Perl extensions for drawtool: PSDrawtool, SVGDrawtool and perltool.
45
46%description perl -l pl.UTF-8
47Perlowe rozszerzenia dla drawtoola: PSDrawtool, SVGDrawtool i
48perltool.
49
50%prep
51%setup -q
52%patch0 -p1
53%patch1 -p1
54
55%build
56%{__make} \
57 CC="%{__cc}" \
58 CFLAGS="%{rpmcflags}"
59
60%install
61rm -rf $RPM_BUILD_ROOT
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
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%doc TODO README CHANGES docs/drawtool.pdf utils logo-utils
77%attr(755,root,root) %{_bindir}/logo
78%attr(755,root,root) %{_bindir}/drawtool
79%{_mandir}/man*/*
80
81%files perl
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_bindir}/*.pl
This page took 0.052329 seconds and 4 git commands to generate.