Accepting request 447853 from home:sebix
OBS-URL: https://build.opensuse.org/request/show/447853 OBS-URL: https://build.opensuse.org/package/show/utilities/hollywood?expand=0&rev=1
This commit is contained in:
commit
7646f6073d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
718960725551c64a2419aab9bd8b60ee0b95b762.zip
Normal file
3
718960725551c64a2419aab9bd8b60ee0b95b762.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92a8fb9d018a9ff43dee5194b9d4c8c6842b68675e46619dc97e8b5e8a1d3189
|
||||
size 3478896
|
12
_service
Normal file
12
_service
Normal file
@ -0,0 +1,12 @@
|
||||
<services>
|
||||
<service name="download_url">
|
||||
<param name="protocol">https</param>
|
||||
<param name="host">github.com</param>
|
||||
<param name="path">/dustinkirkland/hollywood/archive/718960725551c64a2419aab9bd8b60ee0b95b762.zip</param>
|
||||
</service>
|
||||
<service name="verify_file">
|
||||
<param name="file">_service:download_url:718960725551c64a2419aab9bd8b60ee0b95b762.zip</param>
|
||||
<param name="verifier">sha256</param>
|
||||
<param name="checksum">92a8fb9d018a9ff43dee5194b9d4c8c6842b68675e46619dc97e8b5e8a1d3189</param>
|
||||
</service>
|
||||
</services>
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92a8fb9d018a9ff43dee5194b9d4c8c6842b68675e46619dc97e8b5e8a1d3189
|
||||
size 3478896
|
6
hollywood.changes
Normal file
6
hollywood.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 26 21:31:29 UTC 2016 - sebix+novell.com@sebix.at
|
||||
|
||||
- initial package
|
||||
- use tmux-version-comp.patch to patch version comparison with dpkg
|
||||
|
101
hollywood.spec
Normal file
101
hollywood.spec
Normal file
@ -0,0 +1,101 @@
|
||||
#
|
||||
# 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
|
11
tmux-version-comp.patch
Normal file
11
tmux-version-comp.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- hollywood-718960725551c64a2419aab9bd8b60ee0b95b762/bin/wallstreet 2016-12-04 18:17:40.000000000 +0100
|
||||
+++ hollywood-718960725551c64a2419aab9bd8b60ee0b95b762/bin/wallstreet 2016-12-26 23:20:19.429361376 +0100
|
||||
@@ -50,7 +50,7 @@
|
||||
fi
|
||||
|
||||
version=$(tmux -V | sed -e "s/.*\s//")
|
||||
-if dpkg --compare-versions $version le 2.1; then
|
||||
+if [[ "$(echo -e "$version\\n2.1" | sort -V | tail -n 1)" != 2.1 ]]; then
|
||||
tmux new-window -n $PKG "$widget_dir/w3m" \; \
|
||||
set-option -g pane-active-border-bg "default" \; \
|
||||
set-option -g pane-active-border-fg "default" \; \
|
Loading…
Reference in New Issue
Block a user