3 %bcond_with tests # perform "make test"
6 %define pnam FileManager
7 Summary: Apache::FileManager - Apache mod_perl File Manager
8 Summary(pl.UTF-8): Apache::FileManager - zarządca plików oparty na Apache i mod_perl
9 Name: perl-Apache-FileManager
13 Group: Applications/Shells
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: c9215148e78d20b3ef9774210d08daf3
16 URL: http://freshmeat.net/projects/apache-filemanager/
17 BuildRequires: rpmbuild(macros) >= 1.228
18 Requires(post,preun): rc-scripts
20 BuildRequires: perl(Apache::Constants) >= 1.09
21 BuildRequires: perl(Apache::File) >= 1.01
22 BuildRequires: perl(Apache::Request)
23 BuildRequires: perl(Apache::Util)
24 BuildRequires: perl(File::NCopy) >= 0.32
25 BuildRequires: perl(File::Remove) >= 0.2
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 The Apache::FileManager module is a simple HTML file manager. It
32 provides file manipulations such as cut, copy, paste, delete, rename,
33 extract archive, create directory, create file, edit file, and upload
34 files. It also has the ability to rsync the server htdocs tree to
35 another server with the click of a button.
37 %description -l pl.UTF-8
38 Moduł Apache::FileManager to prosty zarządca plików HTML. Udostępnia
39 operacje na plikach takie jak wycinanie, kopiowanie, wstawianie,
40 usuwanie, zmiana nazw, rozpakowywanie archiwów, tworzenie katalogów,
41 tworzenie plików, modyfikowanie plików oraz wysyłanie (upload) plików.
42 Ma także możliwość rsyncowania drzewa htdocs z serwera na inny serwer
46 %setup -q -n %{pdir}-%{pnam}-%{version}
49 %{__perl} Makefile.PL \
53 %{?with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
68 %{perl_vendorlib}/Apache/FileManager.pm