]> git.pld-linux.org Git - packages/perl-Apache-ConfigFile.git/blame - perl-Apache-ConfigFile.spec
use generic url
[packages/perl-Apache-ConfigFile.git] / perl-Apache-ConfigFile.spec
CommitLineData
5eee508d 1#
2# Conditional build:
3c16c97a 3%bcond_without tests # do not perform "make test"
62a33959 4
5fef3e4e 5%define pdir Apache
6%define pnam ConfigFile
62a33959 7%include /usr/lib/rpm/macros.perl
d68ea2a5 8Summary: Apache::ConfigFile - parse an Apache style httpd.conf config file
fa52f9c1 9Summary(pl.UTF-8): Apache::ConfigFile - analiza pliku konfiguracyjnego httpd.conf w stylu Apache
5eee508d 10Name: perl-Apache-ConfigFile
3c16c97a 11Version: 1.18
dcb11b25 12Release: 2
3c16c97a 13License: GPL or Artistic
5eee508d 14Group: Development/Languages/Perl
3c16c97a 15#Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16Source0: http://www.cpan.org/modules/by-authors/id/N/NW/NWIGER/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 0a7e1e1aca947f98a9a974150b722bff
62a33959 18URL: http://search.cpan.org/dist/Apache-ConfigFile/
bf520290 19BuildRequires: perl-devel >= 1:5.8.0
123d4f7c 20BuildRequires: rpm-perlprov >= 4.1-13
5eee508d 21BuildArch: noarch
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This module parses the Apache httpd.conf, or any compatible config
c4234100
JB
26file, and provides methods for you to access the values from the
27config file. The basic usage of this module boils down to reading a
28given config file and then using the cmd_config() and cmd_context()
29functions to access its information.
30
64353829
JR
31%description -l pl.UTF-8
32Ten moduł analizuje plik Apache'a httpd.conf lub dowolny kompatybilny
33plik konfiguracyjny i udostępnia metody pozwalające na dostęp do
34wartości z tego pliku. Podstawowe używanie tego modułu sprowadza się
35do przeczytania podanego pliku konfiguracyjnego, a następnie używania
c4234100 36funkcji cmd_config() i cmd_context() do odczytywania informacji.
5eee508d 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
123d4f7c 42%{__perl} Makefile.PL \
8d672561 43 INSTALLDIRS=vendor
5eee508d 44%{__make}
45
3c16c97a 46%{?with_tests:%{__make} test}
5eee508d 47
48%install
49rm -rf $RPM_BUILD_ROOT
50
3c16c97a 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
5eee508d 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
123d4f7c 59%{perl_vendorlib}/%{pdir}/*.pm
5eee508d 60%{_mandir}/man3/*
This page took 0.055572 seconds and 4 git commands to generate.