Projects
Extra
get_iplayer
get_iplayer.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get_iplayer.spec of Package get_iplayer (Revision 3)
Currently displaying revision
3
,
Show latest
# # spec file for package google-talkpluginget_iplayer (2.79+git3b26288) # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: get_iplayer Version: 2.80 Release: 1 License: GPL-3.0 Summary: Downloads H.264 BBC IPlayer TV, Radio, and Podcast Programs Url: http://www.infradead.org/get_iplayer/html/get_iplayer.html Group: Productivity/Networking/File-Sharing Source0: ftp://ftp.infradead.org/pub/get_iplayer/get_iplayer-2.80.tar.gz Source1: get_iplayer.options Source2: sysconfig.get_iplayer Source3: get_iplayer_pvr BuildRequires: ImageMagick BuildRequires: update-desktop-files Requires: MPlayer Requires: lame Requires: perl Requires: perl-libwww-perl Requires: rtmpdump BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch PreReq: %fillup_prereq %description get_iplayer allows a user to download or stream any iPlayer program from the BBC in H.264 (Quicktime/mp4) format, any radio programs in MP3 or RealAudio format (optionally converted to WAV or MP3), and all podcasts in MP3/AAC format. It even downloads the subtitles where available. %package pvr Summary: Web based PVR Manager for %{name} Group: Productivity/Networking/File-Sharing Requires: %{name} = %{version} %description pvr The Worlds most insecure web-based PVR Manager and streaming proxy for get_iplayer ** WARNING ** Never run this in an untrusted environment or facing the internet %prep %setup -q cp windows/installer_files/iplayer_logo.ico . %build #No build required %install install -Dm 0755 get_iplayer %{buildroot}%{_bindir}/get_iplayer mkdir -p %{buildroot}%{_mandir}/man1 install -Dm 0644 get_iplayer.1 %{buildroot}%{_mandir}/man1/ mkdir -p %{buildroot}%{_datadir}/%{name}/plugins install -Dm 0644 plugins/*.plugin %{buildroot}%{_datadir}/%{name}/plugins/ mkdir -p %{buildroot}%{_sysconfdir}/%{name} install -Dm 0644 %{S:1} %{buildroot}%{_sysconfdir}/%{name}/options # Install pvr files install -Dm 0755 get_iplayer.cgi %{buildroot}%{_datadir}/%{name}/get_iplayer.cgi mkdir -p %{buildroot}/var/adm/fillup-templates install -Dm 0644 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.get_iplayer install -Dm 0755 %{S:3} %{buildroot}%{_bindir}/get_iplayer_pvr convert -geometry 48 iplayer_logo.ico iplayer_logo.png # Add desktop file cat > get_iplayer_pvr.desktop <<EOF [Desktop Entry] Encoding=UTF-8 Name=get_iplayer_pvr GenericName=get_iplayer_pvr Comment=get_iplayer Web PVR Manager Exec=get_iplayer_pvr Icon=iplayer_logo Terminal=false Type=Application StartupNotify=false Categories=Internet;FileTransfer; EOF %{__mkdir} -p %{buildroot}%{_datadir}/pixmaps cp iplayer_logo.png %{buildroot}%{_datadir}/pixmaps/iplayer_logo.png %suse_update_desktop_file -i get_iplayer_pvr %post pvr %fillup_only %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc CHANGELOG.txt CONTRIBUTORS LICENSE.txt README.txt %{_bindir}/get_iplayer %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/plugins %{_datadir}/%{name}/plugins/*.plugin %{_mandir}/man1/get_iplayer.1* %dir %{_sysconfdir}/%{name} %config (noreplace) %{_sysconfdir}/%{name}/options %files pvr %defattr(-,root,root,-) %doc CHANGELOG-get_iplayer.cgi.txt LICENSE.txt README-get_iplayer.cgi.txt %{_bindir}/get_iplayer_pvr %{_datadir}/%{name}/get_iplayer.cgi /var/adm/fillup-templates/sysconfig.%{name} %{_datadir}/pixmaps/iplayer_logo.png %{_datadir}/applications/get_iplayer_pvr.desktop %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.