]> git.pld-linux.org Git - packages/php-pear-Crypt_CBC.git/blobdiff - php-pear-Crypt_CBC.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/php-pear-Crypt_CBC.git] / php-pear-Crypt_CBC.spec
index a05a388be095e288684534f36abf52ff5140d8ff..e470779dd1f7ae3d0c4cb9af593c1c847391a522 100644 (file)
@@ -1,19 +1,21 @@
-%include       /usr/lib/rpm/macros.php
 %define                _class          Crypt
 %define                _subclass       CBC
 %define                _status         stable
 %define                _pearname       %{_class}_%{_subclass}
+
 Summary:       %{_pearname} - A class to emulate Perl's Crypt::CBC module
-Summary(pl):   %{_pearname} - Klasa emuluj±ca perlowy modu³ Crypt::CBC
+Summary(pl.UTF-8):     %{_pearname} - Klasa emulująca perlowy moduł Crypt::CBC
 Name:          php-pear-%{_pearname}
-Version:       0.4
+Version:       1.0.1
 Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
-# Source0-md5: 0463f7e12758b9ae1104af4e357da125
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5: 8ba5442cf07d89f53ced4a3786a4e360
 URL:           http://pear.php.net/package/Crypt_CBC/
-BuildRequires: rpm-php-pearprov >= 4.0.2-98
+BuildRequires: php-pear-PEAR
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.300
 Requires:      php-pear
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -21,25 +23,26 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 A class to emulate Perl's Crypt::CBC module.
 
-This class has in PEAR status: %{_status}.
+In PEAR status of this package is: %{_status}.
 
-%description -l pl
-Klasa emuluj±ca perlowy modu³ Crypt::CBC.
+%description -l pl.UTF-8
+Klasa emulująca perlowy moduł Crypt::CBC.
 
 Ta klasa ma w PEAR status: %{_status}.
 
 %prep
-%setup -q -c
+%pear_package_setup
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
-
-install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc install.log
+%{php_pear_dir}/.registry/*.reg
 %{php_pear_dir}/%{_class}/*.php
This page took 0.085721 seconds and 4 git commands to generate.