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