362d562
# -*- rpm-spec -*-
eb847d4
%global tryton_major 4.0
362d562
%global modname  company-work-time
362d562
%global pkgname %(echo \"%{name}\" | sed 's/-/_/g')
362d562
362d562
Name:           trytond-%{modname}
eb847d4
Version:        4.0.1
3b80426
Release:        7%{?dist}
362d562
Summary:        %{modname} module for Tryton
362d562
362d562
License:        GPLv3+
362d562
URL:            http://www.tryton.org
362d562
Source0:        http://downloads.tryton.org/%{tryton_major}/%{pkgname}-%{version}.tar.gz
362d562
362d562
BuildArch:      noarch
eb847d4
BuildRequires:  python3-devel
362d562
362d562
Requires:       tryton(kernel) = %{tryton_major}
362d562
Requires:       trytond-company
362d562
362d562
%description
362d562
%{modname} module for Tryton application server.
362d562
362d562
362d562
%prep
362d562
%setup -q -n %{pkgname}-%{version}
362d562
362d562
362d562
%build
eb847d4
%py3_build
362d562
362d562
362d562
%install
eb847d4
%py3_install
362d562
362d562
362d562
%files
362d562
%doc CHANGELOG COPYRIGHT INSTALL LICENSE README
eb847d4
%{python3_sitelib}/trytond/modules/*/
eb847d4
%{python3_sitelib}/%{pkgname}-%{version}-*.egg-info/
362d562
362d562
362d562
%changelog
3b80426
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-7
3b80426
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3b80426
d91d456
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 4.0.1-6
d91d456
- Rebuilt for Python 3.7
d91d456
5af59e7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-5
5af59e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5af59e7
f2b0101
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-4
f2b0101
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f2b0101
3b5b261
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-3
3b5b261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3b5b261
6945407
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 4.0.1-2
6945407
- Rebuild for Python 3.6
6945407
eb847d4
* Wed Jul 27 2016 Dan Horák <dan@danny.cz> - 4.0.1-1
eb847d4
- new upstream version 4.0.1
eb847d4
08e9418
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-7
08e9418
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
08e9418
f6c0f59
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-6
f6c0f59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f6c0f59
08fd1a3
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-5
08fd1a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
08fd1a3
02e2671
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-4
02e2671
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
02e2671
bee825f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
bee825f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bee825f
4ee97f3
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
4ee97f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4ee97f3
dd1ab5a
* Sat Oct 27 2012 Dan Horák <dan@danny.cz> - 2.6.0-1
dd1ab5a
- new upstream version 2.6.0
dd1ab5a
63e3ca9
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
63e3ca9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
63e3ca9
a3b1853
* Mon Jun 04 2012 Dan Horák <dan@danny.cz> - 2.4.0-1
a3b1853
- new upstream version 2.4.0
a3b1853
7eef542
* Sun Jan 15 2012 Dan Horák <dan@danny.cz> - 2.2.0-1
7eef542
- new upstream version 2.2.0
7eef542
dbab1ed
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
dbab1ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dbab1ed
d82114f
* Tue May 03 2011 Dan Horák <dan@danny.cz> - 2.0.0-1
d82114f
- new upstream version 2.0.0
d82114f
362d562
* Thu Jan 20 2011 Dan Horák <dan[at]danny.cz> - 1.8.0-3
362d562
- initial Fedora package