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:
committed by
Git OBS Bridge
parent
d6c16c15e6
commit
2922257432
@@ -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
3
pycdio-0.20.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:24b4985b699fc4d12c2d49f7cb25a1ceb65d69278d18458f7b041579c71030d7
|
||||||
|
size 197736
|
@@ -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
|
Sun Jun 05 21:50:43 UTC 2011 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -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
|
Name: python-pycdio
|
||||||
Version: 0.17
|
Version: 0.20
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Bindings for the CDIO Library
|
Summary: Python Bindings for the CDIO Library
|
||||||
# http://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/p/pycdio/pycdio-%{version}.tar.gz
|
||||||
Source: pycdio-%{version}.tar.bz2
|
Url: http://pypi.python.org/pypi/pycdio/
|
||||||
URL: http://pypi.python.org/pypi/pycdio/
|
Group: Development/Languages/Python
|
||||||
Group: Development/Libraries/Python
|
License: GPL-2.0+
|
||||||
License: GNU General Public License version 2 or later (GPL v2 or later)
|
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||||
BuildRequires: python python-devel python-setuptools
|
BuildRequires: python-devel python-setuptools
|
||||||
BuildRequires: libcdio-devel pkgconfig gcc glibc-devel swig
|
BuildRequires: libcdio-devel
|
||||||
%py_requires
|
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
|
%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).
|
||||||
@@ -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
|
Python programs wishing to be oblivious of the OS- and device-dependent
|
||||||
properties of a CD-ROM can use this library.
|
properties of a CD-ROM can use this library.
|
||||||
|
|
||||||
%if !0%{?packman_bs}
|
|
||||||
%endif
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "pycdio-%{version}"
|
%setup -q -n pycdio-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python ./setup.py build
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python ./setup.py install \
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
--prefix="%{_prefix}" \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--record-rpm=files.lst
|
|
||||||
|
|
||||||
%clean
|
%files
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files -f files.lst
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.txt
|
%doc ChangeLog COPYING README.txt THANKS
|
||||||
|
%{python_sitearch}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user