Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37379033
en ru br
ALT Linux repos
S:181-alt9

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: alt9

Summary: Shared library to access udev device information
License: LGPLv2.1+
Group: System/Legacy libraries

Url: http://kernel.org/pub/linux/utils/kernel/hotplug/
Source: %name-%version.tar
Patch: %name-%version-alt.patch

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

BuildRequires: autoconf_2.60
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
%set_autoconf_version 2.60
%autoreconf
%configure \
--enable-floppy \
--enable-edd \
--enable-udev_acl \
--enable-rule_generator \
--enable-introspection \
%{subst_with selinux} \
%if_with bootstrap
--disable-gtk-doc \
%endif
--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