[trytond-purchase-invoice-line-standalone] initial import

Dan Horák sharkcz at fedoraproject.org
Mon Jan 31 09:10:05 UTC 2011


commit f557dd5b3b612d8ed967a6c5b0c9a7ff0a2e2e94
Author: Dan Horák <dan at danny.cz>
Date:   Mon Jan 31 10:09:56 2011 +0100

    initial import

 .gitignore                                    |    1 +
 sources                                       |    1 +
 trytond-purchase-invoice-line-standalone.spec |   59 +++++++++++++++++++++++++
 3 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..284c95d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/trytond_purchase_invoice_line_standalone-1.8.0.tar.gz
diff --git a/sources b/sources
index e69de29..1c502a3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1fb1b464913623a58a55a123c5c918bf  trytond_purchase_invoice_line_standalone-1.8.0.tar.gz
diff --git a/trytond-purchase-invoice-line-standalone.spec b/trytond-purchase-invoice-line-standalone.spec
new file mode 100644
index 0000000..f6fdf09
--- /dev/null
+++ b/trytond-purchase-invoice-line-standalone.spec
@@ -0,0 +1,59 @@
+# -*- 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  purchase-invoice-line-standalone
+%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-purchase
+Requires:       trytond-account-invoice-line-standalone
+
+%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 <dan[at]danny.cz> - 1.8.0-3
+- initial Fedora package


More information about the scm-commits mailing list