From be776c2a4a893df47ef8b6f073c64e796dced4c3736cb3bf5e6d9fa2beac7884 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Fri, 3 Dec 2021 14:47:15 +0000 Subject: [PATCH] Accepting request 935467 from home:dirkmueller:Factory - modernize spec file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/935467 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xcursorgen?expand=0&rev=9 --- xcursorgen.changes | 5 +++++ xcursorgen.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/xcursorgen.changes b/xcursorgen.changes index e49ac08..15ea831 100644 --- a/xcursorgen.changes +++ b/xcursorgen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 3 14:00:42 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Mon Jan 7 13:42:57 UTC 2019 - sndirsch@suse.com diff --git a/xcursorgen.spec b/xcursorgen.spec index b9adc39..670d1b3 100644 --- a/xcursorgen.spec +++ b/xcursorgen.spec @@ -1,7 +1,7 @@ # # spec file for package xcursorgen # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -22,16 +22,15 @@ Release: 0 Summary: Utility to create an X cursor file from a collection of PNG images License: MIT Group: System/X11/Utilities -Url: http://xorg.freedesktop.org/ -Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 -BuildRequires: pkg-config +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig BuildRequires: pkgconfig(libpng) >= 1.2.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xorg-macros) >= 1.8 # This was part of the xorg-x11 package up to version 7.6 Conflicts: xorg-x11 <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description xcursorgen prepares X11 cursor sets for use with libXcursor. @@ -41,14 +40,14 @@ xcursorgen prepares X11 cursor sets for use with libXcursor. %build %configure -make %{?_smp_mflags} +%make_build %install %make_install %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING README.md +%license COPYING +%doc AUTHORS ChangeLog README.md %{_bindir}/xcursorgen %{_mandir}/man1/xcursorgen.1%{?ext_man}