SPECS: uuid.spec - update to 1.6.1 - update descs to understand that those ...

glen glen at pld-linux.org
Tue Jun 10 22:03:03 CEST 2008


Author: glen                         Date: Tue Jun 10 20:03:03 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 1.6.1
- update descs to understand that those are bindings for language not uuid addons to use language

---- Files affected:
SPECS:
   uuid.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/uuid.spec
diff -u SPECS/uuid.spec:1.3 SPECS/uuid.spec:1.4
--- SPECS/uuid.spec:1.3	Tue Jun 10 20:50:42 2008
+++ SPECS/uuid.spec	Tue Jun 10 22:02:58 2008
@@ -6,22 +6,23 @@
 # - fix bindings compilation
 #
 # Conditional build:
-%bcond_with	php		# build with PHP binding
-%bcond_with	perl		# build with Perl binding
-%bcond_without	pgsql		# build with postgresql binding
+%bcond_without	php		# build PHP binding
+%bcond_with	perl		# build Perl binding
+%bcond_without	pgsql		# build postgresql binding
 #
 Summary:	Universally Unique Identifier library
 Name:		uuid
-Version:	1.5.1
+Version:	1.6.1
 Release:	0.2
 License:	MIT
 Group:		Libraries
 URL:		http://www.ossp.org/pkg/lib/uuid/
 Source0:	ftp://ftp.ossp.org/pkg/lib/uuid/%{name}-%{version}.tar.gz
-# Source0-md5:	d7df0c4cb02dad7ce3e1ec8fc669f724
+# Source0-md5:	18c8875411da07fe4503fdfc2136bf46
 BuildRequires:	libtool
-%{?with_php:BuildRequires:	php-devel}
+%{?with_php:BuildRequires:	php-devel >= 3:5.0.0}
 %{?with_pgsql:BuildRequires:	postgresql-devel}
+BuildRequires:	rpmbuild(macros) >= 1.344
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -78,7 +79,7 @@
 DCE development headers and libraries for OSSP uuid.
 
 %package -n perl-%{name}
-Summary:	Perl support for Universally Unique Identifier library
+Summary:	OSSP uuid Perl Binding
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -89,12 +90,15 @@
 Summary:	PHP support for Universally Unique Identifier library
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+%{?requires_php_extension}
+Requires:	php-common >= 4:5.0.4
 
 %description -n php-%{name}
-PHP OSSP uuid module.
+UUID is a PHP extension for the creation of Universally Unique
+Identifiers (UUID).
 
 %package -n postgresql-%{name}
-Summary:	PostgreSQL support for Universally Unique Identifier library
+Summary:	OSSP uuid bindings for PostgreSQL
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
@@ -121,6 +125,11 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+%if %{with php}
+install -d $RPM_BUILD_ROOT%{_datadir}/php
+mv $RPM_BUILD_ROOT{%{php_extensiondir},%{_datadir}/php}/%{name}.php
+%endif
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -138,7 +147,7 @@
 %doc AUTHORS ChangeLog HISTORY NEWS PORTING README SEEALSO THANKS TODO USERS
 %attr(755,root,root) %{_bindir}/uuid
 %attr(755,root,root) %{_libdir}/libuuid.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libuuid.so.15
+%attr(755,root,root) %ghost %{_libdir}/libuuid.so.16
 %{_mandir}/man1/uuid.1*
 
 %files devel
@@ -154,7 +163,7 @@
 %files c++
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libuuid++.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libuuid++.so.15
+%attr(755,root,root) %ghost %{_libdir}/libuuid++.so.16
 
 %files c++-devel
 %defattr(644,root,root,755)
@@ -166,7 +175,7 @@
 %files dce
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libuuid_dce.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libuuid_dce.so.15
+%attr(755,root,root) %ghost %{_libdir}/libuuid_dce.so.16
 
 %files dce-devel
 %defattr(644,root,root,755)
@@ -188,6 +197,7 @@
 %files -n php-%{name}
 %defattr(644,root,root,755)
 %{_libdir}/php/uuid.so
+%{_datadir}/php/uuid.php
 %endif
 
 %if %{with pgsql}
@@ -203,6 +213,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-06-10 20:02:58  glen
+- update to 1.6.1
+- update descs to understand that those are bindings for language not uuid addons to use language
+
 Revision 1.3  2008-06-10 18:50:42  glen
 - uuid-config to -devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/uuid.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list