]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blob - perl-Apache-Admin-Config.spec
- BR: perl-devel; do not BR: perl
[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 - manipulowanie plikami konfiguracyjnymi Apache'a
9 Name:           perl-Apache-Admin-Config
10 Version:        0.91
11 Release:        2
12 License:        LGPL v2.1+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 BuildRequires:  perl-devel >= 5.6
16 BuildRequires:  rpm-perlprov >= 4.1-13
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 Apache::Admin::Config udostêpnia obiektowy interfejs do obs³ugi plików
27 konfiguracyjnych w stylu Apache bez modyfikowania komentarzy, wciêæ
28 ani skracania linii.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor 
36 %{__make}
37
38 %{!?_without_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install DESTDIR=$RPM_BUILD_ROOT
44
45 # I don't get why it's needed... -- radek
46 install -d $RPM_BUILD_ROOT%{_mandir}/man3
47 /usr/bin/pod2man lib/Apache/Admin/Config.pm > $RPM_BUILD_ROOT%{_mandir}/man3/Apache::Admin::Config.3pm
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %dir %{perl_vendorlib}/Apache/Admin
55 %{perl_vendorlib}/Apache/Admin/*.pm
56 %{_mandir}/man3/*
This page took 0.089475 seconds and 4 git commands to generate.