]> git.pld-linux.org Git - SPECS.git/blob - perl-Apache-FileManager.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Apache-FileManager.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test"
4 #
5 %define pdir    Apache
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
10 Version:        0.19
11 Release:        1
12 License:        ?
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
19 %if %{with tests}
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
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
36
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
43 poprzez kliknięcie.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47
48 %build
49 %{__perl} Makefile.PL \
50         INSTALLDIRS=vendor
51 %{__make}
52
53 %{?with_tests:%{__make} test}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes
67 %{_mandir}/man3/*
68 %{perl_vendorlib}/Apache/FileManager.pm
This page took 0.424719 seconds and 3 git commands to generate.