14
0
forked from pool/python-pycdio

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/package/show/devel:languages:python/python-pycdio?expand=0&rev=7
This commit is contained in:
2018-07-02 10:26:14 +00:00
committed by Git OBS Bridge
parent 6e4036cc74
commit d0d8a77e8f
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 Wed Feb 4 13:14:20 UTC 2015 - lnussel@suse.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pycdio # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,19 @@
Name: python-pycdio Name: python-pycdio
Version: 0.20 Version: 2.0.0
Release: 0 Release: 0
Summary: Python Bindings for the CDIO Library Summary: Python Bindings for the CDIO Library
License: GPL-3.0+ License: GPL-3.0-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
Url: http://pypi.python.org/pypi/pycdio/ Url: http://pypi.python.org/pypi/pycdio/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: libcdio-devel BuildRequires: libcdio-devel
BuildRequires: pkgconfig BuildRequires: python-rpm-macros
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: swig BuildRequires: swig
%if 0%{?suse_version} <= 1110 %python_subpackages
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%description %description
pycdio is a Python interface to the CD Input and Control library (libcdio). 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} %setup -q -n pycdio-%{version}
%build %build
CFLAGS="%{optflags}" python setup.py build export CFLAGS="%{optflags}"
%python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%files %files %{python_files}
%defattr(-,root,root) %license COPYING
%doc ChangeLog COPYING README.txt THANKS %doc ChangeLog README.rst THANKS
%{python_sitearch} %{python_sitearch}
%changelog %changelog