Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17510 | Посещений: 15379688
en ru br
Репозитории ALT

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

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

%define ver_major 1
%def_disable static

Name: libwacom
Version: %ver_major.1
Release: alt1

Summary: A Wacom tablets library
Group: System/Libraries
License: BSD-like
Url: https://github.com/linuxwacom/libwacom

Source: %url/releases/download/%name-%version/%name-%version.tar.bz2

Requires: %name-data = %version-%release

BuildRequires: glib2-devel libgudev-devel libxml2-devel doxygen
# for check
BuildRequires: /proc

%description
%name is a library to identify Wacom tablets and their model-specific
features. It provides easy access to information such as "is this a
built-in on-screen tablet", "what is the size of this model", etc.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.

%package data
Summary: Tablets data for %name
Group: System/Libraries
BuildArch: noarch

%description data
%name is a library to identify wacom tablets and their model-specific
features.

This package contains tablets/stylus data for %name.

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

%description devel-doc
The %name-devel-doc package contains documentation for
developing applications that use %name.

%prep
%setup

%build
%autoreconf
%configure \
   %{subst_enable static} \
   --with-udev-dir=/lib/udev

%make_build

%install
%makeinstall_std

%check
%make check

%files
%_bindir/%name-list-local-devices
%_libdir/*.so.*
%_udevrulesdir/65-libwacom.rules
%_man1dir/libwacom-list-local-devices.1*
%doc NEWS README* COPYING

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*

%files data
%dir %_datadir/%name
%_datadir/%name/*.tablet
%_datadir/%name/*.stylus
%_datadir/%name/layouts/

#%files devel-doc

#%_datadir/gtk-doc/html/*

%changelog

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

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