don't provide/obsolete pyxdg [release 0.26-4mamba;Wed Sep 30 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:54:21 +01:00
parent 48307cec41
commit 32742bb4e1
2 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,11 @@
# python-xdg0
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

90
python-xdg0.spec Normal file
View File

@ -0,0 +1,90 @@
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