]> git.pld-linux.org Git - packages/perl-DNS-Config.git/blob - perl-DNS-Config.spec
24a010e81adab2ef3d6b956924e34e18fc435734
[packages/perl-DNS-Config.git] / perl-DNS-Config.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    DNS
7 %define pnam    Config
8 Summary:        DNS::Config - DNS Configuration
9 Summary(pl.UTF-8):      DNS::Config - konfiguracja DNS
10 Name:           perl-DNS-Config
11 Version:        0.66
12 Release:        2
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  71309d67930fe356c860bbb96289c0d4
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A domain name service daemon configuration knows about the zone
25 information actively provided to the service users as well as lots of
26 other configuration data.
27
28 This class allows to represent this configuration data in a more or less
29 generic way. Another class, the file adaptor, then knows how to write
30 the information to a file in a daemon specific format.
31
32 %description -l pl.UTF-8
33 Konfiguracja demona usługi nazw domen (DNS) zawiera informacje o
34 strefach aktywnie dostarczanych użytkownikom usługi, a także wiele
35 innych danych konfiguracyjnych.
36
37 Ta klasa umożliwia reprezentowanie danych konfiguracyjnych w bardziej
38 lub mniej ogólny sposób. Inna klasa - adapter plików - ma informacje
39 dotyczące sposobu zapisu tych informacji w plikach w sposób właściwy
40 dla danego demona.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"%{pdir}::%{pnam}")' \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc docs/* README
64 %{perl_vendorlib}/DNS/*.pm
65 %{perl_vendorlib}/DNS/Config
66 %{_mandir}/man3/*
This page took 0.059949 seconds and 2 git commands to generate.