From 2fabbba2bfe2ef6cb510239e2b5dcddfebe4d6dd Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Mon, 14 Jun 2010 09:49:07 +0800 Subject: sopcast-player 0.3.2 from upstream --- osdlyrics/F-13/osdlyrics.spec | 1 - sopcast-player/F-13/sopcast-player.spec | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 sopcast-player/F-13/sopcast-player.spec diff --git a/osdlyrics/F-13/osdlyrics.spec b/osdlyrics/F-13/osdlyrics.spec index e845686..8be17ac 100644 --- a/osdlyrics/F-13/osdlyrics.spec +++ b/osdlyrics/F-13/osdlyrics.spec @@ -68,7 +68,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Sun Jun 13 2010 Robin Lee - 0.3.20100604-2 - Spec file massively rewritten -- Updated to 0.3.20100604 * Wed Jun 09 2010 Liang Suilong 0.3.20100604-1 - Add Juk and Qmmp support diff --git a/sopcast-player/F-13/sopcast-player.spec b/sopcast-player/F-13/sopcast-player.spec new file mode 100644 index 0000000..d907f59 --- /dev/null +++ b/sopcast-player/F-13/sopcast-player.spec @@ -0,0 +1,57 @@ +Name: sopcast-player +Version: 0.3.2 +Release: 1%{?dist} +Group: Applications/Internet +Summary: A GUI front-end to SopCast +License: GPLv2+ +URL: http://code.google.com/p/sopcast-player/ +Source0: http://sopcast-player.googlecode.com/files/%{name}-%{version}.tar.gz +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gettext python-setuptools desktop-file-utils +Requires: python >= 2.4.3 vlc >= 0.9.4 vlc-devel >= 0.9.4 sp-auth >= 3.0.1 +Requires: hicolor-icon-theme pygtk2-libglade + +%description +SopCast Player is designed to be an easy to use Linux GUI front-end for the p2p +streaming technology developed by SopCast. SopCast Player features an +integrated video player, a channel guide, and bookmarks. Once SopCast Player is +installed it simply "just works" with no required configuration. + +%prep +%setup -q -n %{name} + +%build +make INSTALLDIR=%{_libdir}/%{name} %{?_smp_flags} + +%install +rm -fr %{buildroot} +make install INSTALLDIR=%{_libdir}/%{name} DESTDIR=%{buildroot} +desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop +%find_lang %{name} + +%clean +rm -fr %{buildroot} + +%post +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%postun +touch --no-create %{_datadir}/icons/hicolor +if [ -x %{_bindir}/gtk-update-icon-cache ] ; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/%{name} +%{_libdir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg + +%changelog +* Sun Feb 17 2009 Orcan Ogetbil - 0.3.1-1 +- Initial build -- cgit