Accepting request 456840 from home:michals

Advanced wallpaper tool for X

OBS-URL: https://build.opensuse.org/request/show/456840
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/hsetroot?expand=0&rev=1
This commit is contained in:
2017-02-13 14:24:42 +00:00
committed by Git OBS Bridge
commit c6891cc61c
10 changed files with 419 additions and 0 deletions

86
hsetroot.spec Normal file
View File

@@ -0,0 +1,86 @@
#
# spec file for package hsetroot
#
# Copyright (c) 2017 SUSE LINUX 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/
#
Name: hsetroot
Version: 1.0.2
Release: 0
#
Summary: Advanced wallpaper tool for X
#
License: GPL-2.0
Group: System/X11/Utilities
#
Url: http://thegraveyard.org/hsetroot.php
Source: %{name}-%{version}.tar.bz2
Source1: %{name}-1.0.2-5.1
Patch1: %{name}-1.0.2_01_fix-no-display-crash.patch
Patch2: %{name}-1.0.2_02_extend-mode.patch
Patch3: %{name}-1.0.2_03_cover-mode.patch
Patch4: %{name}-1.0.2_04_link-to-X11.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: freetype2-devel
BuildRequires: imlib2-devel
BuildRequires: pkgconfig
BuildRequires: xorg-x11-devel
Requires: imlib2-filters
Requires: imlib2-loaders
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
hsetroot is a tool which allows you to compose wallpapers ("root pixmaps") for
X. It has a lot of options like rendering gradients, solids, images but it also
allows you to perform manipulations on those things, or chain them together.
You could use one standard background image for isntance, and using tint to
make it fit your current theme. And yes, of course it is compatible with
semi-translucent applications like aterm and xchat :)
At this time, hsetroot can render: gradients (multi-color with variable
distance), solids (rectangles) and images (centered, tiled, fullscreen, or
maximum aspect). It supports the following manipulations: tinting (overlaying a
color mask), blurring, sharpening, flipping (horizontally, diagonally,
vertically) it also allows you to adjust brightness, contrast and gamma-level.
hsetroot also supports alpha-channels when rendering things.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
aclocal
automake --add-missing
autoconf
%configure
make %{?_smp_mflags}
%install
%make_install
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/hsetroot.1
%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%doc AUTHORS README ChangeLog
%changelog