- moved Xmodmap files to /usr/etc/X11 (boo#1173053)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xmodmap?expand=0&rev=12
This commit is contained in:
parent
cd85129a95
commit
d1090c2bef
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 5 01:22:15 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- moved Xmodmap files to /usr/etc/X11 (boo#1173053)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 21 11:14:12 UTC 2019 - sndirsch@suse.com
|
Thu Feb 21 11:14:12 UTC 2019 - sndirsch@suse.com
|
||||||
|
|
||||||
|
17
xmodmap.spec
17
xmodmap.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package xmodmap
|
# spec file for package xmodmap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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,7 +22,7 @@ Release: 0
|
|||||||
Summary: Utility to modify keymaps and pointer button mappings in X
|
Summary: Utility to modify keymaps and pointer button mappings in X
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
Url: http://xorg.freedesktop.org/
|
URL: http://xorg.freedesktop.org/
|
||||||
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
|
Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2
|
||||||
Source1: Xmodmap.template
|
Source1: Xmodmap.template
|
||||||
Source2: Xmodmap.remote.template
|
Source2: Xmodmap.remote.template
|
||||||
@ -50,14 +50,25 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
install -m0644 -D %{SOURCE1} %{buildroot}%{_distconfdir}/X11/Xmodmap
|
||||||
|
install -m0644 -D %{SOURCE2} %{buildroot}%{_distconfdir}/X11/Xmodmap.remote
|
||||||
|
%else
|
||||||
install -m0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/Xmodmap
|
install -m0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/Xmodmap
|
||||||
install -m0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/Xmodmap.remote
|
install -m0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/X11/Xmodmap.remote
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING README.md
|
%doc AUTHORS ChangeLog COPYING README.md
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%dir %{_distconfdir}/X11
|
||||||
|
%{_distconfdir}/X11/Xmodmap
|
||||||
|
%{_distconfdir}/X11/Xmodmap.remote
|
||||||
|
%else
|
||||||
%config %{_sysconfdir}/X11/Xmodmap
|
%config %{_sysconfdir}/X11/Xmodmap
|
||||||
%config %{_sysconfdir}/X11/Xmodmap.remote
|
%config %{_sysconfdir}/X11/Xmodmap.remote
|
||||||
|
%endif
|
||||||
%{_bindir}/xmodmap
|
%{_bindir}/xmodmap
|
||||||
%{_mandir}/man1/xmodmap.1%{?ext_man}
|
%{_mandir}/man1/xmodmap.1%{?ext_man}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user