Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > f5acd94165da88d2753d88319ff035f4 > files > 2

pyxdg-0.15-5mdv2008.1.src.rpm

#%define installdir /usr/lib/python2.3/site-packages/xdg
%define name      pyxdg
%define version 0.15
%define release %mkrel 5

Name:             %{name}
Summary:          Python library to access freedesktop.org standards
Version:          %{version}
Release:          %{release}
Buildarch:        noarch
Source0:          %{name}-%{version}.tar.bz2
URL:              http://www.freedesktop.org/Software/pyxdg
Group:            System/Libraries
BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-buildroot
License:          LGPL
Requires:         python >= 2.3 
BuildRequires:    python-devel

%description
PyXDG is a python library to access freedesktop.org standards. 
Currently supported are:

	* Base Directory Specification Version 0.6 

	* Menu Specification Version 1.0-draft1 

	* Desktop Entry Specification Version 0.9.4 

	* Icon Theme Specification Version 0.8 

	* Recent File Spec 0.2 

	* Shared-MIME-Database Specification 0.13 



%prep
%setup -q

%build
python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO




%changelog
* Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.15-5mdv2008.1
+ Revision: 171070
- rebuild
- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.15-4mdv2008.1
+ Revision: 126274
- kill re-definition of %%buildroot on Pixel's request


* Sat Dec 16 2006 Olivier Blin <oblin@mandriva.com> 0.15-4mdv2007.0
+ Revision: 98135
- remove dot in summary (and rebuild for new python)

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - import pyxdg-0.15-3mdk

* Tue Apr 11 2006 Michael Scherer <misc@mandriva.org> 0.15-3mdk
- remove requires on pythonlib, as this is not needed, and obsoletes
- add -q on package

* Tue Mar 21 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.15-2mdk
- Rebuild
- use mkrel

* Wed Mar 08 2006 Jerome Soyer <saispo@mandriva.org> 0.15-1mdk
- New release 0.15

* Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 0.5-3mdk
- Rebuild for new python

* Thu May 06 2004 Bruno VASTA <bruno.vasta@infodia.fr> 0.5-2mdk
- new method for file generation with python pyxdg-%%versionlog

* Tue May 04 2004 Bruno VASTA <bruno.vasta@infodia.fr> 0.5-1mdk
- Initial Mandrake rpm, created with pyxdg-0.15