- Modernise spec file

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/tuxcursors?expand=0&rev=6
This commit is contained in:
Martin Pluskal 2023-03-16 13:58:32 +00:00 committed by Git OBS Bridge
parent 32ee73348e
commit d1bdc78634
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 Mon Sep 3 11:43:21 UTC 2012 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package tuxcursors # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Name: tuxcursors
Summary: Tux Cursors!
License: GPL-2.0
Group: System/X11/Icons
Version: 0.5 Version: 0.5
Release: 0 Release: 0
Summary: Tux Cursors!
License: GPL-2.0-only
Source: tuxcursors-0.5.tar.bz2 Source: tuxcursors-0.5.tar.bz2
Source1: tuxcursors.sh Source1: tuxcursors.sh
BuildRequires: xcursorgen BuildRequires: xcursorgen
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
A cursor set that has nice animated penguins. A cursor set that has nice animated penguins.
%prep %prep
%setup -n tuxcursors %autosetup -n tuxcursors
%build %build
./build.sh ./build.sh
%install %install
mkdir -p $RPM_BUILD_ROOT/usr/share/icons mkdir -p %{buildroot}%{_datadir}/icons
cp -a tuxcursors $RPM_BUILD_ROOT/usr/share/icons cp -a tuxcursors %{buildroot}%{_datadir}/icons
install -m 755 -D %{S:1} $RPM_BUILD_ROOT/usr/bin/%{name} install -m 755 -D %{SOURCE1} %{buildroot}%{_bindir}/%{name}
%files %files
%defattr(-,root,root) %license LICENSE COPYING
/usr/share/icons/tuxcursors %{_bindir}/tuxcursors
/usr/bin/tuxcursors %{_datadir}/icons/tuxcursors
%doc LICENSE COPYING
%changelog %changelog