This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
python-xdg0/python-xdg0.spec

91 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-xdg0
Version: 0.26
Release: 4mamba
Summary: A python library to access freedesktop.org standards
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.python.org/pypi/pyxdg
Source: https://pypi.debian.net/pyxdg/pyxdg-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Provides: python-xdg
Obsoletes: python-xdg
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n pyxdg-%{version}
%build
python setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
--root=%{buildroot} \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%doc AUTHORS COPYING
#ChangeLog README TODO
%changelog
* Wed Sep 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.26-4mamba
- don't provide/obsolete pyxdg
* Tue Sep 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.26-3mamba
- python 2 legacy package
* Sun Mar 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.26-2mamba
- rebuilt with -py36 support package
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 0.26-1mamba
- automatic version update by autodist
* Sun Nov 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-3mamba
- really rebuild with python 2.7
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25-2mamba
- rebuilt with python 2.7
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 0.25-1mamba
- update to 0.25
* Thu Apr 15 2010 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- automatic update by autodist
* Tue Jan 12 2010 Automatic Build System <autodist@mambasoft.it> 0.18-1mamba
- automatic update by autodist
* Thu Dec 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17-1mamba
- update to 0.17
* Wed Apr 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15-1mamba
- package created by autospec