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