%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} Name: christine Version: 0.5.0 Release: 0%{?dist} Summary: Christine is a small media player Group: Applications/Multimedia License: GPLv2 URL: http://sourceforge.net/projects/christine/ Source0: http://hivelocity.dl.sourceforge.net/sourceforge/%{name}/%{version}/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: gtk2-devel >= 2.12 BuildRequires: pygtk2-devel >= 2.12 BuildRequires: python-devel >= 2.5 BuildRequires: pygtk2-libglade >= 2.12 Requires: pygtk2 >= 2.12 Requires: python >= 2.5 Requires: python-mutagen Requires: gstreamer-python Requires: sqlite %description This is Christine a new Python, GTK+, GStreamer based media player. It is intended to be beautiful, useful and fat free. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING %{_bindir}/* %{python_sitelib}/libchristine %{_datadir}/applications/christine.desktop %{_datadir}/%{name}/ %changelog * Thu Jul 23 2009 Juan Rodriguez - 0.4.0-0 - Initial RPM release