]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blob - perl-Apache-Admin-Config.spec
- new, STBR
[packages/perl-Apache-Admin-Config.git] / perl-Apache-Admin-Config.spec
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
7 Summary:        Apache::Admin::Config - Manipulate Apache configuration files
8 Summary(pl):    Apache::Admin::Config - Manipuluj plikami konfiguracyjnymi Apache
9 Name:           perl-Apache-Admin-Config
10 Version:        0.55
11 Release:        1
12 License:        LGPL v2.1+
13 Group:          Development/Languages/Perl
14 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl >= 5.6
16 BuildRequires:  rpm-perlprov >= 3.0.3-26
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Apache::Admin::Config provides an object interface to handling Apache
22 like configuration files without modifying comments, identation, or
23 truncated lines.
24
25 # %description -l pl
26 # TODO
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 perl Makefile.PL
33 %{__make}
34
35 %{!?_without_tests:%{__make} test}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
41
42 # I don't get why it's needed... -- radek
43 install -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
47 rm -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.072925 seconds and 4 git commands to generate.