]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blob - perl-Apache-Admin-Config.spec
- massive attack: source-md5
[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 # Source0-md5:  eb3f330896a0a64137b2b5174649f40e
16 BuildRequires:  perl-devel >= 5.6
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Apache::Admin::Config provides an object interface to handling Apache
23 like configuration files without modifying comments, identation, or
24 truncated lines.
25
26 %description -l pl
27 Apache::Admin::Config udostêpnia obiektowy interfejs do obs³ugi plików
28 konfiguracyjnych w stylu Apache bez modyfikowania komentarzy, wciêæ
29 ani skracania linii.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor 
37 %{__make}
38
39 %{!?_without_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45
46 # I don't get why it's needed... -- radek
47 install -d $RPM_BUILD_ROOT%{_mandir}/man3
48 /usr/bin/pod2man lib/Apache/Admin/Config.pm > $RPM_BUILD_ROOT%{_mandir}/man3/Apache::Admin::Config.3pm
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %dir %{perl_vendorlib}/Apache/Admin
56 %{perl_vendorlib}/Apache/Admin/*.pm
57 %{_mandir}/man3/*
This page took 0.092928 seconds and 4 git commands to generate.