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