[neso] - little update before submitting to review
Dan Horák
sharkcz at fedoraproject.org
Thu Jan 20 21:17:53 UTC 2011
commit b2d0456637bb45eca11f3dccc5667633449a2134
Author: Dan Horák <dan at danny.cz>
Date: Thu Jan 20 22:17:44 2011 +0100
- little update before submitting to review
.gitignore | 1 +
neso.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..408c0a2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/neso-1.8.0.tar.gz
diff --git a/neso.spec b/neso.spec
new file mode 100644
index 0000000..57ec9a1
--- /dev/null
+++ b/neso.spec
@@ -0,0 +1,67 @@
+%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 major 1.8
+
+Name: neso
+Version: 1.8.0
+Release: 2%{?dist}
+Summary: Standalone Client/Server for the Tryton Application Platform
+
+Group: Development/Languages
+License: GPLv3+
+URL: http://www.tryton.org
+Source0: http://downloads.tryton.org/%{major}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: desktop-file-utils
+Requires: tryton
+Requires: tryton(kernel) = %{major}
+Requires: trytond-sqlite
+
+
+%description
+The client/server of the Tryton application platform.
+A three-tiers high-level general purpose application platform
+written in Python and use SQLite as database engine.
+It is the core base of an Open Source ERP.
+It provides modularity, scalability and security.
+
+
+%prep
+%setup -q
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGELOG COPYRIGHT INSTALL LICENSE README
+%{_bindir}/%{name}
+%{python_sitelib}/*
+%{_datadir}/applications/%{name}.desktop
+
+
+%changelog
+* Wed Jan 19 2011 Dan Horák <dan[at]danny.cz> - 1.8.0-2
+- little update before submitting to review
+
+* Wed Nov 17 2010 Dan Horák <dan[at]danny.cz> - 1.8.0-1
+- initial Fedora package
diff --git a/sources b/sources
index e69de29..eb1c270 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+385488dc4b23f5be3af670e6b0c36a3c neso-1.8.0.tar.gz
More information about the scm-commits
mailing list