-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdbus.spec
73 lines (57 loc) · 1.85 KB
/
dbus.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%define name dbus
%define version 1.12.20
%define release 1
%define release_tag %{?dist}
Name: %{name}
Version: %{version}
Release: %{release}%{release_tag}
Summary: D-Bus message bus system
Group: System Environment/Daemons
License: AFL-2.1 or GPL-2.0 or GPL-3.0
URL: https://dbus.freedesktop.org/
Source0: https://dbus.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: xmlto
%description
D-Bus is a message bus system, a simple way for applications to talk to one another. In addition to interprocess communication, D-Bus helps coordinate process lifecycle; it makes it simple and reliable to code a "single instance" application or daemon, and to launch applications and daemons on demand when their services are needed.
%package libs
Summary: Libraries for D-Bus
Group: System Environment/Libraries
License: AFL-2.1 or GPL-2.0 or GPL-3.0
Requires: %{name} = %{version}-%{release}%{?dist}
%description libs
This package contains libraries needed at runtime for applications using D-Bus.
%prep
%autosetup -p1
%build
%configure
make %{?_smp_mflags}
%install
%make_install
%check
make check
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files libs
%defattr(-,root,root,-)
%{_libdir}/libdbus-1.*
%files
%{_sysconfdir}/*
%{_bindir}/dbus-cleanup-sockets
%{_bindir}/dbus-daemon
%{_bindir}/dbus-launch
%{_bindir}/dbus-monitor
%{_bindir}/dbus-run-session
%{_bindir}/dbus-send
%{_bindir}/dbus-uuidgen
%{_mandir}/man1/*
%{_datadir}/dbus-1/
%{_prefix}/lib/systemd/system/*
%{_prefix}/libexec/*
%changelog
* Fri Mar 21 2023 John Doe <[email protected]> - 1.12.20-1
- Initial build of D-Bus 1.12.20