LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File screenFetch.spec of Package screenFetch (Project home:codesofjulia)

#
# spec file for package screenFetch
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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	_exename	screenfetch

Name:           screenFetch
Version:	3.8.0
Release:	0
License:	GPL-3.0
Summary:	The Bash Screenshot Information Tool
Url:		https://github.com/KittyKatt/screenFetch
Group:		System/X11/Terminals
Source:		%{name}-%{version}.tar.gz
Requires:       bash
Requires:       xprop
Recommends:     curl
Recommends:     scrot
Recommends:     xdpyinfo
BuildArch:      noarch


%description
screenFetch is a "Bash Screenshot Information Tool". This handy Bash script can be used to generate one of those nifty terminal theme information + ASCII distribution logos you see in everyone's screenshots nowadays. It will auto-detect your distribution and display an ASCII version of that distribution's logo and some valuable information to the right. There are options to specify no ASCII art, colors, taking a screenshot upon displaying info, and even customizing the screenshot command! This script is very easy to add to and can easily be extended.

%prep
%setup -q -n %{name}-%{version}

%build

%install
rm -fr %{buildroot}
install -D -p -m 755 %{_exename}-dev %{buildroot}%{_bindir}/%{_exename}
install -D -p -m 0644 %{_exename}.1   %{buildroot}%{_mandir}/man1/%{_exename}.1

%files
%defattr(-,root,root)
%doc COPYING README.mkdn CHANGELOG TODO
%{_bindir}/%{_exename}
%{_mandir}/man1/%{_exename}.1%{ext_info}

%changelog