From 9160dd8fffa5b93efe9a8fc24803adb78694b0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20THIERRY?= Date: Wed, 5 Nov 2014 13:35:40 +0100 Subject: Bump to version 2.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use upstream git repo instead of pristin-tar. Also clean spec file. Bug-Tizen: TC-1879 Change-Id: Ia6a374deb20f711e0970d2d331837ba4b44637c4 Signed-off-by: Kévin THIERRY --- .gbs.conf | 3 +++ packaging/xkeyboard-config.spec | 24 +++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .gbs.conf diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 00000000..2ca3483e --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,3 @@ +[general] +upstream_branch = upstream/master +upstream_tag = xkeyboard-config-${upstreamversion} diff --git a/packaging/xkeyboard-config.spec b/packaging/xkeyboard-config.spec index b858e275..04ae3352 100644 --- a/packaging/xkeyboard-config.spec +++ b/packaging/xkeyboard-config.spec @@ -1,14 +1,14 @@ %bcond_with x Name: xkeyboard-config -Version: 2.11 +Version: 2.12 Release: 0 -License: GPL-2.0+ ; LGPL-2.1+ ; MIT +License: GPL-2.0+ and LGPL-2.1+ and MIT Summary: The X Keyboard Extension Url: http://www.freedesktop.org/Software/XKeyboardConfig -Group: System/X11/Utilities +Group: System/Utilities Source: http://xorg.freedesktop.org/releases/individual/data/%{name}-%{version}.tar.bz2 -Source1001: xkeyboard-config.manifest +Source1001: xkeyboard-config.manifest BuildRequires: fdupes BuildRequires: intltool BuildRequires: perl-XML-Parser @@ -44,25 +44,23 @@ cp %{SOURCE1001} . --disable-runtime-deps \ --disable-xkbcomp-symlink rm -f */*.dir -make +%__make %install %make_install mkdir -p %{buildroot}%{_localstatedir}/lib/xkb -ln -snf /usr/bin/xkbcomp %{buildroot}/usr/share/X11/xkb/xkbcomp +ln -snf %{_bindir}/xkbcomp %{buildroot}%{_datadir}/X11/xkb/xkbcomp # Bug 335553 mkdir -p %{buildroot}%{_localstatedir}/lib/xkb/compiled/ -ln -snf /var/lib/xkb/compiled/ %{buildroot}/usr/share/X11/xkb/compiled +ln -snf /var/lib/xkb/compiled/ %{buildroot}%{_datadir}/X11/xkb/compiled %find_lang %{name} -%fdupes -s %{buildroot}/usr/share/X11/xkb +%fdupes -s %{buildroot}%{_datadir}/X11/xkb %files -f %{name}.lang %manifest %{name}.manifest %defattr(-,root,root) -%doc AUTHORS COPYING README docs/HOWTO.* docs/README.* -%dir %{_localstatedir}/lib/xkb +%doc AUTHORS README docs/HOWTO.* docs/README.* +%license COPYING %dir %{_localstatedir}/lib/xkb/compiled -/usr/share/X11/xkb/ +%{_datadir}/X11/xkb/ %{_datadir}/pkgconfig/*.pc - -%changelog -- cgit v1.2.3