2012-10-08 15:58:02 +00:00
|
|
|
%global with_python3 1
|
2005-08-29 16:49:49 +00:00
|
|
|
|
2007-01-03 15:50:02 +00:00
|
|
|
Name: pyxdg
|
2018-07-23 18:49:19 +00:00
|
|
|
Version: 0.26
|
2018-11-30 16:52:03 +00:00
|
|
|
Release: 3%{?dist}
|
2007-01-03 15:50:02 +00:00
|
|
|
Summary: Python library to access freedesktop.org standards
|
|
|
|
Group: Development/Libraries
|
2007-08-02 13:38:50 +00:00
|
|
|
License: LGPLv2
|
2007-01-03 15:50:02 +00:00
|
|
|
URL: http://freedesktop.org/Software/pyxdg
|
2018-07-23 18:49:19 +00:00
|
|
|
Source0: https://pypi.python.org/packages/source/r/PyXDG/%{name}-%{version}.tar.gz
|
2018-11-30 16:52:03 +00:00
|
|
|
# https://gitlab.freedesktop.org/xdg/pyxdg/merge_requests/2
|
2018-11-01 15:58:28 +00:00
|
|
|
Patch0: pyxdg-0.26-fix-OnlyShowIn.patch
|
2018-11-30 16:52:03 +00:00
|
|
|
Patch1: pyxdg-0.26-getType-fix.patch
|
2007-01-03 15:50:02 +00:00
|
|
|
BuildArch: noarch
|
2016-11-21 18:15:48 +00:00
|
|
|
# These are needed for the nose tests.
|
|
|
|
BuildRequires: hicolor-icon-theme
|
|
|
|
BuildRequires: shared-mime-info
|
2005-08-29 16:49:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
PyXDG is a python library to access freedesktop.org standards
|
|
|
|
|
2016-11-21 17:52:41 +00:00
|
|
|
%package -n python2-pyxdg
|
|
|
|
Summary: Python2 library to access freedesktop.org standards
|
|
|
|
Group: Development/Libraries
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
# These are needed for the nose tests.
|
2018-01-31 22:12:14 +00:00
|
|
|
BuildRequires: python2-nose
|
2016-11-21 17:52:41 +00:00
|
|
|
%{?python_provide:%python_provide python2-pyxdg}
|
|
|
|
Provides: pyxdg = %{version}-%{release}
|
|
|
|
Obsoletes: pyxdg < 0.25-10
|
|
|
|
|
|
|
|
%description -n python2-pyxdg
|
|
|
|
PyXDG is a python library to access freedesktop.org standards. This
|
|
|
|
package contains a Python 2 version of PyXDG.
|
|
|
|
|
2012-10-08 15:58:02 +00:00
|
|
|
%if 0%{?with_python3}
|
2016-11-21 17:52:41 +00:00
|
|
|
%package -n python%{python3_pkgversion}-pyxdg
|
2012-10-08 15:58:02 +00:00
|
|
|
Summary: Python3 library to access freedesktop.org standards
|
|
|
|
Group: Development/Libraries
|
2016-11-21 17:52:41 +00:00
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
# These are needed for the nose tests.
|
|
|
|
BuildRequires: python%{python3_pkgversion}-nose
|
|
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-pyxdg}
|
2012-10-08 15:58:02 +00:00
|
|
|
|
2016-11-21 17:52:41 +00:00
|
|
|
%description -n python%{python3_pkgversion}-pyxdg
|
2012-10-08 15:58:02 +00:00
|
|
|
PyXDG is a python library to access freedesktop.org standards. This
|
|
|
|
package contains a Python 3 version of PyXDG.
|
|
|
|
%endif # with_python3
|
|
|
|
|
2005-08-29 16:49:49 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2018-11-01 15:58:28 +00:00
|
|
|
%patch0 -p1 -b .fixOnlyShowIn
|
2018-11-30 16:52:03 +00:00
|
|
|
%patch1 -p1 -b .getType
|
2005-08-29 16:49:49 +00:00
|
|
|
|
|
|
|
%build
|
2016-11-21 17:52:41 +00:00
|
|
|
%py2_build
|
2005-08-29 16:49:49 +00:00
|
|
|
|
2012-10-08 15:58:02 +00:00
|
|
|
%if 0%{?with_python3}
|
2016-11-21 17:52:41 +00:00
|
|
|
%py3_build
|
2012-10-08 15:58:02 +00:00
|
|
|
%endif # with_python3
|
|
|
|
|
2005-08-29 16:49:49 +00:00
|
|
|
%install
|
2012-10-08 15:58:02 +00:00
|
|
|
%if 0%{?with_python3}
|
2016-11-21 17:52:41 +00:00
|
|
|
%py3_install
|
2012-10-08 15:58:02 +00:00
|
|
|
%endif # with_python3
|
|
|
|
|
2016-11-21 17:52:41 +00:00
|
|
|
%py2_install
|
2005-08-29 16:49:49 +00:00
|
|
|
|
2012-10-08 15:58:02 +00:00
|
|
|
%check
|
2018-01-30 04:29:27 +00:00
|
|
|
# icon-test currently fails
|
|
|
|
# https://bugs.freedesktop.org/show_bug.cgi?id=104846
|
|
|
|
nosetests-%{python2_version} || :
|
2012-10-08 15:58:02 +00:00
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
2018-01-30 04:29:27 +00:00
|
|
|
nosetests-%{python3_version} || :
|
2012-10-08 15:58:02 +00:00
|
|
|
%endif # with_python3
|
|
|
|
|
2016-11-21 17:52:41 +00:00
|
|
|
%files -n python2-pyxdg
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README TODO
|
2018-07-23 18:49:19 +00:00
|
|
|
%{python2_sitelib}/xdg
|
|
|
|
%{python2_sitelib}/pyxdg-*.egg-info
|
2005-08-29 16:49:49 +00:00
|
|
|
|
2012-10-08 15:58:02 +00:00
|
|
|
%if 0%{?with_python3}
|
2016-11-21 17:52:41 +00:00
|
|
|
%files -n python%{python3_pkgversion}-pyxdg
|
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog README TODO
|
2012-10-08 15:58:02 +00:00
|
|
|
%{python3_sitelib}/xdg
|
|
|
|
%{python3_sitelib}/pyxdg-*.egg-info
|
|
|
|
%endif #with_python3
|
|
|
|
|
2005-08-29 16:49:49 +00:00
|
|
|
%changelog
|
2018-11-30 16:52:03 +00:00
|
|
|
* Fri Nov 30 2018 Tom Callaway <spot@fedoraproject.org> - 0.26-3
|
|
|
|
- fix incorrect use of Type attribute (bz 1654857)
|
|
|
|
|
2018-11-01 15:58:28 +00:00
|
|
|
* Thu Nov 1 2018 Tom Callaway <spot@fedoraproject.org> - 0.26-2
|
|
|
|
- fix OnlyShowIn (bz 1624651)
|
|
|
|
|
2018-07-23 18:49:19 +00:00
|
|
|
* Mon Jul 23 2018 Tom Callaway <spot@fedoraproject.org> - 0.26-1
|
|
|
|
- update to 0.26
|
|
|
|
|
2018-07-14 02:55:39 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-18 18:28:22 +00:00
|
|
|
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.25-16
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-09 12:04:10 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-31 22:12:14 +00:00
|
|
|
* Wed Jan 31 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.25-14
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
2017-07-27 12:30:50 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 11:08:40 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-12-12 18:44:45 +00:00
|
|
|
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.25-11
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-11-21 17:52:41 +00:00
|
|
|
* Mon Nov 21 2016 Orion Poplawski <orion@cora.nwra.com> - 0.25-10
|
|
|
|
- Ship python2-pyxdg
|
|
|
|
- Enable python 3 builds for EPEL
|
|
|
|
- Use %%license
|
|
|
|
- Modernize spec
|
|
|
|
|
2016-07-19 12:22:55 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-9
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-02-04 21:34:34 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-11-10 18:02:03 +00:00
|
|
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
|
|
2015-06-18 21:34:39 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-12-04 16:59:23 +00:00
|
|
|
* Thu Dec 4 2014 Tom Callaway <spot@fedoraproject.org> - 0.25-5
|
|
|
|
- fix CVE-2014-1624
|
|
|
|
|
2014-06-08 00:48:54 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 13:55:17 +00:00
|
|
|
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.25-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
|
|
2013-08-04 11:16:34 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-28 20:09:42 +00:00
|
|
|
* Thu Feb 28 2013 Tom Callaway <spot@fedoraproject.org> - 0.25-1
|
|
|
|
- update to 0.25
|
|
|
|
|
2013-02-14 21:02:00 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-07 15:43:21 +00:00
|
|
|
* Wed Nov 7 2012 Tomas Bzatek <tbzatek@redhat.com> - 0.24-1
|
|
|
|
- update to 0.24
|
|
|
|
|
2012-10-26 14:36:34 +00:00
|
|
|
* Fri Oct 26 2012 Tom Callaway <spot@fedoraproject.org> - 0.23-2
|
|
|
|
- gracefully handle kde-config fails
|
|
|
|
|
2012-10-08 15:58:02 +00:00
|
|
|
* Mon Oct 8 2012 Tom Callaway <spot@fedoraproject.org> - 0.23-1
|
|
|
|
- update to 0.23
|
|
|
|
- enable python3
|
|
|
|
|
2012-07-21 11:49:52 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 02:23:54 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 07:52:22 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 06:08:11 +00:00
|
|
|
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.19-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2010-06-29 15:21:27 +00:00
|
|
|
* Wed Apr 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 0.19-1
|
|
|
|
- update to 0.19
|
|
|
|
|
2009-08-20 02:09:25 +00:00
|
|
|
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-1
|
|
|
|
- update to 0.17
|
|
|
|
|
2009-07-27 01:38:59 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 00:32:51 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 06:22:19 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.16-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-10-30 19:01:20 +00:00
|
|
|
* Thu Oct 30 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.16-1
|
|
|
|
- update to 0.16
|
|
|
|
- fix indent bug in DesktopEntry.py (bz 469229)
|
|
|
|
|
2008-04-05 23:10:34 +00:00
|
|
|
* Sat Apr 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.15-6
|
|
|
|
- add egg-info (fixes FTBFS bz 440813)
|
|
|
|
|
2007-01-03 15:50:02 +00:00
|
|
|
* Wed Jan 3 2007 Patrice Dumas <pertusus@free.fr> - 0.15-5
|
|
|
|
- remove requires for python-abi (automatic now) and python directory
|
|
|
|
- remove package name from summary
|
|
|
|
- change tabs to spaces
|
|
|
|
|
2006-12-21 13:28:09 +00:00
|
|
|
* Thu Dec 21 2006 Patrice Dumas <pertusus@free.fr> - 0.15-4
|
|
|
|
- rebuild for python 2.5
|
|
|
|
|
2006-09-23 14:36:58 +00:00
|
|
|
* Sat Sep 23 2006 Tom "spot" Callaway <tcallawa@redhat.com> - 0.15-3
|
|
|
|
- rebuild for fc6
|
|
|
|
|
2006-02-15 06:54:00 +00:00
|
|
|
* Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.15.2
|
|
|
|
- Rebuild for Fedora Extras 5
|
|
|
|
|
2005-10-14 20:29:41 +00:00
|
|
|
* Fri Oct 14 2005 John Mahowald <jpmahowald@gmail.com> - 0.15-1
|
|
|
|
- Rebuilt for 0.15
|
|
|
|
|
2005-08-29 16:49:49 +00:00
|
|
|
* Sun Jul 03 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.14-2
|
2005-10-14 20:29:41 +00:00
|
|
|
- Added %%{?dist} tag to release
|
2005-08-29 16:49:49 +00:00
|
|
|
- BuildArch: noarch
|
|
|
|
- Removed unneccesary CLFAGS
|
|
|
|
|
|
|
|
* Sun Jun 05 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.14-1
|
|
|
|
- Rebuilt for 0.14
|
|
|
|
|
|
|
|
* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.13-1
|
|
|
|
- Rebuilt for 0.13
|
|
|
|
|
|
|
|
* Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.12-1
|
|
|
|
- Rebuilt for 0.12
|
|
|
|
|
|
|
|
* Sat May 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.11-1
|
|
|
|
- Rebuilt for 0.11
|
|
|
|
|
|
|
|
* Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.10-1
|
|
|
|
- Adapt to Fedora Extras template, based on spec from NewRPMs
|
|
|
|
|
|
|
|
* Tue Dec 14 2004 Che
|
|
|
|
- initial rpm release
|
|
|
|
|
|
|
|
|