From 32ee73348e4f58f0710fb0079f08891595eaa5523863c4f65bb1ebe6d8fc8777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 25 Jun 2016 12:06:29 +0000 Subject: [PATCH 1/2] new meta OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/tuxcursors?expand=0&rev=5 --- tuxcursors.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuxcursors.spec b/tuxcursors.spec index 88cf174..2c400b1 100644 --- a/tuxcursors.spec +++ b/tuxcursors.spec @@ -1,7 +1,7 @@ # # spec file for package tuxcursors # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 From d1bdc7863486f6f456c629f6f092e09710eb18e24c1776fa0016efa1dd23d698 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 16 Mar 2023 13:58:32 +0000 Subject: [PATCH 2/2] - Modernise spec file OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/tuxcursors?expand=0&rev=6 --- tuxcursors.changes | 5 +++++ tuxcursors.spec | 25 +++++++++++-------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/tuxcursors.changes b/tuxcursors.changes index 3d00a7c..f8bfbf4 100644 --- a/tuxcursors.changes +++ b/tuxcursors.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 16 13:58:20 UTC 2023 - Martin Pluskal + +- Modernise spec file + ------------------------------------------------------------------- Mon Sep 3 11:43:21 UTC 2012 - idonmez@suse.com diff --git a/tuxcursors.spec b/tuxcursors.spec index 2c400b1..f31e6e7 100644 --- a/tuxcursors.spec +++ b/tuxcursors.spec @@ -1,7 +1,7 @@ # # spec file for package tuxcursors # -# Copyright (c) 2016 SUSE LINUX 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