]> git.pld-linux.org Git - packages/perl-HTML-Navigation.git/blame - perl-HTML-Navigation.spec
use generic url
[packages/perl-HTML-Navigation.git] / perl-HTML-Navigation.spec
CommitLineData
b65d83aa 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
80022bc7 4
8599e9bb 5%define pdir HTML
6%define pnam Navigation
80022bc7 7%include /usr/lib/rpm/macros.perl
4e614f42 8Summary: HTML::Navigation perl module
b17128dd 9Summary(pl.UTF-8): Moduł perla HTML::Navigation
f5c0fdfb 10Name: perl-HTML-Navigation
7c8c381e 11Version: 0.26
9fd3e7fa 12Release: 6
ba49efc7 13# same as perl
14License: GPL v1+ or Artistic
7c8c381e 15Group: Development/Languages/Perl
92c6bd2e 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
2449af31 17# Source0-md5: 92e06c381bcf256674d120a5990dd94e
80022bc7 18URL: http://search.cpan.org/dist/HTML-Navigation/
3fe949a2 19BuildRequires: perl-devel >= 1:5.8.0
80022bc7 20BuildRequires: rpm-perlprov >= 4.1-13
7c8c381e 21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25HTML::Navigation is Perl module for creating navigation bars/menus of
26arbitrary design and structure within HTML documents.
27
76f8a32c
JR
28%description -l pl.UTF-8
29HTML::Navigation to moduł Perla do tworzeni nawigacyjnych pasków i
30menu o dowolnym wyglądzie i strukturze w dokumentach HTML.
d1df3ed0 31
7c8c381e 32%prep
92c6bd2e 33%setup -q -n %{pdir}-%{pnam}-%{version}
7c8c381e 34
35%build
12c7e6bd 36%{__perl} Makefile.PL \
2047580a 37 INSTALLDIRS=vendor
7c8c381e 38%{__make}
39
b65d83aa 40%{?with_tests:%{__make} test}
41
7c8c381e 42%install
43rm -rf $RPM_BUILD_ROOT
44
b65d83aa 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
7c8c381e 47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
46292e75 53%doc README ChangeLog
f5c0fdfb 54%{perl_vendorlib}/HTML/*.pm
7c8c381e 55%{_mandir}/man3/*
This page took 0.043694 seconds and 4 git commands to generate.