Репозиторий Sisyphus
Последнее обновление: 30 сентября 2020 | Пакетов: 17703 | Посещений: 19320506
en ru br
Репозитории ALT
S:0.8.0-alt1
5.1: 0.1-alt2
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: fprintd

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

%define _localstatedir %{_var}

Name: fprintd
Version: 0.8.0
Release: alt1
Summary: D-Bus service for Fingerprint reader access
Group: System/Servers
Url: https://www.freedesktop.org/wiki/Software/fprint/fprintd
License: GPLv2+

Source: %name-%version.tar
Source1: system-auth-fprintd
Patch: %name-%version.patch
Patch1: %name-0.4.1-alt-build.patch
Patch3: %name-0.4.1-alt-pam_docs.patch

BuildRequires: libdbus-glib-devel
BuildRequires: pkgconfig(libfprint) > 0.1.0
BuildRequires: pkgconfig(glib-2.0) pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gmodule-2.0) pkgconfig(polkit-gobject-1) >= 0.91 pkgconfig(gio-2.0) >= 2.26
BuildRequires: libpam0-devel
BuildRequires: gtk-doc intltool
BuildRequires: /usr/bin/pod2man /usr/bin/xmllint /usr/bin/xsltproc docbook-dtds
BuildRequires: pkgconfig(systemd)

%description
D-Bus service to access fingerprint readers.

%package -n pam_fprintd
Summary: PAM module for fingerprint authentication
Provides: pam_fprint
Obsoletes: pam_fprint <= 0.2
Group: System/Base

%description -n pam_fprintd
PAM module that uses the fprintd D-Bus service for fingerprint
authentication.

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

%description devel
Development documentation for fprintd, the D-Bus service for
fingerprint readers access.

%prep
%setup -q
%patch -p1
%patch1 -p1
%patch3 -p1

%build
%autoreconf
%configure \
--libdir=/%_lib \
--libexecdir=%_prefix/libexec \
--enable-gtk-doc \
--enable-pam \
--with-systemdsystemunitdir=%_unitdir \
--disable-static
%make_build

%install
%makeinstall_std
mkdir -p %buildroot%_sysconfdir/pam.d
cp system-auth-fprintd %buildroot%_sysconfdir/pam.d
mkdir -p %buildroot%_localstatedir/lib/fprint
rm -fv %buildroot/%_lib/security/pam_fprintd.{a,la,so.*}
%find_lang %name

%files -f %name.lang
%doc README COPYING AUTHORS TODO
%config(noreplace) %_sysconfdir/fprintd.conf
%_sysconfdir/pam.d/system-auth-fprintd
%_sysconfdir/dbus-1/system.d/net.reactivated.Fprint.conf
%_bindir/fprintd-*
%_prefix/libexec/fprintd
%_unitdir/fprintd.service
%_datadir/dbus-1/system-services/net.reactivated.Fprint.service
%_datadir/polkit-1/actions/net.reactivated.fprint.device.policy
%dir %_localstatedir/lib/fprint
%_man1dir/fprintd.1*

%files -n pam_fprintd
%doc pam/README
/%_lib/security/pam_fprintd.so

%files devel
%_datadir/gtk-doc/html/fprintd
%_datadir/dbus-1/interfaces/net.reactivated.Fprint.Device.xml
%_datadir/dbus-1/interfaces/net.reactivated.Fprint.Manager.xml

%changelog

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

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