packages: php-pear-Validate_FI/php-pear-Validate_FI.spec - up to 1.0.0-stable
glen
glen at pld-linux.org
Sun Aug 22 15:16:00 CEST 2010
Author: glen Date: Sun Aug 22 13:16:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.0.0-stable
---- Files affected:
packages/php-pear-Validate_FI:
php-pear-Validate_FI.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/php-pear-Validate_FI/php-pear-Validate_FI.spec
diff -u packages/php-pear-Validate_FI/php-pear-Validate_FI.spec:1.5 packages/php-pear-Validate_FI/php-pear-Validate_FI.spec:1.6
--- packages/php-pear-Validate_FI/php-pear-Validate_FI.spec:1.5 Sun Aug 22 10:51:43 2010
+++ packages/php-pear-Validate_FI/php-pear-Validate_FI.spec Sun Aug 22 15:15:53 2010
@@ -1,23 +1,23 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class Validate
-%define _subclass FI
-%define _status beta
+%define _status stable
%define _pearname Validate_FI
Summary: %{_pearname} - Validation class for Finland
Summary(pl.UTF-8): %{_pearname} - klasa sprawdzająca poprawość dla Finlandii
Name: php-pear-%{_pearname}
-Version: 0.4.0
-Release: 4
+Version: 1.0.0
+Release: 1
License: New BSD
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 6de4fcaa54f47f364747ffa1e4c72694
+# Source0-md5: 0e4c252941a5f224d1f40bb2626a8692
URL: http://pear.php.net/package/Validate_FI/
+BuildRequires: php-packagexml2cl
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.571
Requires: php-pear
+Obsoletes: php-pear-Validate_FI-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,51 +54,38 @@
Ta klasa ma w PEAR status: %{_status}.
-%package tests
-Summary: Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
-Group: Development/Languages/PHP
-AutoReq: no
-Requires: %{name} = %{version}-%{release}
-AutoProv: no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
%prep
%pear_package_setup
-# pear/tests/pearname/tests -> pear/tests/pearname
-mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
-rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
+%build
+packagexml2cl package.xml > ChangeLog
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc install.log
+%doc ChangeLog install.log
%{php_pear_dir}/.registry/*.reg
%{php_pear_dir}/Validate/FI.php
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/%{_pearname}
-
%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.6 2010/08/22 13:15:53 glen
+- up to 1.0.0-stable
+
Revision 1.5 2010/08/22 08:51:43 glen
- ensure rpmbuild macros present
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Validate_FI/php-pear-Validate_FI.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list