Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 887dc861d168639b88847c28408706a4 > files > 2

pyxdg-0.5-3mdk.src.rpm

#%define installdir /usr/lib/python2.3/site-packages/xdg
%define name      pyxdg
%define version 0.5
%define release 3mdk

Name:             %{name}
Summary:          PyXDG is a 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
Prefix:           %{_prefix}
License:          LGPL
Requires:         python >= 2.3 pythonlib

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

    * Base Directory Specification Version 0.6
    * Menu Specification Version 0.7
    * Desktop Entry Specification Version 0.9.4
    * Icon Theme Specification Version 0.7

%prep
%setup

%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
* Sat Dec 04 2004 Michael Scherer <misc@mandrake.org> 0.5-3mdk
- Rebuild for new python

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

* Mon May 03 2004 Bruno VASTA <bruno.vasta@infodia.fr> 0.5-1mdk
- Initial Mandrake rpm, created with %name-%version