2005-08-29 16:49:49 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
2007-01-03 15:50:02 +00:00
|
|
|
Name: pyxdg
|
2008-10-30 19:01:20 +00:00
|
|
|
Version: 0.16
|
2009-02-27 00:32:51 +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
|
|
|
|
Source0: http://www.freedesktop.org/~lanius/%{name}-%{version}.tar.gz
|
2008-10-30 19:01:20 +00:00
|
|
|
Patch0: pyxdg-0.16-indentfix-bz469229.patch
|
2007-01-03 15:50:02 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2005-08-29 16:49:49 +00:00
|
|
|
|
2007-01-03 15:50:02 +00:00
|
|
|
BuildRequires: python-devel
|
2005-08-29 16:49:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
PyXDG is a python library to access freedesktop.org standards
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2008-10-30 19:01:20 +00:00
|
|
|
%patch0 -p1 -b .indentfix
|
2005-08-29 16:49:49 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog README TODO
|
|
|
|
%{python_sitelib}/xdg
|
2008-04-05 23:10:34 +00:00
|
|
|
%{python_sitelib}/pyxdg-*.egg-info
|
2005-08-29 16:49:49 +00:00
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|
|
|
|
|