|
|
f6fc615 |
# -*- rpm-spec -*-
|
|
|
f6fc615 |
%if 0%{?rhel} && 0%{?rhel} <= 5
|
|
|
f6fc615 |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
f6fc615 |
%endif
|
|
|
f6fc615 |
|
|
|
9692c1a |
%global tryton_major 2.6
|
|
|
f6fc615 |
%global modname account-invoice-history
|
|
|
f6fc615 |
%global pkgname %(echo \"%{name}\" | sed 's/-/_/g')
|
|
|
f6fc615 |
|
|
|
f6fc615 |
Name: trytond-%{modname}
|
|
|
9692c1a |
Version: 2.6.0
|
|
|
42e32f8 |
Release: 6%{?dist}
|
|
|
f6fc615 |
Summary: %{modname} module for Tryton
|
|
|
f6fc615 |
|
|
|
f6fc615 |
Group: System Environment/Libraries
|
|
|
f6fc615 |
License: GPLv3+
|
|
|
f6fc615 |
URL: http://www.tryton.org
|
|
|
f6fc615 |
Source0: http://downloads.tryton.org/%{tryton_major}/%{pkgname}-%{version}.tar.gz
|
|
|
f6fc615 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f6fc615 |
|
|
|
f6fc615 |
BuildArch: noarch
|
|
|
f6fc615 |
BuildRequires: python2-devel
|
|
|
f6fc615 |
BuildRequires: python-setuptools
|
|
|
f6fc615 |
|
|
|
f6fc615 |
Requires: tryton(kernel) = %{tryton_major}
|
|
|
f6fc615 |
Requires: trytond-account-invoice
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%description
|
|
|
f6fc615 |
%{modname} module for Tryton application server.
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%prep
|
|
|
f6fc615 |
%setup -q -n %{pkgname}-%{version}
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%build
|
|
|
f6fc615 |
%{__python} setup.py build
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%install
|
|
|
f6fc615 |
rm -rf %{buildroot}
|
|
|
f6fc615 |
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%clean
|
|
|
f6fc615 |
rm -rf %{buildroot}
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%files
|
|
|
f6fc615 |
%defattr(-,root,root,-)
|
|
|
f6fc615 |
%doc CHANGELOG COPYRIGHT INSTALL LICENSE README
|
|
|
f6fc615 |
%{python_sitelib}/trytond/modules/*
|
|
|
f6fc615 |
%{python_sitelib}/%{pkgname}-%{version}-*.egg-info
|
|
|
f6fc615 |
|
|
|
f6fc615 |
|
|
|
f6fc615 |
%changelog
|
|
|
42e32f8 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-6
|
|
|
42e32f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
42e32f8 |
|
|
|
78a567b |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-5
|
|
|
78a567b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
78a567b |
|
|
|
746afa9 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-4
|
|
|
746afa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
746afa9 |
|
|
|
47283b2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
|
|
|
47283b2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
47283b2 |
|
|
|
67bd287 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
|
|
|
67bd287 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
67bd287 |
|
|
|
9692c1a |
* Sat Oct 27 2012 Dan Horák <dan@danny.cz> - 2.6.0-1
|
|
|
9692c1a |
- new upstream version 2.6.0
|
|
|
9692c1a |
|
|
|
3ef431f |
* Wed Sep 05 2012 Dan Horák <dan@danny.cz> - 2.4.2-1
|
|
|
3ef431f |
- new upstream version 2.4.2
|
|
|
3ef431f |
|
|
|
4525e33 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-2
|
|
|
4525e33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4525e33 |
|
|
|
38ee9ce |
* Mon Jun 04 2012 Dan Horák <dan@danny.cz> - 2.4.1-1
|
|
|
38ee9ce |
- new upstream version 2.4.1
|
|
|
38ee9ce |
|
|
|
bfb776a |
* Sun Jan 15 2012 Dan Horák <dan@danny.cz> - 2.2.0-1
|
|
|
bfb776a |
- new upstream version 2.2.0
|
|
|
bfb776a |
|
|
|
ac898e7 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
|
|
|
ac898e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ac898e7 |
|
|
|
ae00fba |
* Tue May 03 2011 Dan Horák <dan@danny.cz> - 2.0.0-1
|
|
|
ae00fba |
- new upstream version 2.0.0
|
|
|
ae00fba |
|
|
|
2cf860e |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-4
|
|
|
2cf860e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
2cf860e |
|
|
|
f6fc615 |
* Thu Jan 20 2011 Dan Horák <dan[at]danny.cz> - 1.8.0-3
|
|
|
f6fc615 |
- initial Fedora package
|