]>
Commit | Line | Data |
---|---|---|
2009929b | 1 | # |
2 | # Conditional build: | |
71e4715f AG |
3 | %bcond_without tests # don't perform "make test" |
4 | # | |
26958591 | 5 | %define pdir Apache |
6 | %define pnam Admin-Config | |
70e67499 | 7 | Summary: Apache::Admin::Config - manipulate Apache configuration files |
eb2fc0bb | 8 | Summary(pl.UTF-8): Apache::Admin::Config - manipulowanie plikami konfiguracyjnymi Apache'a |
2009929b | 9 | Name: perl-Apache-Admin-Config |
52535261 | 10 | Version: 0.95 |
11 | Release: 1 | |
2009929b | 12 | License: LGPL v2.1+ |
13 | Group: Development/Languages/Perl | |
a0b4f26d | 14 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
52535261 | 15 | # Source0-md5: 0d0ce861770d52adf13e93832cdb08ac |
00ceac45 | 16 | URL: http://search.cpan.org/dist/Apache-Admin-Config/ |
66d91014 | 17 | BuildRequires: perl-devel >= 1:5.8.0 |
078301b0 | 18 | BuildRequires: rpm-perlprov >= 4.1-13 |
2009929b | 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 | ||
e3e080ac JR |
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ęć | |
e1f68858 | 30 | ani skracania linii. |
2009929b | 31 | |
32 | %prep | |
33 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
34 | ||
35 | %build | |
078301b0 | 36 | %{__perl} Makefile.PL \ |
7be3f05d | 37 | INSTALLDIRS=vendor |
2009929b | 38 | %{__make} |
39 | ||
71e4715f | 40 | %{?with_tests:%{__make} test} |
2009929b | 41 | |
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
2fd2346a | 45 | %{__make} install \ |
46 | DESTDIR=$RPM_BUILD_ROOT | |
2009929b | 47 | |
2009929b | 48 | %clean |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
923d9ac4 | 53 | %doc Changes UPGRADE-0.10 |
078301b0 | 54 | %dir %{perl_vendorlib}/Apache/Admin |
55 | %{perl_vendorlib}/Apache/Admin/*.pm | |
2009929b | 56 | %{_mandir}/man3/* |