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 11)
Currently displaying revision
11
,
Show latest
# # spec file for package get_iplayer # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: get_iplayer Version: 3.29 Release: 0 Summary: Downloads H.264 BBC IPlayer TV, Radio, and Podcast Programs License: GPL-3.0-only Group: Productivity/Networking/File-Sharing URL: https://www.infradead.org/get_iplayer/html/get_iplayer.html Source0: https://github.com/get-iplayer/get_iplayer/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: get_iplayer.options Source2: sysconfig.get_iplayer Source3: get_iplayer_pvr BuildRequires: update-desktop-files Requires: AtomicParsley Requires: ffmpeg Requires: perl(CGI) Requires: perl(CGI::Cookie) Requires: perl(Cwd) Requires: perl(Encode) Requires: perl(Env) Requires: perl(Fcntl) Requires: perl(File::Basename) Requires: perl(File::Copy) Requires: perl(File::Path) Requires: perl(File::Spec) Requires: perl(File::stat) Requires: perl(Getopt::Long) Requires: perl(HTML::Entities) Requires: perl(HTML::Parser) Requires: perl(HTTP::Cookies) Requires: perl(HTTP::Headers) Requires: perl(IO::File) Requires: perl(IO::Handle) Requires: perl(IO::Seekable) Requires: perl(IO::Select) Requires: perl(IO::Socket) Requires: perl(IPC::Open3) Requires: perl(JSON::PP) Requires: perl(LWP::ConnCache) Requires: perl(LWP::Protocol::https) Requires: perl(LWP::UserAgent) Requires: perl(List::Util) Requires: perl(Mojo::UserAgent) Requires: perl(PerlIO::encoding) Requires: perl(Socket) Requires: perl(Storable) Requires: perl(Symbol) Requires: perl(Text::ParseWords) Requires: perl(Text::Wrap) Requires: perl(Time::Local) Requires: perl(Time::Piece) Requires: perl(URI) Requires: perl(Unicode::Normalize) Requires: perl(XML::LibXML) Requires: perl(XML::LibXML::XPathContext) Requires(post): %fillup_prereq BuildArch: noarch %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 %autosetup -p1 # Fix shebang sed -i "/^#.*perl/c#\!$(which perl)" get_iplayer get_iplayer.cgi %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}%{_sysconfdir}/%{name} install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/options # Install pvr files install -Dm 0755 get_iplayer.cgi %{buildroot}%{_datadir}/%{name}/get_iplayer.cgi mkdir -p %{buildroot}%{_fillupdir} install -Dm 0644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.get_iplayer install -Dm 0755 %{SOURCE3} %{buildroot}%{_bindir}/get_iplayer_pvr # 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 Terminal=false Type=Application StartupNotify=false Categories=Internet;FileTransfer; EOF %suse_update_desktop_file -i get_iplayer_pvr %post pvr %fillup_only %files %license LICENSE.txt %doc README.md %{_bindir}/get_iplayer %{_mandir}/man1/get_iplayer.1%{?ext_man} %dir %{_sysconfdir}/%{name} %config (noreplace) %{_sysconfdir}/%{name}/options %files pvr %{_bindir}/get_iplayer_pvr %{_datadir}/%{name} %{_fillupdir}/sysconfig.%{name} %{_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
.