]> git.pld-linux.org Git - packages/php-pear-HTTP_Upload.git/commitdiff
- initial
authorPaweł Gołaszewski <blues@pld-linux.org>
Sat, 29 Jun 2002 12:15:44 +0000 (12:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-HTTP_Upload.spec -> 1.1

php-pear-HTTP_Upload.spec [new file with mode: 0644]

diff --git a/php-pear-HTTP_Upload.spec b/php-pear-HTTP_Upload.spec
new file mode 100644 (file)
index 0000000..da406b9
--- /dev/null
@@ -0,0 +1,59 @@
+%include       /usr/lib/rpm/macros.php
+%define                _class          HTTP
+%define                _subclass       Upload
+%define                _pearname       %{_class}_%{_subclass}
+Summary:       %{_class}_%{_subclass} - Easy and secure managment of files submitted via HTML Forms
+Summary(pl):   %{_class}_%{_subclass} - Proste i ³atwe zarz±dzanie plikami przesy³anymi przez formularze HTML
+Name:          php-pear-%{_pearname}
+Version:       0.8
+Release:       1
+License:       PHP 2.02
+Group:         Development/Languages/PHP
+Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+BuildRequires: rpm-php-pearprov
+URL:           http://pear.php.net/
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This class provides an advanced file uploader system for file uploads
+made from html forms. Features:
+- Can handle from one file to multiple files.
+- Safe file copying from tmp dir.
+- Easy detecting mechanism of valid upload, missing upload or error.
+- Gives extensive information about the uploaded file.
+- Rename uploaded files in different ways: as it is, safe or unique.
+- Validate allowed file extensions.
+- Multiple languages error messages support.
+
+%description -l pl
+Ta klasa dostarcza system zaawansowanego uploadu plików z formularzy
+html. W³a¶ciwo¶ci:
+- Potrafi pobraæ jeden i wiele plików.
+- Bezpieczne kopiowanie z katalogu tmp.
+- Prosty mechanizm wykrywania prawid³owego uploadu, braku uploadu oraz
+  b³êdu.
+- Daje rozszerzone informacje o ³adowanym pliku.
+- Zmiana nazwy plików na kilka sposobów: tak jak jest, bezpiecznie lub
+  unikalnie.
+- Sprawdzanie dozwolonych rozszerzeñ plików.
+- Wsparcie dla wielojêzycznych komunikatów b³êdów.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{_pearname}-%{version}
+
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+
+install *.php                  $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/docs/*
+%{php_pear_dir}/%{_class}/*.php
This page took 0.062184 seconds and 4 git commands to generate.