rpms/trytond/devel .cvsignore, 1.11, 1.12 sources, 1.11, 1.12 trytond.spec, 1.14, 1.15

Dan Horák sharkcz at fedoraproject.org
Wed Jul 7 13:25:03 UTC 2010


Author: sharkcz

Update of /cvs/pkgs/rpms/trytond/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31748

Modified Files:
	.cvsignore sources trytond.spec 
Log Message:
* Wed Jul  7 2010 Dan Horák <dan[at]danny.cz> 1.6.0-1
- update to upstream version 1.6.0
- split the DB support into subpackages



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/trytond/devel/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- .cvsignore	1 Apr 2010 15:09:07 -0000	1.11
+++ .cvsignore	7 Jul 2010 13:25:01 -0000	1.12
@@ -1 +1 @@
-trytond-1.4.5.tar.gz
+trytond-1.6.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/trytond/devel/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- sources	1 Apr 2010 15:09:07 -0000	1.11
+++ sources	7 Jul 2010 13:25:02 -0000	1.12
@@ -1 +1 @@
-908f884ab2a7dfc86472a08d2a72d4df  trytond-1.4.5.tar.gz
+6c93f8b614bfe44455d4a4ff352c9b6d  trytond-1.6.0.tar.gz


Index: trytond.spec
===================================================================
RCS file: /cvs/pkgs/rpms/trytond/devel/trytond.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- trytond.spec	1 Apr 2010 15:09:07 -0000	1.14
+++ trytond.spec	7 Jul 2010 13:25:02 -0000	1.15
@@ -3,14 +3,14 @@
 %{!?_initddir: %define _initddir %{_initrddir}}
 
 Name:           trytond
-Version:        1.4.5
+Version:        1.6.0
 Release:        1%{?dist}
 Summary:        Server for the Tryton application framework
 
 Group:          System Environment/Daemons
 License:        GPLv3+
 URL:            http://www.tryton.org
-Source0:        http://downloads.tryton.org/1.4/%{name}-%{version}.tar.gz
+Source0:        http://downloads.tryton.org/1.6/%{name}-%{version}.tar.gz
 Source10:       %{name}.init
 Source11:       %{name}.sysconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -18,7 +18,8 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildArch:      noarch
 BuildRequires:  python-devel python-setuptools
 
-Requires:       python-psycopg2 python-lxml python-relatorio mx pydot pytz pyOpenSSL
+Requires:       %{name}-server = %{version}-%{release}
+Requires:       python-lxml python-relatorio mx pydot pytz pyOpenSSL
 Requires(pre):  shadow-utils
 Requires(post):  chkconfig
 Requires(preun): chkconfig
@@ -65,6 +66,45 @@ Requires:       pywebdav
 WebDAV support for Tryton Server.
 
 
+%package mysql
+Summary:        MySQL support for Tryton Server
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+Provides:       %{name}-server = %{version}-%{release}
+Requires:       MySQL-python
+Conflicts:      %{name}-pgsql
+Conflicts:      %{name}-sqlite
+
+%description mysql
+MySQL support for Tryton Server.
+
+
+%package pgsql
+Summary:        PostgreSQL support for Tryton Server
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+Provides:       %{name}-server = %{version}-%{release}
+Requires:       python-psycopg2
+Conflicts:      %{name}-mysql
+Conflicts:      %{name}-sqlite
+
+%description pgsql
+PostgreSQL support for Tryton Server.
+
+
+%package sqlite
+Summary:        SQLite support for Tryton Server
+Group:          System Environment/Libraries
+Requires:       %{name} = %{version}-%{release}
+Provides:       %{name}-server = %{version}-%{release}
+Requires:       python-sqlite2
+Conflicts:      %{name}-mysql
+Conflicts:      %{name}-pgsql
+
+%description sqlite
+SQLite support for Tryton Server.
+
+
 %prep
 %setup -q
 
@@ -126,6 +166,9 @@ fi
 %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
 %{_bindir}/%{name}
 %{python_sitelib}/*
+%exclude %{python_sitelib}/%{name}/backend/mysql
+%exclude %{python_sitelib}/%{name}/backend/postgresql
+%exclude %{python_sitelib}/%{name}/backend/sqlite
 %attr(0750,tryton,tryton) %{_localstatedir}/lib/%{name}
 %attr(0750,tryton,tryton) %{_localstatedir}/log/%{name}
 
@@ -135,8 +178,24 @@ fi
 %files webdav
 %defattr(-,root,root,-)
 
+%files mysql
+%defattr(-,root,root,-)
+%{python_sitelib}/%{name}/backend/mysql
+
+%files pgsql
+%defattr(-,root,root,-)
+%{python_sitelib}/%{name}/backend/postgresql
+
+%files sqlite
+%defattr(-,root,root,-)
+%{python_sitelib}/%{name}/backend/sqlite
+
 
 %changelog
+* Wed Jul  7 2010 Dan Horák <dan[at]danny.cz> 1.6.0-1
+- update to upstream version 1.6.0
+- split the DB support into subpackages
+
 * Thu Apr  1 2010 Dan Horák <dan[at]danny.cz> 1.4.5-1
 - update to upstream version 1.4.5
 



More information about the scm-commits mailing list