Author: glen                         Date: Thu Jun  3 16:54:12 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unify/simplify

---- Files affected:
packages/php-pecl-bbcode:
   php-pecl-bbcode.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/php-pecl-bbcode/php-pecl-bbcode.spec
diff -u packages/php-pecl-bbcode/php-pecl-bbcode.spec:1.2 
packages/php-pecl-bbcode/php-pecl-bbcode.spec:1.3
--- packages/php-pecl-bbcode/php-pecl-bbcode.spec:1.2   Wed Jun  2 17:52:35 2010
+++ packages/php-pecl-bbcode/php-pecl-bbcode.spec       Thu Jun  3 18:54:07 2010
@@ -1,20 +1,19 @@
 # $Revision$, $Date$
-%define                _modname        bbcode
-%define                _status         stable
-Summary:       %{_modname} - parsing extension
-Summary(pl.UTF-8):     %{_modname} - rozszerzenie parsujące
-Name:          php-pecl-%{_modname}
+%define                modname bbcode
+%define                status          stable
+Summary:       %{modname} - parsing extension
+Summary(pl.UTF-8):     %{modname} - rozszerzenie parsujące
+Name:          php-pecl-%{modname}
 Version:       1.0.2
 Release:       2
 License:       PHP / BSD
 Group:         Development/Languages/PHP
-Source0:       http://pecl.php.net/get/%{_modname}-%{version}.tgz
+Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 1fb6971b2758a50785f188964991ddf9
 URL:           http://pecl.php.net/package/bbcode/
-BuildRequires: php-devel >= 3:5.0.0
+BuildRequires: php-devel >= 3:5.0.4
 BuildRequires: rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
-Requires:      php-common >= 4:5.0.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,7 +26,7 @@
 terminating tags at the end of the string this is in order to ensure
 HTML Validity in all case.
 
-In PECL status of this extension is: %{_status}.
+In PECL status of this extension is: %{status}.
 
 %description -l pl.UTF-8
 Pakiet ten dostarcza prostego i efektywnego rozszerzenia parsującego
@@ -41,13 +40,13 @@
 odpowiedniej kolejności, oraz stosowanie znaczników kończących w celu
 zapewnienia zgodności z HTML.
 
-To rozszerzenie ma w PECL status: %{_status}.
+To rozszerzenie ma w PECL status: %{status}.
 
 %prep
-%setup -q -c
+%setup -qc
+mv %{modname}-%{version}/* .
 
 %build
-cd %{_modname}-%{version}
 phpize
 %configure
 %{__make}
@@ -57,12 +56,11 @@
 install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
 
 %{__make} install \
-       -C %{_modname}-%{version} \
-       INSTALL_ROOT=$RPM_BUILD_ROOT \
-       EXTENSION_DIR=%{php_extensiondir}
-cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{_modname}.ini
-; Enable %{_modname} extension module
-extension=%{_modname}.so
+       EXTENSION_DIR=%{php_extensiondir} \
+       INSTALL_ROOT=$RPM_BUILD_ROOT
+cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
+; Enable %{modname} extension module
+extension=%{modname}.so
 EOF
 
 %clean
@@ -78,9 +76,9 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_modname}-%{version}/{CREDITS,TODO}
-%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{_modname}.ini
-%attr(755,root,root) %{php_extensiondir}/%{_modname}.so
+%doc CREDITS TODO
+%config(noreplace) %verify(not md5 mtime size) 
%{php_sysconfdir}/conf.d/%{modname}.ini
+%attr(755,root,root) %{php_extensiondir}/%{modname}.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -88,9 +86,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/06/03 16:54:07  glen
+- unify/simplify
+
 Revision 1.2  2010/06/02 15:52:35  glen
 - release 2
 
 Revision 1.1  2008/08/31 10:54:19  adamg
 - new
-
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pecl-bbcode/php-pecl-bbcode.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to