]>
Commit | Line | Data |
---|---|---|
2009929b | 1 | # |
2 | # Conditional build: | |
71e4715f AG |
3 | %bcond_without tests # don't perform "make test" |
4 | # | |
2009929b | 5 | %include /usr/lib/rpm/macros.perl |
26958591 | 6 | %define pdir Apache |
7 | %define pnam Admin-Config | |
70e67499 | 8 | Summary: Apache::Admin::Config - manipulate Apache configuration files |
e3e080ac | 9 | Summary(pl.UTF-8): Apache::Admin::Config - manipulowanie plikami konfiguracyjnymi Apache'a |
2009929b | 10 | Name: perl-Apache-Admin-Config |
00ceac45 | 11 | Version: 0.94 |
2412a542 | 12 | Release: 1 |
2009929b | 13 | License: LGPL v2.1+ |
14 | Group: Development/Languages/Perl | |
a0b4f26d | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
eb654441 | 16 | # Source0-md5: 16c3f841580e0f58a98ce42704f5e84f |
00ceac45 | 17 | URL: http://search.cpan.org/dist/Apache-Admin-Config/ |
66d91014 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
078301b0 | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
2009929b | 20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | Apache::Admin::Config provides an object interface to handling Apache | |
25 | like configuration files without modifying comments, identation, or | |
26 | truncated lines. | |
27 | ||
e3e080ac JR |
28 | %description -l pl.UTF-8 |
29 | Apache::Admin::Config udostępnia obiektowy interfejs do obsługi plików | |
30 | konfiguracyjnych w stylu Apache bez modyfikowania komentarzy, wcięć | |
e1f68858 | 31 | ani skracania linii. |
2009929b | 32 | |
33 | %prep | |
34 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
35 | ||
36 | %build | |
078301b0 | 37 | %{__perl} Makefile.PL \ |
7be3f05d | 38 | INSTALLDIRS=vendor |
2009929b | 39 | %{__make} |
40 | ||
71e4715f | 41 | %{?with_tests:%{__make} test} |
2009929b | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
2fd2346a | 46 | %{__make} install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
2009929b | 48 | |
2009929b | 49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
923d9ac4 | 54 | %doc Changes UPGRADE-0.10 |
078301b0 | 55 | %dir %{perl_vendorlib}/Apache/Admin |
56 | %{perl_vendorlib}/Apache/Admin/*.pm | |
2009929b | 57 | %{_mandir}/man3/* |