2007-01-08 17:48:33 +01:00
|
|
|
#
|
2011-05-02 15:21:55 +02:00
|
|
|
# spec file for package libxklavier
|
2007-01-08 17:48:33 +01:00
|
|
|
#
|
2018-03-05 14:57:18 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-08 17:48:33 +01:00
|
|
|
#
|
2008-09-12 22:17:54 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-01-26 11:39:37 +01:00
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
Name: libxklavier
|
2012-09-25 22:29:17 +02:00
|
|
|
Version: 5.3
|
2012-01-18 09:45:51 +01:00
|
|
|
Release: 0
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Library with X keyboard related functions
|
2018-03-05 14:57:18 +01:00
|
|
|
License: LGPL-2.0-or-later
|
2012-01-18 09:45:51 +01:00
|
|
|
Group: Development/Libraries/X11
|
2018-03-05 14:57:18 +01:00
|
|
|
URL: http://www.freedesktop.org/Software/LibXklavier
|
2012-09-25 22:29:17 +02:00
|
|
|
Source: http://download.gnome.org/sources/libxklavier/5.3/%{name}-%{version}.tar.xz
|
2012-01-18 09:45:51 +01:00
|
|
|
Source99: baselibs.conf
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gobject-introspection-devel >= 1.30
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: iso-codes-devel
|
2018-03-05 14:57:18 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-02-17 09:46:45 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2014-10-20 20:58:14 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xi)
|
|
|
|
BuildRequires: pkgconfig(xkbfile)
|
2016-02-01 22:16:52 +01:00
|
|
|
Requires: xkbcomp
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
|
|
|
%package devel
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-01-08 17:48:33 +01:00
|
|
|
Group: Development/Libraries/X11
|
2012-01-18 09:45:51 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: typelib-1_0-Xkl-1_0 = %{version}
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%package -n libxklavier16
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Library with X keyboard related functions
|
2012-01-18 09:45:51 +01:00
|
|
|
Group: System/Libraries
|
2011-10-06 23:28:27 +02:00
|
|
|
Requires: iso-codes
|
2009-03-26 23:58:29 +01:00
|
|
|
Provides: %{name} = %{version}
|
|
|
|
Obsoletes: %{name} < %{version}
|
2008-02-08 18:17:43 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%description -n libxklavier16
|
2008-02-08 18:17:43 +01:00
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
2012-01-18 09:45:51 +01:00
|
|
|
%package -n typelib-1_0-Xkl-1_0
|
|
|
|
Summary: Library with X keyboard related functions -- Introspection bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Xkl-1_0
|
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for
|
|
|
|
libxklavier.
|
|
|
|
|
2007-01-08 17:48:33 +01:00
|
|
|
%package doc
|
2008-02-08 18:17:43 +01:00
|
|
|
Summary: Additional Package Documentation for libxklavier
|
2007-01-08 17:48:33 +01:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This library allows you to simplify XKB-related development.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2016-02-01 22:16:52 +01:00
|
|
|
%configure \
|
|
|
|
--with-pic \
|
2018-03-05 14:57:18 +01:00
|
|
|
--with-xkb-base=%{_datadir}/X11/xkb \
|
2016-02-01 22:16:52 +01:00
|
|
|
--with-xkb-bin-base=%{_bindir} \
|
|
|
|
--disable-static
|
2012-02-17 09:46:45 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%install
|
2012-02-17 09:46:45 +01:00
|
|
|
%make_install
|
2018-03-05 14:57:18 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-08 17:48:33 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%post -n libxklavier16 -p /sbin/ldconfig
|
|
|
|
%postun -n libxklavier16 -p /sbin/ldconfig
|
2007-01-08 17:48:33 +01:00
|
|
|
|
2010-01-18 13:57:02 +01:00
|
|
|
%files -n libxklavier16
|
2018-03-05 14:57:18 +01:00
|
|
|
%license COPYING.LIB
|
|
|
|
%doc AUTHORS CREDITS ChangeLog NEWS README
|
2012-01-18 09:45:51 +01:00
|
|
|
%{_libdir}/libxklavier.so.*
|
|
|
|
|
|
|
|
%files -n typelib-1_0-Xkl-1_0
|
|
|
|
%{_libdir}/girepository-1.0/Xkl-1.0.typelib
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%files devel
|
2012-01-18 09:45:51 +01:00
|
|
|
%{_includedir}/libxklavier/
|
|
|
|
%{_libdir}/libxklavier.so
|
|
|
|
%{_libdir}/pkgconfig/libxklavier.pc
|
|
|
|
%{_datadir}/gir-1.0/Xkl-1.0.gir
|
2007-01-08 17:48:33 +01:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%{_datadir}/gtk-doc/html/libxklavier
|
|
|
|
|
2007-03-06 18:58:37 +01:00
|
|
|
%changelog
|