summaryrefslogtreecommitdiff
path: root/python-trytond-company.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 06:57:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 06:57:28 +0000
commitc67a965d3d67ee321ae51dc24768bc3e285cd9e2 (patch)
tree16cdae4e5766e427c9d1da1f22e2f589ef40316c /python-trytond-company.spec
parent9dc57149f8502977f761d4423b6480ad0476a947 (diff)
automatic import of python-trytond-companyopeneuler20.03
Diffstat (limited to 'python-trytond-company.spec')
-rw-r--r--python-trytond-company.spec106
1 files changed, 106 insertions, 0 deletions
diff --git a/python-trytond-company.spec b/python-trytond-company.spec
new file mode 100644
index 0000000..3ef096d
--- /dev/null
+++ b/python-trytond-company.spec
@@ -0,0 +1,106 @@
+%global _empty_manifest_terminate_build 0
+Name: python-trytond-company
+Version: 6.8.0
+Release: 1
+Summary: Tryton module with companies and employees
+License: GPL-3
+URL: http://www.tryton.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/89/5c/ed67ce59aba39601956a9dece02716f7bd57e925cf993a503d653c6b6d65/trytond_company-6.8.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-sql
+Requires: python3-trytond-currency
+Requires: python3-trytond-party
+Requires: python3-trytond
+
+%description
+##############
+Company Module
+##############
+
+The *Company Module* allows the business that is using Tryton to be
+represented inside Tryton.
+This may be a single company or multiple companies.
+It also allows recording which employees belong to which companies and
+what their organisational structure is.
+
+
+
+%package -n python3-trytond-company
+Summary: Tryton module with companies and employees
+Provides: python-trytond-company
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-trytond-company
+##############
+Company Module
+##############
+
+The *Company Module* allows the business that is using Tryton to be
+represented inside Tryton.
+This may be a single company or multiple companies.
+It also allows recording which employees belong to which companies and
+what their organisational structure is.
+
+
+
+%package help
+Summary: Development documents and examples for trytond-company
+Provides: python3-trytond-company-doc
+%description help
+##############
+Company Module
+##############
+
+The *Company Module* allows the business that is using Tryton to be
+represented inside Tryton.
+This may be a single company or multiple companies.
+It also allows recording which employees belong to which companies and
+what their organisational structure is.
+
+
+
+%prep
+%autosetup -n trytond-company-6.8.0
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-trytond-company -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 6.8.0-1
+- Package Spec generated