Fixed dbus trace only showing signals
[profile/ivi/dlt-daemon.git] / automotive-dlt.spec.in
1 Name: @PROJECT_NAME@
2 Version: @DLT_VERSION@
3 Release: @GENIVI_RPM_RELEASE@
4 Summary: %{name} - Diagnostic Log and Trace
5 Group: System Environment/Base
6 Vendor: BMW Group AG
7 License: @LICENSE@
8 Source0: %{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
10 Requires: %{name} = %{version}-%{release}, pkgconfig
11
12 %description
13 This component provides a standardised log and trace interface, based on the
14 standardised protocol specified in the AUTOSAR standard 4.0 DLT.
15 This component can be used by GENIVI components and other applications as
16 logging facility providing
17 - the DLT shared library
18 - the DLT daemon, including startup scripts
19 - the DLT daemon adaptors
20 - the DLT client console utilities
21 - the DLT test applications
22
23
24 %package doc
25 Summary:        %{name} - Diagnostic Log and Trace: Documentation
26 Group:          Documentation
27
28 %description doc
29 This component provides the documentation for %{name}.
30
31
32
33 %package devel
34 Summary:        %{name} - Diagnostic Log and Trace: Development files
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}, pkgconfig
37
38 %description devel
39 This component provides the development libraries and includes for %{name}.
40
41
42 %prep
43 %setup -q
44
45
46
47 %build
48 rm -rf build
49 mkdir -p build
50 cd build
51 #../configure --host=@HOST_TYPE@ --prefix=%{_prefix}
52 #make
53 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
54 make
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 cd build
59 mkdir -p $RPM_BUILD_ROOT%{_bindir}
60 make install DESTDIR=$RPM_BUILD_ROOT
61 #/usr/bin/install -c -m 755 testscripts/Meego/dlt-daemon $RPM_BUILD_ROOT/etc/init.d
62
63
64 %pre
65
66
67 %post
68 /sbin/ldconfig
69
70
71 %postun
72 /sbin/ldconfig
73
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78
79 %files
80 #/etc/init.d/dlt-daemon
81 /etc/dlt-system.conf
82 /etc/dlt.conf
83 /usr/share/dlt-filetransfer/dlt-test-filetransfer-file
84 /usr/share/dlt-filetransfer/dlt-test-filetransfer-image.png
85 %{_libdir}/libdlt.so.@DLT_MAJOR_VERSION@
86 %{_libdir}/libdlt.so.@DLT_VERSION@
87 %{_libdir}/libdlt.so
88 %{_bindir}/dlt-system
89 %{_bindir}/dlt-convert
90 %{_bindir}/dlt-receive
91 %{_bindir}/dlt-adaptor-stdin
92 %{_bindir}/dlt-adaptor-udp
93 %{_bindir}/dlt-test-client
94 %{_bindir}/dlt-test-user
95 %{_bindir}/dlt-test-stress
96 %{_bindir}/dlt-test-stress-client
97 %{_bindir}/dlt-test-stress-user
98 %{_bindir}/dlt-test-filetransfer
99 %{_bindir}/dlt-test-multi-process
100 %{_bindir}/dlt-test-multi-process-client
101
102 %attr(0755,root,root) 
103 %{_bindir}/dlt-daemon
104 %{_bindir}/dlt-example-user
105 %{_bindir}/dlt-example-user-func
106 %{_bindir}/dlt-example-filetransfer
107
108
109 %files doc 
110
111 @PACKAGE_DOC@%{_mandir}/man1/dlt-convert.1.gz
112 @PACKAGE_DOC@%{_mandir}/man1/dlt-daemon.1.gz
113 @PACKAGE_DOC@%{_mandir}/man1/dlt-receive.1.gz
114 @PACKAGE_DOC@%{_mandir}/man1/dlt-system.1.gz
115 @PACKAGE_DOC@%{_mandir}/man5/dlt-system.conf.5.gz
116 @PACKAGE_DOC@%{_mandir}/man5/dlt.conf.5.gz
117
118 %files devel
119 %{_includedir}/dlt/*.h
120 %{_libdir}/pkgconfig/@PROJECT_NAME@.pc