Accepting request 1072382 from X11:Utilities

- Modernise spec file

OBS-URL: https://build.opensuse.org/request/show/1072382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tuxcursors?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2023-03-16 21:59:50 +00:00 committed by Git OBS Bridge
commit 8498f1169b
2 changed files with 16 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 16 13:58:20 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Modernise spec file
-------------------------------------------------------------------
Mon Sep 3 11:43:21 UTC 2012 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package tuxcursors
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,40 +12,37 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: tuxcursors
Summary: Tux Cursors!
License: GPL-2.0
Group: System/X11/Icons
Version: 0.5
Release: 0
Summary: Tux Cursors!
License: GPL-2.0-only
Source: tuxcursors-0.5.tar.bz2
Source1: tuxcursors.sh
BuildRequires: xcursorgen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
A cursor set that has nice animated penguins.
%prep
%setup -n tuxcursors
%autosetup -n tuxcursors
%build
./build.sh
%install
mkdir -p $RPM_BUILD_ROOT/usr/share/icons
cp -a tuxcursors $RPM_BUILD_ROOT/usr/share/icons
install -m 755 -D %{S:1} $RPM_BUILD_ROOT/usr/bin/%{name}
mkdir -p %{buildroot}%{_datadir}/icons
cp -a tuxcursors %{buildroot}%{_datadir}/icons
install -m 755 -D %{SOURCE1} %{buildroot}%{_bindir}/%{name}
%files
%defattr(-,root,root)
/usr/share/icons/tuxcursors
/usr/bin/tuxcursors
%doc LICENSE COPYING
%license LICENSE COPYING
%{_bindir}/tuxcursors
%{_datadir}/icons/tuxcursors
%changelog