]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - udev/udev.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / udev / udev.nm
CommitLineData
9b3bc800 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
9b3bc800
MT
4###############################################################################
5
802ea3af
MT
6name = udev
7version = 172
a732dc65 8release = 4
9b3bc800 9
a732dc65 10groups = System/Base
802ea3af
MT
11url = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
12license = GPLv2+
13summary = A userspace implementation of devfs.
9b3bc800 14
802ea3af 15description
9b3bc800
MT
16 The udev package contains an implementation of devfs in userspace using \
17 sysfs and netlink.
802ea3af
MT
18end
19
20source_dl = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
9b3bc800 21
802ea3af
MT
22build
23 requires
24 glib2-devel
25 gperf
26 kbd
27 libacl-devel
28 libselinux-devel
29 libsepol-devel
30 libuuid-devel
31 libusb-compat-devel
32 pciutils
33 pkg-config
34 usbutils
35 end
9b3bc800 36
802ea3af
MT
37 configure_options += \
38 --exec-prefix="" \
39 --sbindir=/sbin \
40 --sysconfdir=/etc \
41 --libexecdir=/lib/udev \
42 --with-rootlibdir=/lib \
43 --with-selinux \
44 --disable-introspection \
45 --with-systemdsystemunitdir=/lib/systemd/system
ba55c5c9 46
802ea3af 47 install_cmds
802ea3af
MT
48 # Install pkg-config files correctly
49 mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib
9b3bc800 50
802ea3af
MT
51 rm -vf %{BUILDROOT}/lib/lib{udev,gudev-1.0}.so
52 ln -svf ../../lib/libudev.so.0 %{BUILDROOT}/usr/lib/libudev.so
53 ln -svf ../../lib/libgudev-1.0.so.0 %{BUILDROOT}/usr/lib/libgudev-1.0.so
9b3bc800 54
802ea3af
MT
55 ln -svf ../../../../lib/udev/udev-acl \
56 %{BUILDROOT}/usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
8ad0a97a 57
802ea3af
MT
58 # Remove network rules. We have our own in the network package.
59 rm -v %{BUILDROOT}/lib/udev/{write_net_rules,rules.d/75-persistent-net-generator.rules}
60 end
61end
62416564 62
802ea3af
MT
63packages
64 package %{name}
a732dc65
MT
65 groups += Base
66 end
58397358 67
802ea3af
MT
68 package lib%{name}
69 template LIBS
70 end
58397358 71
802ea3af
MT
72 package lib%{name}-devel
73 template DEVEL
74 end
1f9bc2f0
MT
75
76 package %{name}-debuginfo
77 template DEBUGINFO
78 end
802ea3af 79end