]> git.pld-linux.org Git - packages/php-pear-File.git/blobdiff - php-pear-File.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-File.git] / php-pear-File.spec
index c2c4614c1d4b81543abb22a07c90048736893ea5..96e36345669c7515ecbe079504a62a978f281905 100644 (file)
@@ -1,25 +1,21 @@
-%include       /usr/lib/rpm/macros.php
-%define                _class          File
-%define                _status         alpha
-%define                _pearname       %{_class}
-%define                subver  alpha1
-%define                rel             3
-Summary:       %{_pearname} - Common file and directory routines
-Summary(pl.UTF-8):     %{_pearname} - Podstawowe sposoby operacji na plikach i katalogach
-Name:          php-pear-%{_pearname}
-Version:       1.4.0
-Release:       0.%{subver}.%{rel}
+%define                status          alpha
+%define                pearname        File
+Summary:       %{pearname} - Common file and directory routines
+Summary(pl.UTF-8):     %{pearname} - Podstawowe sposoby operacji na plikach i katalogach
+Name:          php-pear-%{pearname}
+Version:       1.4.1
+Release:       1
 License:       PHP
 Group:         Development/Languages/PHP
-Source0:       http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5: 517436d7e68f0b2d3e27b938371e0ff0
+Source0:       http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: 3cf96cff0ae67c495dbc6714b0cb032a
 URL:           http://pear.php.net/package/File/
 BuildRequires: php-packagexml2cl
 BuildRequires: php-pear-PEAR >= 1:1.6.0
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.573
-Requires:      php-common >= 3:4.2.0
-Requires:      php-pcre
+Requires:      php(core) >= 4.2.0
+Requires:      php(pcre)
 Requires:      php-pear
 Requires:      php-pear-File_CSV
 Requires:      php-pear-File_Util
@@ -33,14 +29,14 @@ Provides easy access to read/write to files along with some common
 routines to deal with paths. Also provides interface for handling CSV
 files.
 
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
 
 %description -l pl.UTF-8
 Dostarcza prosty dostęp do zapisu/odczytu plików razem z prostymi
 metodami operacji na ścieżkach. Dostarcza także interfejsu do plików
 CSV.
 
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
 
 %prep
 %pear_package_setup
@@ -60,4 +56,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}.php
+%{php_pear_dir}/File.php
This page took 0.036679 seconds and 4 git commands to generate.