14
0
forked from pool/python-pycdio

Accepting request 208727 from home:posophe:branches:devel:languages:python

update + rebase

OBS-URL: https://build.opensuse.org/request/show/208727
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycdio?expand=0&rev=4
This commit is contained in:
Denisart Benjamin
2013-11-27 17:59:56 +00:00
committed by Git OBS Bridge
parent d6c16c15e6
commit 2922257432
4 changed files with 45 additions and 26 deletions

View File

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

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

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 27 17:58:05 UTC 2013 - p.drouand@gmail.com
- Update to version 0.20
+ Please read the ChangeLog for more news
- Complete rework of specfile
+ Too many changes, sorry
-------------------------------------------------------------------
Sun Jun 05 21:50:43 UTC 2011 - pascal.bleser@opensuse.org

View File

@@ -1,18 +1,36 @@
# vim: set ts=4 sw=4 et:
#
# spec file for package python-pycdio
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-pycdio
Version: 0.17
Version: 0.20
Release: 0
Summary: Python Bindings for the CDIO Library
# http://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
Source: pycdio-%{version}.tar.bz2
URL: http://pypi.python.org/pypi/pycdio/
Group: Development/Libraries/Python
License: GNU General Public License version 2 or later (GPL v2 or later)
Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
Url: http://pypi.python.org/pypi/pycdio/
Group: Development/Languages/Python
License: GPL-2.0+
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: python python-devel python-setuptools
BuildRequires: libcdio-devel pkgconfig gcc glibc-devel swig
%py_requires
BuildRequires: python-devel python-setuptools
BuildRequires: libcdio-devel
BuildRequires: pkgconfig
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
%description
pycdio is a Python interface to the CD Input and Control library (libcdio).
@@ -21,25 +39,18 @@ The pycdio (and libcdio) libraries encapsulate CD-ROM reading and control.
Python programs wishing to be oblivious of the OS- and device-dependent
properties of a CD-ROM can use this library.
%if !0%{?packman_bs}
%endif
%prep
%setup -q -n "pycdio-%{version}"
%setup -q -n pycdio-%{version}
%build
%__python ./setup.py build
CFLAGS="%{optflags}" python setup.py build
%install
%__python ./setup.py install \
--prefix="%{_prefix}" \
--root="%{buildroot}" \
--record-rpm=files.lst
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f files.lst
%files
%defattr(-,root,root)
%doc README.txt
%doc ChangeLog COPYING README.txt THANKS
%{python_sitearch}
%changelog