Accepting request 889729 from home:dirkmueller:Factory

- modernize spec file (move license to licensedir)

OBS-URL: https://build.opensuse.org/request/show/889729
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xkbcomp?expand=0&rev=29
This commit is contained in:
Stefan Dirsch 2021-05-02 20:43:14 +00:00 committed by Git OBS Bridge
parent 8645cdb1e2
commit 20b1c38527
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 1 18:27:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
-------------------------------------------------------------------
Wed Mar 17 10:33:45 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -22,17 +22,16 @@ Release: 0
Summary: Utility to compile XKB keyboard description
License: MIT
Group: System/X11/Utilities
URL: http://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: bison
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The xkbcomp keymap compiler converts a description of an XKB keymap
@ -52,19 +51,18 @@ into one of several output formats.
%build
%configure
make %{?_smp_mflags} V=1
%make_build
%install
%make_install
%files
%defattr(-,root,root)
%doc ChangeLog COPYING README
%license COPYING
%doc ChangeLog README
%{_bindir}/xkbcomp
%{_mandir}/man1/xkbcomp.1%{?ext_man}
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/xkbcomp.pc
%changelog