Bump to version 2.12 sandbox/kevinthierry/bump-2.12 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150106.140233 accepted/tizen/ivi/20150113.060257 accepted/tizen/mobile/20150129.040543 accepted/tizen/wearable/20150129.005545 submit/tizen_common/20150106.090727 submit/tizen_ivi/20150108.111111 submit/tizen_ivi/20150108.222222 submit/tizen_ivi/20150108.333333 submit/tizen_mobile/20150128.000000 submit/tizen_tv/20150130.050505 submit/tizen_wearable/20150127.000002 tizen_3.0_ivi_release
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 5 Nov 2014 12:35:40 +0000 (13:35 +0100)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 5 Nov 2014 12:39:18 +0000 (13:39 +0100)
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 <kevin.thierry@open.eurogiciel.org>
.gbs.conf [new file with mode: 0644]
packaging/xkeyboard-config.spec

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..2ca3483
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,3 @@
+[general]
+upstream_branch = upstream/master
+upstream_tag = xkeyboard-config-${upstreamversion}
index b858e27..04ae335 100644 (file)
@@ -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