]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blame - perl-Apache-Admin-Config.spec
- new, STBR
[packages/perl-Apache-Admin-Config.git] / perl-Apache-Admin-Config.spec
CommitLineData
2009929b 1#
2# Conditional build:
3# _without_tests - do not perform "make test"
4%include /usr/lib/rpm/macros.perl
5%define pdir Apache
6%define pnam Admin-Config
7Summary: Apache::Admin::Config - Manipulate Apache configuration files
8Summary(pl): Apache::Admin::Config - Manipuluj plikami konfiguracyjnymi Apache
9Name: perl-Apache-Admin-Config
10Version: 0.55
11Release: 1
12License: LGPL v2.1+
13Group: Development/Languages/Perl
14Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15BuildRequires: perl >= 5.6
16BuildRequires: rpm-perlprov >= 3.0.3-26
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Apache::Admin::Config provides an object interface to handling Apache
22like configuration files without modifying comments, identation, or
23truncated lines.
24
25# %description -l pl
26# TODO
27
28%prep
29%setup -q -n %{pdir}-%{pnam}-%{version}
30
31%build
32perl Makefile.PL
33%{__make}
34
35%{!?_without_tests:%{__make} test}
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40%{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42# I don't get why it's needed... -- radek
43install -d $RPM_BUILD_ROOT%{_mandir}/man3
44/usr/bin/pod2man lib/Apache/Admin/Config.pm > $RPM_BUILD_ROOT%{_mandir}/man3/Apache::Admin::Config.3pm
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%{perl_sitelib}/Apache/Admin/*.pm
52%{_mandir}/man3/*
This page took 0.105593 seconds and 4 git commands to generate.