Пакет openerp-web: Specfile

%define rel -3.1
Name: openerp-web
Version: 5.0.0
Release: alt3

Summary: Open ERP web - free ERP and CRM software

License: GPL
Group: Office
Url: http://openerp.com

Source: %name-%version%rel.tar

BuildArch: noarch
BuildRequires: python-module-PyXML python-module-setuptools

%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 -n %name-%version%rel

%build
%python_build

%install
%python_install
install -pD %buildroot/usr/config/default.cfg %buildroot%_sysconfdir/openerp-web.cfg
install -pD %buildroot/usr/scripts/openerp-web %buildroot%_initdir/openerp-web

%find_lang %name

%files -f %name.lang
%doc doc/ChangeLog doc/LICENSE.txt doc/README.txt
%_bindir/start-openerp-web
%python_sitelibdir/openerp
%python_sitelibdir/openerp_web-*
%python_sitelibdir/locales/*/LC_MESSAGES/messages.mo
%python_sitelibdir/locales/messages.pot
%config(noreplace) %_sysconfdir/openerp-web.cfg
%_initdir/openerp-web


%changelog
* Sun Apr 05 2009 Denis Klimov <zver@altlinux.org> 5.0.0-alt3
- set openerp-web.cfg as config(noreplace)

* Sun Apr 05 2009 Denis Klimov <zver@altlinux.org> 5.0.0-alt2
- change place init script and config file

* Sun Mar 29 2009 Denis Klimov <zver@altlinux.org> 5.0.0-alt1
- new version