Author: oget
Update of /cvs/free/rpms/python-vlc/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5747/F-11
Modified Files:
.cvsignore sources
Added Files:
python-vlc-snapshot.sh python-vlc.spec
Log Message:
* Fri Jun 19 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
1.0.0-0.2.90
- Remove COPYING file
* Sat May 30 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
1.0.0-0.1.90
- New checkout from 1.0-bugfix
- Some specfile clean-up
* Sun Feb 08 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
0.9.8a-1.20090218git
- Package python-vlc separately since vlc doesn't provide it in its tarball anymore.
--- NEW FILE python-vlc-snapshot.sh ---
#!/bin/bash
set -e
tmp=$(mktemp -d)
trap cleanup EXIT
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH
pwd=$(pwd)
sdate=$(date +%Y%m%d)
name=python-vlc
pushd "$tmp" > /dev/null
# Because git sucks, we download the entire vlc tree:
git clone
git://git.videolan.org/vlc.git
pushd vlc > /dev/null
git checkout origin/1.0-bugfix
pushd bindings/python/ > /dev/null
python setup.py sdist
pushd dist > /dev/null
for file in *.tar.gz; do
mv $file "$pwd"/
echo "Wrote: " $file
done
popd > /dev/null
popd > /dev/null
popd > /dev/null
popd > /dev/null
--- NEW FILE python-vlc.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%global ver_min .90
Name: python-vlc
Version: 1.0.0
Release: 0.2%{ver_min}%{?dist}
Summary: VLC Media Player binding for Python
Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.videolan.org/
Source0: %{name}-%{version}%{ver_min}.tar.gz
Source9: %{name}-snapshot.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: vlc-devel
%description
This package provides a python interface to control VLC Media Player.
%prep
%setup -q -n %{name}-%{version}%{ver_min}
%build
CFLAGS="$RPM_OPT_FLAGS" python -c 'import setuptools;
execfile("setup.py")' build
%install
rm -rf $RPM_BUILD_ROOT
python -c 'import setuptools; execfile("setup.py")' install --skip-build
--root $RPM_BUILD_ROOT
# Correct the permission of the script
chmod +x $RPM_BUILD_ROOT%{python_sitearch}/vlcwidget.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{python_sitearch}/*egg-info
%{python_sitearch}/vlc.so
%{python_sitearch}/vlcwidget.py*
%changelog
* Fri Jun 19 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
1.0.0-0.2.90
- Remove COPYING file
* Sat May 30 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
1.0.0-0.1.90
- New checkout from 1.0-bugfix
- Some specfile clean-up
* Sun Feb 08 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com>
0.9.8a-1.20090218git
- Package python-vlc separately since vlc doesn't provide it in its tarball anymore.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/python-vlc/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jun 2009 18:11:57 -0000 1.1
+++ .cvsignore 22 Jun 2009 20:08:37 -0000 1.2
@@ -0,0 +1 @@
+python-vlc-1.0.0.90.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/python-vlc/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jun 2009 18:11:57 -0000 1.1
+++ sources 22 Jun 2009 20:08:37 -0000 1.2
@@ -0,0 +1 @@
+4e6aa58b6b54bcd460f9a3985656379d python-vlc-1.0.0.90.tar.gz