From 8535c6b77fc76eb0e87a8a13e8df6d19c11104ee1dfe42bb591d37afd57a35eb Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Fri, 16 Apr 2010 23:52:52 +0000 Subject: [PATCH] 0.16 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycdio?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + pycdio-0.16.tar.bz2 | 3 +++ python-pycdio.changes | 5 +++++ python-pycdio.spec | 52 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 84 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pycdio-0.16.tar.bz2 create mode 100644 python-pycdio.changes create mode 100644 python-pycdio.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pycdio-0.16.tar.bz2 b/pycdio-0.16.tar.bz2 new file mode 100644 index 0000000..c701092 --- /dev/null +++ b/pycdio-0.16.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:387f30a3b7abfb41396902d13d3688327e97aa60a4f729c44859ae2095b5b79f +size 163300 diff --git a/python-pycdio.changes b/python-pycdio.changes new file mode 100644 index 0000000..3dee6f2 --- /dev/null +++ b/python-pycdio.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Apr 16 23:51:13 UTC 2010 - pascal.bleser@opensuse.org + +- initial package (0.16) + diff --git a/python-pycdio.spec b/python-pycdio.spec new file mode 100644 index 0000000..822f8cf --- /dev/null +++ b/python-pycdio.spec @@ -0,0 +1,52 @@ +# norootforbuild + +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} + +Name: python-pycdio +Version: 0.16 +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) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: python python-devel python-setuptools +BuildRequires: libcdio-devel pkgconfig gcc glibc-devel swig +%py_requires + +%description +pycdio is a Python interface to the CD Input and Control library (libcdio). + +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. + +%debug_package +%prep +%setup -q -n "pycdio-%{version}" + +%build +%__python ./setup.py build + +%install +%__python ./setup.py install \ + --prefix="%{_prefix}" \ + --root="%{buildroot}" \ + --record-rpm=files.lst + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f files.lst +%defattr(-,root,root) +%doc README.txt + +%changelog +# vim: set sw=3 ts=3 noet: +# Local Variables: +# mode: rpm-spec +# tab-width: 3 +# End: