]> git.pld-linux.org Git - packages/perl-Gtk-HandyCList.git/blob - perl-Gtk-HandyCList.spec
use generic url
[packages/perl-Gtk-HandyCList.git] / perl-Gtk-HandyCList.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Gtk
6 %define         pnam    HandyCList
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Gtk::HandyCList - a more Perl-friendly columned list
9 Summary(pl.UTF-8):      Gtk::HandyCList - bardziej przyjazny Perlowi widget listy kolumnowej
10 Name:           perl-Gtk-HandyCList
11 Version:        0.03
12 Release:        1
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  d61e94a7bfede08010b75948123c0e7b
17 URL:            http://search.cpan.org/dist/Gtk-HandyCList/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-gnome
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This is a version of Gtk::CList which takes care of some common things
28 for the programmer. For instance, it keeps track of what's stored in
29 the list, so you don't need to keep a separate array; when the column
30 titles are clicked, the list will be re-sorted according to
31 user-supplied functions or some default rules. It allows you to
32 reference columns by name, instead of by number.
33
34 %description -l pl.UTF-8
35 To jest wersja Gtk::Clist dbająca za programistę o parę powszechnych
36 zachowań. Na przykład śledzi co jest zapisane w liście, więc nie
37 trzeba przechowywać oddzielnej tablicy; po kliknięciu na tytuły lista
38 zostanie przesortowana zgodnie z podanymi funkcjami lub jakimiś
39 domyślnymi regułami. Widget pozwala na odwoływanie się do kolumn po
40 nazwie zamiast po numerze.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes
65 %dir %{perl_vendorlib}/Gtk
66 %{perl_vendorlib}/Gtk/HandyCList.pm
67 %{_mandir}/man3/*
This page took 0.068019 seconds and 3 git commands to generate.