]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blob - perl-Apache-Admin-Config.spec
- fixed perl-devel BR
[packages/perl-Apache-Admin-Config.git] / perl-Apache-Admin-Config.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # don't perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    Apache
7 %define pnam    Admin-Config
8 Summary:        Apache::Admin::Config - manipulate Apache configuration files
9 Summary(pl):    Apache::Admin::Config - manipulowanie plikami konfiguracyjnymi Apache'a
10 Name:           perl-Apache-Admin-Config
11 Version:        0.91
12 Release:        2
13 License:        LGPL v2.1+
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  eb3f330896a0a64137b2b5174649f40e
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Apache::Admin::Config provides an object interface to handling Apache
24 like configuration files without modifying comments, identation, or
25 truncated lines.
26
27 %description -l pl
28 Apache::Admin::Config udostêpnia obiektowy interfejs do obs³ugi plików
29 konfiguracyjnych w stylu Apache bez modyfikowania komentarzy, wciêæ
30 ani skracania linii.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 # I don't get why it's needed... -- radek
49 install -d $RPM_BUILD_ROOT%{_mandir}/man3
50 /usr/bin/pod2man lib/Apache/Admin/Config.pm > $RPM_BUILD_ROOT%{_mandir}/man3/Apache::Admin::Config.3pm
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %dir %{perl_vendorlib}/Apache/Admin
58 %{perl_vendorlib}/Apache/Admin/*.pm
59 %{_mandir}/man3/*
This page took 0.097108 seconds and 3 git commands to generate.