4 Summary: Automotive DLT
7 Source: %{name}-%{version}.tar.bz2
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
13 Automotive Diagnostic Log and Tracing Daemon
17 Summary: Automotive DLT Development Package
18 Group: System/Development
19 Requires: %{name} = %{version}-%{release}
22 Files needed for developing against the Automotive DLT
25 %setup -q -n %{name}-%{version}
31 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
32 make %{?jobs:-j %jobs}
35 rm -rf "$RPM_BUILD_ROOT"
37 make install DESTDIR=$RPM_BUILD_ROOT
39 # fix the documentation install location
40 mkdir -p $RPM_BUILD_ROOT%{_docdir}
41 mv $RPM_BUILD_ROOT/usr/doc/dlt2 $RPM_BUILD_ROOT%{_docdir}/dlt
43 %post -p /sbin/ldconfig
45 %postun -p /sbin/ldconfig
48 rm -rf "$RPM_BUILD_ROOT"
51 %defattr(-,root,root,-)
56 %defattr(-,root,root,-)
60 %{_libdir}/pkgconfig/*.pc