]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - dbus/dbus.nm
libsolv: Update to 0.7.25
[people/pmueller/ipfire-3.x.git] / dbus / dbus.nm
CommitLineData
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 6name = dbus
aa5dc92a
SS
7ver_major = 1
8ver_minor = 15
9ver_plevel = 2
580e5e84 10release = 1
eef47701 11
aa5dc92a
SS
12version = %{ver_major}.%{ver_minor}.%{ver_plevel}
13dbus_ver = %{ver_major}.%{ver_minor}.%{ver_plevel}
14
580e5e84 15maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
802ea3af 16groups = System/Daemons
064958a4 17url = https://www.freedesktop.org/software/dbus/
802ea3af
MT
18license = GPLv2+ AFL
19summary = D-BUS message bus.
eef47701 20
802ea3af 21description
d265d367
SS
22 D-BUS is a system for sending messages between applications. It is
23 used both for the system-wide message bus service, and as a
eef47701 24 per-user-login-session messaging facility.
802ea3af 25end
eef47701 26
064958a4
PM
27source_dl = https://dbus.freedesktop.org/releases/dbus/
28sources = %{thisapp}.tar.xz
eef47701 29
802ea3af
MT
30build
31 requires
1ccb4c07 32 /usr/bin/xsltproc
802ea3af 33 expat-devel
b6386122 34 libcap-ng-devel
1ccb4c07
SS
35 systemd-devel
36 xmlto
802ea3af 37 end
920bbeb6 38
802ea3af 39 configure_options += \
580e5e84 40 --with-systemdsystemunitdir=%{unitdir} \
802ea3af 41 --with-dbus-user=dbus
11f10f24
SS
42
43 export LD_LIBRARY_PATH = %{DIR_APP}/dbus/.libs
44
45 test
46 make check
47 end
aa5dc92a
SS
48
49 install_cmds
50 # Remove unneeded documentation.
51 rm -rvf %{BUILDROOT}/%{datadir}/doc
52 rm -rvf %{BUILDROOT}/%{datadir}/xml
53
54 # Drop cmake related stuff
55 rm -rvf %{BUILDROOT}/%{libdir}/cmake
56
57 # Remove daemon related binaries and manpages.
58 for bin in daemon launch run-session test-tool cleanup-sockets; do
59 rm -rvf %{BUILDROOT}/%{bindir}/dbus-$bin
60 rm -rvf %{BUILDROOT}/%{mandir}/man1/dbus-$bin*
61 done
62
63 # Remove daemon-lauch-helper
64 rm -rvf %{BUILDROOT}/usr/lib/dbus-daemon-launch-helper
65
66 # Remove daemon related systemd files.
67 rm -rvf %{BUILDROOT}/%{unitdir}/dbus.service
68 rm -rvf %{BUILDROOT}/%{unitdir}/multi-user.target.wants
69 rm -rvf %{BUILDROOT}/usr/lib/tmpfiles.d
70
71 # Remove daemon related folders in /var
72 rm -rvf %{BUILDROOT}/%{localstatedir}
73 end
802ea3af 74end
6142f9c9 75
802ea3af 76packages
aa5dc92a
SS
77 package %{name}-common
78 summary = D-BUS message bus configuration.
79 version = %{dbus_ver}
80 arch = noarch
81
82 description
83 The dbus-common package provides the configuration and setup files for D-Bus
84 implementations to provide a System and User Message Bus.
d265d367
SS
85 end
86
aa5dc92a
SS
87 files
88 /usr/lib/sysusers.d/
89 /usr/lib/sysusers.d/*
90 %{sysconfdir}/dbus-1
91 %{sysconfdir}/dbus-1/session.d
92 %{sysconfdir}/dbus-1/system.d
93 %{sysconfdir}/dbus-1/session.conf
94 %{sysconfdir}/dbus-1/system.conf
95 %{datadir}/dbus-1
96 %{datadir}/dbus-1/session.d
97 %{datadir}/dbus-1/system.d
98 %{datadir}/dbus-1/session.conf
99 %{datadir}/dbus-1/system.conf
100 %{datadir}/dbus-1/services
101 %{datadir}/dbus-1/system-services
102 %{datadir}/dbus-1/interfaces
103 %{unitdir}/dbus.socket
104 %{unitdir}/sockets.target.wants/dbus.socket
d265d367 105 end
aa5dc92a
SS
106 end
107
108 package %{name}-tools
109 summary = D-BUS Tools and Utilities.
110 version = %{dbus_ver}
d265d367 111
aa5dc92a
SS
112 description
113 Tools and utilities to interact with a running D-Bus Message Bus, provided by
114 the reference implementation.
d265d367
SS
115 end
116
aa5dc92a
SS
117 requires
118 dbus-libs = %{thisver}
119 dbus-common = %{dbus_ver}
d265d367
SS
120 end
121
aa5dc92a
SS
122 files
123 %{bindir}/dbus-send
124 %{bindir}/dbus-monitor
125 %{bindir}/dbus-update-activation-environment
126 %{bindir}/dbus-uuidgen
127 %{mandir}/man1/dbus-monitor.1*
128 %{mandir}/man1/dbus-send.1*
129 %{mandir}/man1/dbus-update-activation-environment.1*
130 %{mandir}/man1/dbus-uuidgen.1*
d265d367 131 end
802ea3af 132 end
1f9bc2f0 133
802ea3af
MT
134 package %{name}-libs
135 template LIBS
136 end
1f9bc2f0 137
802ea3af
MT
138 package %{name}-devel
139 template DEVEL
1f9bc2f0 140
278ecf9f 141 files += %{libdir}/dbus-1.0
802ea3af 142 end
1f9bc2f0
MT
143
144 package %{name}-debuginfo
145 template DEBUGINFO
146 end
802ea3af 147end