Репозиторий Sisyphus
Последнее обновление: 24 июня 2022 | Пакетов: 17496 | Посещений: 24437108
en ru br
Репозитории ALT
S:5.4-alt1
5.1: 3.9-alt1
4.1: 3.7-alt0.M41.1
4.0: 3.2-alt1
3.0: 2.0-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libxklavier

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define ver_major 5.4
%define api_ver 1.0

%def_disable static
%def_enable introspection

Name: libxklavier
Version: %ver_major
Release: alt1

Summary: libXklavier library
License: %lgpl2plus
Group: System/Libraries
Url: http://www.freedesktop.org/wiki/Software/LibXklavier
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: http://people.freedesktop.org/~svu/%name-%version.tar.bz2

# From configure.in

%define libxml_ver 2.0.0
%define glib_ver 2.16.0

BuildPreReq: rpm-build-licenses
BuildPreReq: rpm-build-gnome

# From configure.in

BuildPreReq: gtk-doc libX11-devel libxkbfile-devel
BuildPreReq: libxml2-devel >= %libxml_ver
BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: iso-codes-devel libX11-devel
BuildPreReq: xkbcomp libXi-devel >= 1.1.3
%{?_enable_introspection:BuildRequires:gobject-introspection-devel}
BuildRequires: vala-tools

%description
This library allows you simplify XKB-related development.

%package devel
Summary: Libraries, includes, etc to develop libxklavier applications
Group: Development/C
Requires: %name = %version-%release

%description devel
Libraries, include files, etc you can use to develop libxklavier applications.

%package devel-doc
Summary: Development documentation for libxklavier
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version

%description devel-doc
This package contains documentation for libxklavier

%package gir
Summary: GObject introspection data for libxklavier
Group: System/Libraries
Requires: %name = %version-%release

%description gir
This package provides GObject introspection data for the libxklavier.

%package gir-devel
Summary: GObject introspection devel data for libxklavier
Group: Development/Other
BuildArch: noarch
Requires: %name-gir = %version-%release
Requires: %name-devel = %version-%release

%description gir-devel
This package provides GObject introspection devel data for libxklavier.

%define _gtk_docdir %_datadir/gtk-doc/html

%prep
%setup -q

%build
%autoreconf
%configure \
%{subst_enable static} \
--enable-xkb-support \
--enable-xmodmap-support \
--with-xkb-base=%_datadir/X11/xkb \
--with-xkb-bin-base=%_bindir \
--with-xmodmap-base=%_datadir/xmodmap

%make_build

%install
%make_install DESTDIR=%buildroot install

%files
%_libdir/*.so.*
%doc AUTHORS CREDITS NEWS README

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%_vapidir/%name.vapi
%_vapidir/%name.deps

%files devel-doc
%_gtk_docdir/%name

%files gir
%_typelibdir/Xkl-%api_ver.typelib

%files gir-devel
%_girdir/Xkl-%api_ver.gir

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin