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
This commit is contained in:
Stefan Dirsch 2021-12-03 14:47:15 +00:00 committed by Git OBS Bridge
parent e9bcedb79f
commit be776c2a4a
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 3 14:00:42 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 7 13:42:57 UTC 2019 - sndirsch@suse.com Mon Jan 7 13:42:57 UTC 2019 - sndirsch@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package xcursorgen # 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 # 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,7 +12,7 @@
# 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/
# #
@ -22,16 +22,15 @@ Release: 0
Summary: Utility to create an X cursor file from a collection of PNG images Summary: Utility to create an X cursor file from a collection of PNG images
License: MIT License: MIT
Group: System/X11/Utilities Group: System/X11/Utilities
Url: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpng) >= 1.2.0 BuildRequires: pkgconfig(libpng) >= 1.2.0
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xorg-macros) >= 1.8
# This was part of the xorg-x11 package up to version 7.6 # This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6 Conflicts: xorg-x11 <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
xcursorgen prepares X11 cursor sets for use with libXcursor. xcursorgen prepares X11 cursor sets for use with libXcursor.
@ -41,14 +40,14 @@ xcursorgen prepares X11 cursor sets for use with libXcursor.
%build %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%files %files
%defattr(-,root,root) %license COPYING
%doc AUTHORS ChangeLog COPYING README.md %doc AUTHORS ChangeLog README.md
%{_bindir}/xcursorgen %{_bindir}/xcursorgen
%{_mandir}/man1/xcursorgen.1%{?ext_man} %{_mandir}/man1/xcursorgen.1%{?ext_man}