]> git.pld-linux.org Git - packages/perl-Apache-FileManager.git/blame - perl-Apache-FileManager.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Apache-FileManager.git] / perl-Apache-FileManager.spec
CommitLineData
74f56fd9
ER
1#
2# Conditional build:
e887b3f6 3%bcond_with tests # perform "make test"
74f56fd9 4#
1ee96c21 5%define pdir Apache
6%define pnam FileManager
7Summary: Apache::FileManager - Apache mod_perl File Manager
9cd210a6 8Summary(pl.UTF-8): Apache::FileManager - zarządca plików oparty na Apache i mod_perl
1ee96c21 9Name: perl-Apache-FileManager
55fab90d 10Version: 0.19
1ee96c21 11Release: 1
12License: ?
13Group: Applications/Shells
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
55fab90d 15# Source0-md5: c9215148e78d20b3ef9774210d08daf3
74f56fd9 16URL: http://freshmeat.net/projects/apache-filemanager/
991a6289
ER
17BuildRequires: rpmbuild(macros) >= 1.228
18Requires(post,preun): rc-scripts
74f56fd9 19%if %{with tests}
e8c730b6
ER
20BuildRequires: perl(Apache::Constants) >= 1.09
21BuildRequires: perl(Apache::File) >= 1.01
22BuildRequires: perl(Apache::Request)
23BuildRequires: perl(Apache::Util)
24BuildRequires: perl(File::NCopy) >= 0.32
25BuildRequires: perl(File::Remove) >= 0.2
74f56fd9
ER
26%endif
27BuildArch: noarch
55fab90d
SP
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31The Apache::FileManager module is a simple HTML file manager. It
32provides file manipulations such as cut, copy, paste, delete, rename,
33extract archive, create directory, create file, edit file, and upload
34files. It also has the ability to rsync the server htdocs tree to
35another server with the click of a button.
36
b4849fac
JR
37%description -l pl.UTF-8
38Moduł Apache::FileManager to prosty zarządca plików HTML. Udostępnia
7d73fed7 39operacje na plikach takie jak wycinanie, kopiowanie, wstawianie,
b4849fac
JR
40usuwanie, zmiana nazw, rozpakowywanie archiwów, tworzenie katalogów,
41tworzenie plików, modyfikowanie plików oraz wysyłanie (upload) plików.
42Ma także możliwość rsyncowania drzewa htdocs z serwera na inny serwer
43poprzez kliknięcie.
7d73fed7 44
55fab90d 45%prep
1ee96c21 46%setup -q -n %{pdir}-%{pnam}-%{version}
55fab90d
SP
47
48%build
49%{__perl} Makefile.PL \
991a6289 50 INSTALLDIRS=vendor
1ee96c21 51%{__make}
55fab90d 52
74f56fd9
ER
53%{?with_tests:%{__make} test}
54
55fab90d
SP
55%install
56rm -rf $RPM_BUILD_ROOT
57
74f56fd9
ER
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
d4b3ba05 60
55fab90d
SP
61%clean
62rm -rf $RPM_BUILD_ROOT
63
991a6289 64%files
55fab90d 65%defattr(644,root,root,755)
d4b3ba05
SP
66%doc Changes
67%{_mandir}/man3/*
74f56fd9 68%{perl_vendorlib}/Apache/FileManager.pm
This page took 0.227539 seconds and 4 git commands to generate.