hollywood/hollywood.spec

102 lines
3.2 KiB
RPMSpec

#
# spec file for package hollywood
#
# Copyright (c) 2016 Sebastian Wagner <sebix+novell.com@sebix.at>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define commit 718960725551c64a2419aab9bd8b60ee0b95b762
Name: hollywood
Version: 1.12
Release: 0
License: Apache-2.0
# TOOD: share/hollywood/mi.mp4 is CC0-1.0
Summary: Fill your console with Hollywood melodrama technobabble
Url: http://launchpad.net/hollywood
Group: Applications/Other
Source: https://github.com/dustinkirkland/hollywood/archive/%commit.zip
Patch0: tmux-version-comp.patch
BuildRequires: unzip
#Requires: byobu
#Requires: apg
Requires: bmon
Requires: bsdmainutils
Requires: coreutils
Requires: ccze
Requires: cmatrix
Requires: htop
Requires: jp2a
Requires: mlocate
Requires: moreutils
Requires: mplayer
Requires: openssh-client
Requires: speedometer
Requires: tmux
Requires: tree
Requires: vim
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%package -n wallstreet
Summary: Fill your console with Wall Street-like news and stats
#Requires: byobu
Requires: caca-utils
Requires: newsbeuter
Requires: perl-base
Requires: python3-minimal
Requires: rsstail
Requires: ticker
Requires: wget
Requires: w3m
%description
This utility will split your console into a multiple panes of genuine
technobabble, perfectly suitable for any Hollywood geek melodrama.
It is particularly suitable on any number of computer consoles in the
background of any excellent schlock technothriller.
%description -n wallstreet
This utility will split your console into a multiple panes of news
and statistics, like any good computer screen on Wall Street.
%prep
%setup -n %name-%commit
%patch0 -p1
%build
%install
%{__install} -Dm 0755 -t %{buildroot}%{_bindir} bin/hollywood
%{__install} -Dm 0755 -t %{buildroot}%{_libexecdir}/hollywood/ lib/hollywood/*
%{__install} -Dm 0644 -t %{buildroot}%{_mandir}/man1/ share/man/man1/hollywood.1
%{__install} -Dm 0644 -t %{buildroot}%{_datarootdir}/hollywood/ share/hollywood/*
%{__install} -Dm 0755 bin/wallstreet %{buildroot}%{_bindir}
%{__install} -Dm 0755 -t %{buildroot}%{_libexecdir}/wallstreet/ lib/wallstreet/*
%{__install} -Dm 0644 -t %{buildroot}%{_datarootdir}/wallstreet share/wallstreet/*
%files
%defattr(-,root,root)
%_bindir/hollywood
%_libexecdir/hollywood/
%{_mandir}/man1/hollywood.1*
%{_datarootdir}/hollywood
%files -n wallstreet
%defattr(-,root,root)
%_bindir/wallstreet
%_libexecdir/wallstreet/
%{_datarootdir}/wallstreet
%changelog