Sisyphus repository
Last update: 27 february 2020 | SRPMs: 17504 | Visits: 17534680
en ru br
ALT Linux repos
S:181-alt7

Group :: System/Legacy libraries
RPM: libudev0

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define systemdsystemunitdir /lib/systemd/system
%define firmwaredir /lib/firmware

Name: libudev0
Version: 181
Release: alt7
Summary: Shared library to access udev device information
License: LGPLv2.1+
Group: System/Legacy libraries
Url: http://kernel.org/pub/linux/utils/kernel/hotplug/

Provides: libudev = %version-%release
Obsoletes: libudev < %version-%release

Source: %name-%version.tar
Patch: %name-%version-alt.patch

BuildRequires: glib2-devel gobject-introspection-devel gperf gtk-doc pciids usbids
BuildRequires: libacl-devel libusb-compat-devel usbutils libselinux-devel
BuildRequires: kmod-devel >= 5 libblkid-devel >= 2.20

%description
This package provides shared library to access udev device information

%prep
%setup
%patch -p1

%build
%autoreconf
%configure \
--enable-floppy \
--enable-edd \
--enable-udev_acl \
--enable-rule_generator \
--enable-introspection \
--with-selinux \
--disable-gudev \
--disable-introspection \
--sbindir=/sbin \
--bindir=/sbin \
--libexecdir=/lib \
--with-rootlibdir=/%_lib \
--with-firmware-path=%firmwaredir/updates:%firmwaredir \
--with-systemdsystemunitdir=%systemdsystemunitdir \
--with-usb-ids-path=/usr/share/misc/usb.ids \
--disable-silent-rules
%make_build

%install
%makeinstall_std

%files
/%_lib/libudev.so.*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin