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