|
|
4a4f53d |
%global snapdate 20110209
|
|
|
4a4f53d |
%global module openoffice
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
Name: python-%{module}
|
|
|
a0f4c47 |
Version: 0.1
|
|
|
0cf4c19 |
Release: 0.47.%{snapdate}%{?dist}
|
|
|
ff1a87a |
Summary: Python libraries for interacting with LibreOffice
|
|
|
a0f4c47 |
License: GPLv3
|
|
|
ac60c6a |
URL: https://gitorious.org/openoffice-python
|
|
|
ac60c6a |
Source0: https://pypi.python.org/packages/source/o/openoffice-python/%{module}-python-%{version}-%{snapdate}.tar.bz2
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
BuildArch: noarch
|
|
|
ac60c6a |
%if 0%{?rhel} >= 7
|
|
|
3a3d755 |
ExclusiveArch: noarch x86_64
|
|
|
ac60c6a |
%endif
|
|
|
ac60c6a |
BuildRequires: python3-devel
|
|
|
1ab61e8 |
BuildRequires: python3-setuptools
|
|
|
ff73fc9 |
BuildRequires: /usr/bin/2to3
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
|
|
|
b6a8271 |
%global _description\
|
|
|
b6a8271 |
The library is designed to supports both writing Macros (called by OOo) and\
|
|
|
f6084dd |
interacting with OOo from an external Python program (using the UNO bridge).
|
|
|
ac60c6a |
|
|
|
b6a8271 |
%description %_description
|
|
|
b6a8271 |
|
|
|
ac60c6a |
%package -n python3-%{module}
|
|
|
ac60c6a |
Summary: Python 3 libraries for interacting with LibreOffice
|
|
|
ac60c6a |
|
|
|
ac60c6a |
%description -n python3-%{module}
|
|
|
ac60c6a |
The library is designed to supports both writing Macros (called by OOo) and
|
|
|
a0f4c47 |
interacting with OOo from an external Python program (using the UNO bridge).
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
%prep
|
|
|
ac60c6a |
%setup -q -n %{module}-python-%{version}-%{snapdate}
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
# remove exec perms for docs
|
|
|
a0f4c47 |
chmod a-x sample-scripts/*
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
# remove the shebang line
|
|
|
a0f4c47 |
sed -i -e '1d' %{module}/streams.py
|
|
|
5d33965 |
sed -i -e '1d' %{module}/interact.py
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
%build
|
|
|
ac60c6a |
2to3 -w -n .
|
|
|
f6084dd |
%py3_build
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
%install
|
|
|
f6084dd |
%py3_install
|
|
|
a0f4c47 |
|
|
|
ac60c6a |
%files -n python3-%{module}
|
|
|
f6084dd |
%license COPYING LICENSE-gpl-3.0.txt
|
|
|
f6084dd |
%doc README sample-scripts
|
|
|
ac60c6a |
%{python3_sitelib}/*
|
|
|
a0f4c47 |
|
|
|
a0f4c47 |
%changelog
|
|
|
0cf4c19 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.47.20110209
|
|
|
0cf4c19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
0cf4c19 |
|
|
|
1a49861 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.46.20110209
|
|
|
1a49861 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
1a49861 |
|
|
|
c0d2bb0 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.45.20110209
|
|
|
c0d2bb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
c0d2bb0 |
|
|
|
63550cd |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.1-0.44.20110209
|
|
|
63550cd |
- Rebuilt for Python 3.12
|
|
|
63550cd |
|
|
|
e2bafb4 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.43.20110209
|
|
|
e2bafb4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
e2bafb4 |
|
|
|
eb567f1 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.42.20110209
|
|
|
eb567f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
eb567f1 |
|
|
|
c0bcfc6 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.1-0.41.20110209
|
|
|
c0bcfc6 |
- Rebuilt for Python 3.11
|
|
|
c0bcfc6 |
|
|
|
c0b8ada |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.40.20110209
|
|
|
c0b8ada |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
c0b8ada |
|
|
|
2ebac5e |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.39.20110209
|
|
|
2ebac5e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
2ebac5e |
|
|
|
e4a629c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1-0.38.20110209
|
|
|
e4a629c |
- Rebuilt for Python 3.10
|
|
|
e4a629c |
|
|
|
a61bbbe |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.37.20110209
|
|
|
a61bbbe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a61bbbe |
|
|
|
d6d0464 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.36.20110209
|
|
|
d6d0464 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d6d0464 |
|
|
|
0a38427 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.35.20110209
|
|
|
0a38427 |
- Rebuilt for Python 3.9
|
|
|
0a38427 |
|
|
|
9fcb3de |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.34.20110209
|
|
|
9fcb3de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
9fcb3de |
|
|
|
918c0f7 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.33.20110209
|
|
|
918c0f7 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
918c0f7 |
|
|
|
a0aad3b |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.32.20110209
|
|
|
a0aad3b |
- Rebuilt for Python 3.8
|
|
|
a0aad3b |
|
|
|
96df859 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.31.20110209
|
|
|
96df859 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
96df859 |
|
|
|
525da93 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.30.20110209
|
|
|
525da93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
525da93 |
|
|
|
f6084dd |
* Thu Oct 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1-0.29.20110209
|
|
|
f6084dd |
- Subpackage python2-openoffice has been removed
|
|
|
f6084dd |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
f6084dd |
|
|
|
5ef98e6 |
* Tue Jul 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.28.20110209
|
|
|
5ef98e6 |
- Update Python macros to new packaging standards
|
|
|
5ef98e6 |
(See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)
|
|
|
5ef98e6 |
|
|
|
b0d35de |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.27.20110209
|
|
|
b0d35de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
b0d35de |
|
|
|
007a77c |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.26.20110209
|
|
|
007a77c |
- Rebuilt for Python 3.7
|
|
|
007a77c |
|
|
|
aa057ec |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1-0.25.20110209
|
|
|
aa057ec |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
aa057ec |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
aa057ec |
|
|
|
58afcec |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.24.20110209
|
|
|
58afcec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
58afcec |
|
|
|
b6a8271 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1-0.23.20110209
|
|
|
b6a8271 |
- Python 2 binary package renamed to python2-openoffice
|
|
|
b6a8271 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
b6a8271 |
|
|
|
d6ea39f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.22.20110209
|
|
|
d6ea39f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d6ea39f |
|
|
|
fcc867b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.21.20110209
|
|
|
fcc867b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
fcc867b |
|
|
|
1dff057 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1-0.20.20110209
|
|
|
1dff057 |
- Rebuild for Python 3.6
|
|
|
1dff057 |
|
|
|
5e176d5 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.19.20110209
|
|
|
5e176d5 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
5e176d5 |
|
|
|
aa6e89b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-0.18.20110209
|
|
|
aa6e89b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
aa6e89b |
|
|
|
bd5fccf |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.17.20110209
|
|
|
bd5fccf |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
bd5fccf |
|
|
|
30226f6 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.16.20110209
|
|
|
30226f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
30226f6 |
|
|
|
220bafb |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.15.20110209
|
|
|
220bafb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
220bafb |
|
|
|
b308bbc |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1-0.14.20110209
|
|
|
b308bbc |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
b308bbc |
|
|
|
ac60c6a |
* Thu Mar 20 2014 Dan Horák <dan[at]danny.cz> - 0.1-0.13.20110209
|
|
|
ac60c6a |
- updated to newer snapshot
|
|
|
ac60c6a |
- add python3 variant
|
|
|
ac60c6a |
|
|
|
1a68fb7 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.12.20090228svn34
|
|
|
1a68fb7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1a68fb7 |
|
|
|
5b0f052 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.11.20090228svn34
|
|
|
5b0f052 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5b0f052 |
|
|
|
5f773f3 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.10.20090228svn34
|
|
|
5f773f3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5f773f3 |
|
|
|
6554c0a |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.9.20090228svn34
|
|
|
6554c0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6554c0a |
|
|
|
21c7ee0 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.8.20090228svn34
|
|
|
21c7ee0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
21c7ee0 |
|
|
|
ac60c6a |
* Sat Oct 30 2010 Caolán McNamara <caolanm@redhat.com> - 0.1-0.5.20090228svn34
|
|
|
ff1a87a |
- Rebuild for LibreOffice
|
|
|
ff1a87a |
|
|
|
8e414f9 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.1-0.6.20090228svn34
|
|
|
8e414f9 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
8e414f9 |
|
|
|
ea1ea75 |
* Wed Aug 26 2009 Dan Horák <dan[at]danny.cz> 0.1-0.5.20090228svn34
|
|
|
ea1ea75 |
- fixed Source0 URL
|
|
|
ea1ea75 |
|
|
|
f399af2 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.4.20090228svn34
|
|
|
f399af2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
f399af2 |
|
|
|
5d33965 |
* Fri Mar 6 2009 Dan Horák <dan[at]danny.cz> 0.1-0.3.20090228svn34
|
|
|
5d33965 |
- check %%rhel for the ExcludeArch tag
|
|
|
5d33965 |
- update to new upstream snapshot
|
|
|
5d33965 |
|
|
|
8608432 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.2.20080929svn33
|
|
|
8608432 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8608432 |
|
|
|
5d33965 |
* Wed Dec 10 2008 Dan Horák <dan[at]danny.cz> 0.1-0.1.20080929svn33.1
|
|
|
5d33965 |
- there is no openoffice.org in RHEL 5 on ppc
|
|
|
5d33965 |
|
|
|
a0f4c47 |
* Tue Dec 2 2008 Dan Horák <dan[at]danny.cz> 0.1-0.1.20080929svn33
|
|
|
a0f4c47 |
- initial Fedora version
|