]>
Commit | Line | Data |
---|---|---|
eef47701 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
eef47701 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = dbus |
7 | version = 1.4.0 | |
8 | release = 3 | |
eef47701 | 9 | |
802ea3af MT |
10 | groups = System/Daemons |
11 | url = http://www.freedesktop.org/software/dbus/ | |
12 | license = GPLv2+ AFL | |
13 | summary = D-BUS message bus. | |
eef47701 | 14 | |
802ea3af | 15 | description |
eef47701 MT |
16 | D-BUS is a system for sending messages between applications. It is \ |
17 | used both for the system-wide message bus service, and as a \ | |
18 | per-user-login-session messaging facility. | |
802ea3af | 19 | end |
eef47701 | 20 | |
802ea3af | 21 | source_dl = |
eef47701 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | audit-devel | |
26 | expat-devel | |
27 | libselinux-devel | |
28 | end | |
920bbeb6 | 29 | |
802ea3af MT |
30 | configure_options += \ |
31 | --sysconfdir=/etc \ | |
32 | --localstatedir=/var \ | |
33 | --libdir=/lib \ | |
34 | --libexecdir=/lib \ | |
35 | --enable-libaudit \ | |
36 | --enable-selinux=yes \ | |
37 | --with-systemdsystemunitdir=/lib/systemd/system/ \ | |
38 | --with-dbus-user=dbus | |
a5cfc571 | 39 | |
802ea3af MT |
40 | install_cmds |
41 | mkdir -pv %{BUILDROOT}/usr/lib | |
42 | mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/ | |
d7291dc9 | 43 | |
802ea3af MT |
44 | #change the arch-deps.h include directory to /usr/lib instead of /lib |
45 | sed -e 's@-I${libdir}@-I${prefix}/lib@' -i %{BUILDROOT}/usr/lib/pkgconfig/dbus-1.pc | |
d7291dc9 | 46 | |
802ea3af MT |
47 | mkdir -pv %{BUILDROOT}/usr/lib/dbus-1.0/include |
48 | mv -v %{BUILDROOT}/lib/dbus-1.0/include/* %{BUILDROOT}/usr/lib/dbus-1.0/include | |
49 | rm -rvf %{BUILDROOT}/lib/dbus-1.0 | |
6142f9c9 | 50 | |
802ea3af MT |
51 | rm -vf %{BUILDROOT}/lib/libdbus-1.so |
52 | ln -svf ../../lib/libdbus-1.so.3 %{BUILDROOT}/usr/lib/libdbus-1.so | |
53 | end | |
54 | end | |
6142f9c9 | 55 | |
802ea3af MT |
56 | packages |
57 | package %{name} | |
58 | end | |
59 | ||
60 | package %{name}-libs | |
61 | template LIBS | |
62 | end | |
63 | ||
64 | package %{name}-devel | |
65 | template DEVEL | |
66 | ||
67 | files += /usr/lib/dbus-1.0 | |
68 | end | |
69 | end |