Added stress test including performance measurement.
[profile/ivi/dlt-daemon.git] / automotive-dlt.spec.cmake
1 Name: @PROJECT_NAME@
2 Summary: %{name} - Diagnostic Log and Trace
3 Version: @PRINT_MAJOR_VERSION@.@PRINT_MINOR_VERSION@.@PRINT_PATCH_LEVEL@
4 Release: @GENIVI_RPM_RELEASE@
5 License: @LICENSE@
6 Group: System Environment/Base
7 Vendor: BMW Group AG
8 Source: %{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 %package doc
24 Summary:        %{name} - Diagnostic Log and Trace: Documentation
25 Group:          Documentation
26
27 %description doc
28 This component provides the documentation for %{name}.
29
30 %package devel
31 Summary:        %{name} - Diagnostic Log and Trace: Development files
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}, pkgconfig
34
35 %description devel
36 This component provides the development libraries and includes for %{name}.
37
38 %prep
39 %setup
40 echo "building package automotive-dlt"
41
42 %build
43 %configure
44 make
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 make install DESTDIR=$RPM_BUILD_ROOT
49 mkdir -p $RPM_BUILD_ROOT/etc/init.d
50 /usr/bin/install -c -m 755 testscripts/Ubuntu/dlt-daemon $RPM_BUILD_ROOT/etc/init.d
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 /etc/init.d/dlt-daemon
57 %{_libdir}/libdlt.so.2
58 %{_libdir}/libdlt.so.2.2.0
59 %{_libdir}/libdlt.so
60 %{_bindir}/dlt-convert
61 %{_bindir}/dlt-receive
62 %{_bindir}/dlt-adaptor-stdin
63 %{_bindir}/dlt-adaptor-udp
64 %{_bindir}/dlt-test-client
65 %{_bindir}/dlt-test-user
66 %{_bindir}/dlt-test-stress
67 %{_bindir}/dlt-test-internal
68 %attr(0755,root,root) %{_bindir}/dlt-daemon
69 %{_bindir}/dlt-example-user
70 %{_bindir}/dlt-example-user-func
71
72
73
74 %files doc
75 %{_usr}/doc/dlt2/LICENSE.txt
76
77
78 %files devel
79 %{_libdir}/pkgconfig/*.pc
80 %{_includedir}/dlt/*.h
81 %{_libdir}/pkgconfig/automotive-dlt.pc
82
83 %pre
84
85 %post
86
87 %changelog
88 * Wed Nov 24 2010 dlt_maintainer <dlt_maintainer@genivi.org> 2.2.0
89 - Creation