SPECS: php-pear-File_Archive.spec (NEW) - new
adamg
adamg at pld-linux.org
Tue Jul 26 15:30:19 CEST 2005
Author: adamg Date: Tue Jul 26 13:30:19 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
php-pear-File_Archive.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/php-pear-File_Archive.spec
diff -u /dev/null SPECS/php-pear-File_Archive.spec:1.1
--- /dev/null Tue Jul 26 15:30:19 2005
+++ SPECS/php-pear-File_Archive.spec Tue Jul 26 15:30:14 2005
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.php
+%define _class File
+%define _subclass Archive
+%define _status stable
+%define _pearname %{_class}_%{_subclass}
+
+Summary: %{_pearname} - manipulate easily the tar, gz, bz2 and zip files
+Summary(pl): %{_pearname} - łatwa obróbka plików tar, gz, bz2 i zip
+Name: php-pear-%{_pearname}
+Version: 1.5.1
+Release: 1
+License: LGPL
+Group: Development/Languages/PHP
+Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 522de8e9d87e78ccc7320fa2830434f1
+URL: http://pear.php.net/package/File_Archive/
+BuildRequires: rpm-php-pearprov >= 4.0.2-98
+Requires: php-pear
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This library is strongly object oriented. It makes it very easy to
+use, writing simple code, yet the library is very powerfull.
+
+File_Archive is made of two objects : readers and writers. Are
+currently implemented readers from file, directory, tar, gz, zip and
+bzip2 archives.
+
+You can write to file(s), send mails with files attached, or create
+tar, gz, zip, bzip2 archives.
+
+In PEAR status of this package is: %{_status}.
+
+%description -l pl
+Ta biblioteka jest silnie zorientowana obiektowo. Dzięki temu jest
+łatwa w użycia, pozwala na pisanie prostego kodu, przy czym ma duże
+możliwości.
+
+File_Archive składa się z dwóch obiektów: reader i writer. Odczyt
+możliwy jest z pliku, katalogu i archiwów tar, gz, zip i bzip2.
+
+Zapis możliwy jest do pliku(ów), jako załącznik do listu lub do
+archiwów tar, gz, zip bądź bzip2.
+
+Ta klasa ma w PEAR status: %{_status}.
+
+%prep
+%setup -q -c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/{Predicate,Reader,Writer}
+
+install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/Predicate/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Predicate
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/Reader/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Reader
+install %{_pearname}-%{version}/%{_class}/%{_subclass}/Writer/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_subclass}/Writer
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{_pearname}-%{version}/%{_class}/{doc,tests}
+%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/%{_class}/%{_subclass}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/07/26 13:30:14 adamg
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list