]> git.pld-linux.org Git - packages/drawtool.git/blob - drawtool.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/drawtool.git] / drawtool.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Simple vector graphics creator (with stdin/out interface)
3 Summary(pl.UTF-8):      Prosty program do grafiki wektorowej (z interfejsem stdin/out)
4 Name:           drawtool
5 Version:        3.2.2
6 Release:        6
7 License:        GPL
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:  imlib-devel
16 BuildRequires:  netpbm-devel
17 BuildRequires:  perl-devel >= 1:5.6.1
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Drawtool is a simple application that reads in simple vector geometry
23 from stdin and displays it in a GTK+ window. Similarly, it will write
24 data onto stdout as generated by click-drag mouse movements. It can
25 output to bitmap files and Postscript. It can be used as a general
26 purpose drawing program, a network whiteboard, a picture viewer or a
27 scrapbook for quickly getting down ideas....
28
29 %description -l pl.UTF-8
30 Drawtool jest prostą aplikacją która wczytuje opis prostej grafiki
31 wektorowej ze standardowego wejścia i wyświetla ją w okienku GTK+.
32 Analogicznie, wypisuje on dane na standardowe wyjście w miarę jak
33 obraz jest generowany za pomocą myszki i użytkownika. Wyjście może też
34 być generowane w formie bitmapy lib Postscriptu. Drawtool może być
35 używany jako wszechstronny program do rysunków, sieciowy "whiteboard",
36 przeglądarka obrazków, notatnik do szybkiego zapisywania pomysłów...
37
38 %package perl
39 Summary:        Perl extensions for drawtool
40 Summary(pl.UTF-8):      Perlowe rozszerzenia dla drawtoola
41 Group:          X11/Applications/Graphics
42
43 %description perl
44 Perl extensions for drawtool: PSDrawtool, SVGDrawtool and perltool.
45
46 %description perl -l pl.UTF-8
47 Perlowe rozszerzenia dla drawtoola: PSDrawtool, SVGDrawtool i
48 perltool.
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
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT \
66         MANDIR=%{_mandir}/man1 \
67         BINDIR=%{_bindir}
68
69 mv -f logo/utils logo-utils
70
71 %clean
72 rm -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.046213 seconds and 3 git commands to generate.