14
0
forked from pool/python-pycdio

Accepting request 620213 from devel:languages:python

- 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

OBS-URL: https://build.opensuse.org/request/show/620213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycdio?expand=0&rev=2
This commit is contained in:
2018-07-02 21:34:00 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 19 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24b4985b699fc4d12c2d49f7cb25a1ceb65d69278d18458f7b041579c71030d7
size 197736

3
pycdio-2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:128e9ae12233f7e5a9a2be6d03d2d836a04d99b44c41dc9312ca14ea2a0530a8
size 242131

View File

@@ -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

View File

@@ -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