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