From f6fc61520c5441532083045626260b0c72d52a1d Mon Sep 17 00:00:00 2001 From: Dan Horák Date: Jan 31 2011 08:55:00 +0000 Subject: initial import --- diff --git a/.gitignore b/.gitignore index e69de29..87acb57 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/trytond_account_invoice_history-1.8.0.tar.gz diff --git a/sources b/sources index e69de29..f2f06fd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +add0a343c32502f705960b9d05b74431 trytond_account_invoice_history-1.8.0.tar.gz diff --git a/trytond-account-invoice-history.spec b/trytond-account-invoice-history.spec new file mode 100644 index 0000000..e3f84a6 --- /dev/null +++ b/trytond-account-invoice-history.spec @@ -0,0 +1,58 @@ +# -*- rpm-spec -*- +%if 0%{?rhel} && 0%{?rhel} <= 5 +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%endif + +%global tryton_major 1.8 +%global modname account-invoice-history +%global pkgname %(echo \"%{name}\" | sed 's/-/_/g') + +Name: trytond-%{modname} +Version: 1.8.0 +Release: 3%{?dist} +Summary: %{modname} module for Tryton + +Group: System Environment/Libraries +License: GPLv3+ +URL: http://www.tryton.org +Source0: http://downloads.tryton.org/%{tryton_major}/%{pkgname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools + +Requires: tryton(kernel) = %{tryton_major} +Requires: trytond-account-invoice + +%description +%{modname} module for Tryton application server. + + +%prep +%setup -q -n %{pkgname}-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf %{buildroot} +%{__python} setup.py install --skip-build --root %{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc CHANGELOG COPYRIGHT INSTALL LICENSE README +%{python_sitelib}/trytond/modules/* +%{python_sitelib}/%{pkgname}-%{version}-*.egg-info + + +%changelog +* Thu Jan 20 2011 Dan Horák - 1.8.0-3 +- initial Fedora package