]> git.pld-linux.org Git - packages/perl-Gtk2-Ex-PodViewer.git/blob - perl-Gtk2-Ex-PodViewer.spec
fe1e7e39cad9200038f7b35189c29474a72d1c11
[packages/perl-Gtk2-Ex-PodViewer.git] / perl-Gtk2-Ex-PodViewer.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-PodViewer
8 Summary:        A Gtk2 widget for displaying Plain old Documentation (POD)
9 Summary(pl.UTF-8):      Widget Gtk2 do wyświetlania plików POD (Plain old Documentation)
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        0.14
12 Release:        1
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  52382ca50ccbb47080275a9ac1590a71
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 Requires:       perl-Gtk2 >= 1.101-2
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A Gtk2 widget for displaying Plain old Documentation (POD).
26
27 %description -l pl.UTF-8
28 Widget Gtk2 do wyświetlania plików POD (Plain old Documentation).
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 %doc README
53 %attr(755,root,root) %{_bindir}/podviewer
54 %{perl_vendorlib}/Gtk2/Ex/PodViewer.pm
55 %dir %{perl_vendorlib}/Gtk2/Ex/PodViewer
56 %{perl_vendorlib}/Gtk2/Ex/PodViewer/Parser.pm
57 %{_mandir}/man[13]/*
This page took 0.044158 seconds and 2 git commands to generate.