commit e0ed40c695f52cd631a63f9bbec367615af25877
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Aug 19 16:22:26 2012 +0300

    - up to 1.5.5

 php-pear-File_Archive.spec | 37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)
---
diff --git a/php-pear-File_Archive.spec b/php-pear-File_Archive.spec
index 3c8477a..490302e 100644
--- a/php-pear-File_Archive.spec
+++ b/php-pear-File_Archive.spec
@@ -1,29 +1,26 @@
-%define                _class          File
-%define                _subclass       Archive
-%define                _status         stable
-%define                _pearname       File_Archive
+%define                status          stable
+%define                pearname        File_Archive
 %include       /usr/lib/rpm/macros.php
-Summary:       %{_pearname} - manipulate easily the tar, gz, bz2 and zip files
-Summary(pl.UTF-8):     %{_pearname} - łatwa obróbka plików tar, gz, bz2 i zip
-Name:          php-pear-%{_pearname}
-Version:       1.5.4
-Release:       4
-Epoch:         0
+Summary:       %{pearname} - manipulate easily the tar, gz, bz2 and zip files
+Summary(pl.UTF-8):     %{pearname} - łatwa obróbka plików tar, gz, bz2 i zip
+Name:          php-pear-%{pearname}
+Version:       1.5.5
+Release:       1
 License:       LGPL
 Group:         Development/Languages/PHP
-Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 5bbdacfd95e00a9be46fed4b5eb88378
-Patch0:                %{_pearname}-noimpl.patch
+Source0:       http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: be45b469695cb61e477af1a68c6357f3
+Patch0:                %{pearname}-noimpl.patch
 URL:           http://pear.php.net/package/File_Archive/
 BuildRequires: php-pear-PEAR >= 1:1.4.0-0.b1
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
-Requires:      php(bz2)
+BuildRequires: rpmbuild(macros) >= 1.580
 Requires:      php(pcre)
 Requires:      php(zlib)
 Requires:      php-common >= 3:4.3.0
 Requires:      php-pear
 Requires:      php-pear-MIME_Type
+Suggests:      php(bz2)
 Suggests:      php-pear-Cache_Lite
 Suggests:      php-pear-Mail
 Suggests:      php-pear-Mail_Mime
@@ -32,7 +29,7 @@ BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define                _noautoreq      'pear(Mail/Mime.*)' 'pear(Mail.*)' 
'pear(Cache/Lite.*)'
+%define                _noautoreq      pear(Mail/Mime.*) pear(Mail.*) 
pear(Cache/Lite.*)
 
 %description
 This library is strongly object oriented. It makes it very easy to
@@ -45,7 +42,7 @@ 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}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Ta biblioteka jest silnie zorientowana obiektowo. Dzięki temu jest
@@ -58,12 +55,14 @@ 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}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
 %patch0 -p1
 
+mv .%{php_pear_dir}/data/File_Archive/README .
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
@@ -79,7 +78,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc install.log docs/%{_pearname}/doc/*
+%doc install.log README docs/%{pearname}/doc/*
 %{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/File/*.php
 %{php_pear_dir}/File/Archive
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to