Группа :: Офис
Пакет: openerp-client
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define rel _rc3
Name: openerp-client
Version: 5.0.0
Release: alt1
Summary: Open ERP client - free ERP and CRM software
License: GPL
Group: Office
Url: http://openerp.com
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://openerp.com/download/development/source/%name-%version%rel.tar.bz2
BuildArch: noarch
%py_requires libglade
%add_python_req_skip common modules options printer rpc service tools widget observator screen signal_event widget_search
# manually removed: eric
# Automatically added by buildreq on Sun Feb 25 2007
BuildRequires: python-module-pygobject-devel python-module-pygtk-libglade python-modules-encodings python-module-egenix-mx-base
BuildPreReq: rpm-build-compat >= 1.2
# TODO: change to Obsoletes after release
#Provides: tinyerp-client = %version
Conflicts: tinyerp-client
%description
Open ERP is a complete ERP and CRM. The main features are accounting
(analytic and financial), stock management, sales and purchases
management, tasks automation, marketing campaigns, help desk, POS,
etc. Technical features include a distributed server, flexible
workflows, an object database, a dynamic GUI, customizable reports,
and SOAP and XML-RPC interfaces.
%prep
%setup -q -n %name-%version%rel
# disable library checking due gtk issues
#__subst "s/^check_modules//" ./setup.py
%__subst "s|\('path.share':\).*|\1 '%_datadir/%name',|g" bin/options.py
%__subst "s|\('path.pixmaps':\).*|\1 '%_pixmapsdir/%name',|g" bin/options.py
%__subst "s|'lib'|'%_lib'|g" bin/options.py
%__subst 's|self.install_libbase|"%python_sitelibdir"|g' mydistutils.py
%build
%python_build
%install
%python_install
# BUG: is not installed
#mkdir -p %buildroot%_datadir/%name/themes/
#cp -a bin/themes/* %buildroot%_datadir/%name/themes/
%find_lang %name
%files -f %name.lang
%_bindir/%name
%_docdir/%name-%version%rel/
%_datadir/%name/
%python_sitelibdir/%name/
#%_desktopdir/*
%_pixmapsdir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: openerp-client
Version: 5.0.0
Release: alt1
Summary: Open ERP client - free ERP and CRM software
License: GPL
Group: Office
Url: http://openerp.com
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://openerp.com/download/development/source/%name-%version%rel.tar.bz2
BuildArch: noarch
%py_requires libglade
%add_python_req_skip common modules options printer rpc service tools widget observator screen signal_event widget_search
# manually removed: eric
# Automatically added by buildreq on Sun Feb 25 2007
BuildRequires: python-module-pygobject-devel python-module-pygtk-libglade python-modules-encodings python-module-egenix-mx-base
BuildPreReq: rpm-build-compat >= 1.2
# TODO: change to Obsoletes after release
#Provides: tinyerp-client = %version
Conflicts: tinyerp-client
%description
Open ERP is a complete ERP and CRM. The main features are accounting
(analytic and financial), stock management, sales and purchases
management, tasks automation, marketing campaigns, help desk, POS,
etc. Technical features include a distributed server, flexible
workflows, an object database, a dynamic GUI, customizable reports,
and SOAP and XML-RPC interfaces.
%prep
%setup -q -n %name-%version%rel
# disable library checking due gtk issues
#__subst "s/^check_modules//" ./setup.py
%__subst "s|\('path.share':\).*|\1 '%_datadir/%name',|g" bin/options.py
%__subst "s|\('path.pixmaps':\).*|\1 '%_pixmapsdir/%name',|g" bin/options.py
%__subst "s|'lib'|'%_lib'|g" bin/options.py
%__subst 's|self.install_libbase|"%python_sitelibdir"|g' mydistutils.py
%build
%python_build
%install
%python_install
# BUG: is not installed
#mkdir -p %buildroot%_datadir/%name/themes/
#cp -a bin/themes/* %buildroot%_datadir/%name/themes/
%find_lang %name
%files -f %name.lang
%_bindir/%name
%_docdir/%name-%version%rel/
%_datadir/%name/
%python_sitelibdir/%name/
#%_desktopdir/*
%_pixmapsdir/*
%_man1dir/*
%changelog
…
Полный changelog можно просмотреть здесь