diff --git a/pycdio-0.20.tar.gz b/pycdio-0.20.tar.gz deleted file mode 100644 index 71e5867..0000000 --- a/pycdio-0.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24b4985b699fc4d12c2d49f7cb25a1ceb65d69278d18458f7b041579c71030d7 -size 197736 diff --git a/pycdio-2.0.0.tar.gz b/pycdio-2.0.0.tar.gz new file mode 100644 index 0000000..7f3aa9e --- /dev/null +++ b/pycdio-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:128e9ae12233f7e5a9a2be6d03d2d836a04d99b44c41dc9312ca14ea2a0530a8 +size 242131 diff --git a/python-pycdio.changes b/python-pycdio.changes index d290539..d1eac5e 100644 --- a/python-pycdio.changes +++ b/python-pycdio.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Jul 2 10:22:29 UTC 2018 - dmueller@suse.com + +- update to 2.0.0: + - Update to libcdio 2.0.0 API + - remove old compability code before 2.0.0 + - Update Python packaging info +- switch to singlespec + ------------------------------------------------------------------- Wed Feb 4 13:14:20 UTC 2015 - lnussel@suse.de diff --git a/python-pycdio.spec b/python-pycdio.spec index 61c05e8..30f4bf5 100644 --- a/python-pycdio.spec +++ b/python-pycdio.spec @@ -1,7 +1,7 @@ # # spec file for package python-pycdio # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,19 @@ Name: python-pycdio -Version: 0.20 +Version: 2.0.0 Release: 0 -Summary: Python Bindings for the CDIO Library -License: GPL-3.0+ +Summary: Python Bindings for the CDIO Library +License: GPL-3.0-or-later Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz Url: http://pypi.python.org/pypi/pycdio/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: libcdio-devel -BuildRequires: pkgconfig -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: swig -%if 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif +%python_subpackages %description pycdio is a Python interface to the CD Input and Control library (libcdio). @@ -45,14 +42,15 @@ properties of a CD-ROM can use this library. %setup -q -n pycdio-%{version} %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files -%defattr(-,root,root) -%doc ChangeLog COPYING README.txt THANKS +%files %{python_files} +%license COPYING +%doc ChangeLog README.rst THANKS %{python_sitearch} %changelog