3 Group: Automotive/GENIVI
4 Summary: GENIVI Diagnostic Log and Trace
7 Source: %{name}-%{version}.tar.bz2
9 BuildRequires: pkg-config
10 BuildRequires: pkgconfig(dbus-1)
11 BuildRequires: pkgconfig(zlib)
12 BuildRequires: pkgconfig(libsystemd-journal)
13 Requires(post): /sbin/ldconfig
14 Requires(postun): /sbin/ldconfig
17 GENIVI Diagnostic Log and Tracing Daemon and Tools
20 Summary: GENIVI DLT Daemon
23 GENIVI Diagnostic Log and Tracing Daemon
26 Summary: GENIVI DLT utility binaries
29 GENIVI DLT utility binaries
32 Summary: GENIVI DLT test binaries
35 GENIVI DLT test binaries
38 Summary: GENIVI DLT library
40 %description -n libdlt
44 Summary: Automotive DLT Development Package
45 Requires: libdlt = %{version}-%{release}
48 Files needed for developing against the Automotive DLT
51 %setup -q -n %{name}-%{version}
57 %cmake -DWITH_SYSTEMD=ON -DWITH_SYSTEMD_JOURNAL=ON \
58 -DWITH_MAN=OFF -DWITH_DLT_EXAMPLES=OFF ..
62 rm -rf "$RPM_BUILD_ROOT"
64 make install DESTDIR=$RPM_BUILD_ROOT
66 %post -n libdlt -p /sbin/ldconfig
68 %postun -n libdlt -p /sbin/ldconfig
71 rm -rf "$RPM_BUILD_ROOT"
74 %defattr(-,root,root,-)
76 %config %{_sysconfdir}/dlt.conf
77 %{_prefix}/lib/systemd/system/dlt.service
81 %defattr(-,root,root,-)
83 %{_datadir}/dlt-filetransfer/*
86 %defattr(-,root,root,-)
87 %{_bindir}/dlt-adaptor*
88 %{_bindir}/dlt-convert
90 %{_bindir}/dlt-receive
92 %{_bindir}/dlt-control
93 %config %{_sysconfdir}/dlt-system.conf
94 %{_prefix}/lib/systemd/system/dlt-adaptor-udp.service
95 %{_prefix}/lib/systemd/system/dlt-receive.service
96 %{_prefix}/lib/systemd/system/dlt-system.service
97 %{_prefix}/lib/systemd/system/dlt-dbus.service
98 %config %{_sysconfdir}/dlt-dbus.conf
101 %defattr(-,root,root,-)
105 %defattr(-,root,root,-)
108 %{_libdir}/pkgconfig/*.pc