packages: php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec - up t...
glen
glen at pld-linux.org
Sat Mar 24 14:52:17 CET 2012
Author: glen Date: Sat Mar 24 13:52:17 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.2.3
---- Files affected:
packages/php-pear-HTML_BBCodeParser:
php-pear-HTML_BBCodeParser.spec (1.28 -> 1.29)
---- Diffs:
================================================================
Index: packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec
diff -u packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec:1.28 packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec:1.29
--- packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec:1.28 Tue Mar 1 07:29:00 2011
+++ packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec Sat Mar 24 14:52:12 2012
@@ -1,22 +1,20 @@
# $Revision$, $Date$
+%define status stable
+%define pearname HTML_BBCodeParser
%include /usr/lib/rpm/macros.php
-%define _class HTML
-%define _subclass BBCodeParser
-%define _status stable
-%define _pearname %{_class}_%{_subclass}
-Summary: %{_pearname} - parser to replace UBB style tags with their HTML equivalents
-Summary(pl.UTF-8): %{_pearname} - parser zastępujący tagi typu UBB ich odpowiednikami HTML
-Name: php-pear-%{_pearname}
-Version: 1.2.2
-Release: 4
+Summary: %{pearname} - parser to replace UBB style tags with their HTML equivalents
+Summary(pl.UTF-8): %{pearname} - parser zastępujący tagi typu UBB ich odpowiednikami HTML
+Name: php-pear-%{pearname}
+Version: 1.2.3
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
-Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 8cb028b0ae71a63bd60f432a08546e43
+Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
+# Source0-md5: a42def972b249212545198dbe6f54d88
URL: http://pear.php.net/package/HTML_BBCodeParser/
BuildRequires: php-pear-PEAR >= 1:1.5.4
BuildRequires: rpm-php-pearprov >= 4.4.2-11
-BuildRequires: rpmbuild(macros) >= 1.300
+BuildRequires: rpmbuild(macros) >= 1.580
Requires: php-pear
Requires: php-pear-PEAR-core >= 1:1.5.4
Obsoletes: php-pear-HTML_BBCodeParser-tests
@@ -32,7 +30,7 @@
validated and so are all their attributes. It should be easy to extend
this parser with your own tags.
-In PEAR status of this package is: %{_status}.
+In PEAR status of this package is: %{status}.
%description -l pl.UTF-8
Jest to parser zastępujący tagi typu UBB ich odpowiednikami HTML. Nie
@@ -44,25 +42,35 @@
sprawdzane są pod kątem poprawności. Możliwe jest rozszerzenie parsera
o własne tagi.
-Ta klasa ma w PEAR status: %{_status}.
+Ta klasa ma w PEAR status: %{status}.
%prep
%pear_package_setup
+mv .%{php_pear_dir}/data/HTML_BBCodeParser docs
+mv docs/example examples
+mv .%{php_pear_dir}/example/parser.php examples
+mv docs/TODO .
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc TODO
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/HTML/*.php
+%{php_pear_dir}/HTML/BBCodeParser
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -70,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.29 2012/03/24 13:52:12 glen
+- up to 1.2.3
+
Revision 1.28 2011/03/01 06:29:00 glen
- release 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/php-pear-HTML_BBCodeParser/php-pear-HTML_BBCodeParser.spec?r1=1.28&r2=1.29
More information about the pld-cvs-commit
mailing list