SPECS: ossp-uuid.spec - rename to ossp-uuid

glen glen at pld-linux.org
Tue Sep 2 00:30:22 CEST 2008


Author: glen                         Date: Mon Sep  1 22:30:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rename to ossp-uuid

---- Files affected:
SPECS:
   ossp-uuid.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/ossp-uuid.spec
diff -u SPECS/ossp-uuid.spec:1.6 SPECS/ossp-uuid.spec:1.7
--- SPECS/ossp-uuid.spec:1.6	Tue Sep  2 00:07:30 2008
+++ SPECS/ossp-uuid.spec	Tue Sep  2 00:30:16 2008
@@ -1,24 +1,22 @@
 # $Revision$, $Date$
 # TODO
-# - rename include ossp/uuid.h?
-# - rename package to ossp-uuid?
 # - fix bindings compilation (when library is not installed)
 #
 # Conditional build:
-%bcond_without	php		# build PHP binding
-%bcond_with	perl		# build Perl binding
-%bcond_without	pgsql		# build postgresql binding
+%bcond_with		php			# build PHP binding
+%bcond_with		perl		# build Perl binding
+%bcond_with		pgsql		# build postgresql binding
 #
 Summary:	Universally Unique Identifier library
-Name:		uuid
+Name:		ossp-uuid
 Version:	1.6.1
 Release:	1
 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:	ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
 # Source0-md5:	18c8875411da07fe4503fdfc2136bf46
-Patch0:		%{name}-ossp-prefix.patch
+Patch0:		uuid-ossp-prefix.patch
 BuildRequires:	libtool
 %{?with_php:BuildRequires:	php-devel >= 3:5.0.0}
 %{?with_pgsql:BuildRequires:	postgresql-devel}
@@ -78,35 +76,35 @@
 %description dce-devel
 DCE development headers and libraries for OSSP uuid.
 
-%package -n perl-%{name}
+%package -n perl-uuid
 Summary:	OSSP uuid Perl Binding
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
-%description -n perl-%{name}
+%description -n perl-uuid
 Perl OSSP uuid modules, which includes a Data::UUID replacement.
 
-%package -n php-%{name}
+%package -n php-uuid
 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}
+%description -n php-uuid
 UUID is a PHP extension for the creation of Universally Unique
 Identifiers (UUID).
 
-%package -n postgresql-%{name}
+%package -n postgresql-uuid
 Summary:	OSSP uuid bindings for PostgreSQL
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
-%description -n postgresql-%{name}
+%description -n postgresql-uuid
 PostgreSQL OSSP uuid module.
 
 %prep
-%setup -q
+%setup -q -n uuid-%{version}
 %patch0 -p1
 
 %build
@@ -128,7 +126,7 @@
 
 %if %{with php}
 install -d $RPM_BUILD_ROOT%{_datadir}/php
-mv $RPM_BUILD_ROOT{%{php_extensiondir},%{_datadir}/php}/%{name}.php
+mv $RPM_BUILD_ROOT{%{php_extensiondir},%{_datadir}/php}/uuid.php
 %endif
 
 %clean
@@ -185,7 +183,7 @@
 %{_libdir}/libossp-uuid_dce.la
 
 %if %{with perl}
-%files -n perl-%{name}
+%files -n perl-uuid
 %defattr(644,root,root,755)
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Data*
@@ -195,14 +193,14 @@
 %endif
 
 %if %{with php}
-%files -n php-%{name}
+%files -n php-uuid
 %defattr(644,root,root,755)
 %{_libdir}/php/ossp-uuid.so
 %{_datadir}/php/uuid.php
 %endif
 
 %if %{with pgsql}
-%files -n postgresql-%{name}
+%files -n postgresql-uuid
 %defattr(644,root,root,755)
 %{_libdir}/postgresql/ossp-uuid.so
 %{_datadir}/postgresql/uuid.sql
@@ -214,6 +212,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008/09/01 22:30:16  glen
+- rename to ossp-uuid
+
 Revision 1.6  2008/09/01 22:07:30  glen
 - release 1
 
================================================================

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



More information about the pld-cvs-commit mailing list