]> git.pld-linux.org Git - packages/perl-Apache-Admin-Config.git/blob - perl-Apache-Admin-Config.spec
- drop obsolete and outdated manual inclusion of rpm macros
[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 %define         pdir    Apache
6 %define         pnam    Admin-Config
7 Summary:        Apache::Admin::Config - manipulate Apache configuration files
8 Summary(pl.UTF-8):      Apache::Admin::Config - manipulowanie plikami konfiguracyjnymi Apache'a
9 Name:           perl-Apache-Admin-Config
10 Version:        0.95
11 Release:        1
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:  0d0ce861770d52adf13e93832cdb08ac
16 URL:            http://search.cpan.org/dist/Apache-Admin-Config/
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.UTF-8
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 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes UPGRADE-0.10
54 %dir %{perl_vendorlib}/Apache/Admin
55 %{perl_vendorlib}/Apache/Admin/*.pm
56 %{_mandir}/man3/*
This page took 0.089911 seconds and 4 git commands to generate.