]> git.pld-linux.org Git - packages/php-pear-HTTP_Upload.git/blob - php-pear-HTTP_Upload.spec
- massive attack: added source0-md5
[packages/php-pear-HTTP_Upload.git] / php-pear-HTTP_Upload.spec
1 %include        /usr/lib/rpm/macros.php
2 %define         _class          HTTP
3 %define         _subclass       Upload
4 %define         _status         stable
5 %define         _pearname       %{_class}_%{_subclass}
6 Summary:        %{_pearname} - Easy and secure managment of files submitted via HTML Forms
7 Summary(pl):    %{_pearname} - Proste i ³atwe zarz±dzanie plikami przesy³anymi przez formularze HTML
8 Name:           php-pear-%{_pearname}
9 Version:        0.8.1
10 Release:        2
11 License:        PHP 2.02
12 Group:          Development/Languages/PHP
13 # Source0-md5:  142a87c46988276247a425cf41e6302b
14 Source0:        http://pear.php.net/get/%{_pearname}-%{version}.tgz
15 URL:            http://pear.php.net/
16 BuildRequires:  rpm-php-pearprov >= 4.0.2-98
17 Requires:       php-pear
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This class provides an advanced file uploader system for file uploads
23 made from html forms. Features:
24 - Can handle from one file to multiple files.
25 - Safe file copying from tmp dir.
26 - Easy detecting mechanism of valid upload, missing upload or error.
27 - Gives extensive information about the uploaded file.
28 - Rename uploaded files in different ways: as it is, safe or unique.
29 - Validate allowed file extensions.
30 - Multiple languages error messages support.
31
32 This class has in PEAR status: %{_status}.
33
34 %description -l pl
35 Ta klasa dostarcza system zaawansowanego uploadu plików z formularzy
36 html. W³a¶ciwo¶ci:
37 - Potrafi pobraæ jeden i wiele plików.
38 - Bezpieczne kopiowanie z katalogu tmp.
39 - Prosty mechanizm wykrywania prawid³owego uploadu, braku uploadu oraz
40   b³êdu.
41 - Daje rozszerzone informacje o ³adowanym pliku.
42 - Zmiana nazwy plików na kilka sposobów: tak jak jest, bezpiecznie lub
43   unikalnie.
44 - Sprawdzanie dozwolonych rozszerzeñ plików.
45 - Wsparcie dla wielojêzycznych komunikatów b³êdów.
46
47 Ta klasa ma w PEAR status: %{_status}.
48
49 %prep
50 %setup -q -c
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
55
56 install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc %{_pearname}-%{version}/docs/*
64 %{php_pear_dir}/%{_class}/*.php
This page took 0.066621 seconds and 4 git commands to generate.