]> git.pld-linux.org Git - packages/perl-Gtk2-Ex-Simple-List.git/blob - perl-Gtk2-Ex-Simple-List.spec
- tests requires perl-Gtk2
[packages/perl-Gtk2-Ex-Simple-List.git] / perl-Gtk2-Ex-Simple-List.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Gtk2
7 %define         pnam    Ex-Simple-List
8 Summary:        A simple interface to Gtk2's complex MVC list widget
9 Summary(pl.UTF-8):      Prosty interfejs do złożonego widgetu listy MVC w Gtk2
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        0.50
12 Release:        4
13 License:        LGPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  f66c71bbb794b699f0c3e8ca7cebc35b
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %{?with_tests:BuildRequires: perl-Gtk2 >= 1.101-2}
20 Requires:       perl-Gtk2 >= 1.101-2
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A simple interface to Gtk2's complex MVC list widget.
26
27 %description -l pl.UTF-8
28 Prosty interfejs do złożonego widgetu listy MVC w Gtk2.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36
37 %{__make}
38
39 %{?with_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} pure_install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %dir %{perl_vendorlib}/Gtk2/Ex/Simple
53 %{perl_vendorlib}/Gtk2/Ex/Simple/List.pm
54 %{perl_vendorlib}/Gtk2/Ex/Simple/TiedCommon.pm
55 %{perl_vendorlib}/Gtk2/Ex/Simple/TiedList.pm
56 %{_mandir}/man3/*
This page took 0.058487 seconds and 3 git commands to generate.