Merge branch 'develop_performance' into develop
[profile/ivi/dlt-daemon.git] / automotive-dlt.spec.in
1 Name: @PROJECT_NAME@
2 Summary: %{name} - Diagnostic Log and Trace
3 Version: @GENIVI_PROJECT_VERSION@
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
39 %prep
40 %setup
41 echo "building package automotive-dlt"
42
43
44 %build
45 rm -rf build
46 mkdir -p build
47 cd build
48 ../configure --host=@HOST_TYPE@ --prefix=%{_usr}
49 make
50
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 cd build
55 mkdir -p $RPM_BUILD_ROOT%{_bindir}
56 make install DESTDIR=$RPM_BUILD_ROOT
57 #/usr/bin/install -c -m 755 testscripts/Meego/dlt-daemon $RPM_BUILD_ROOT/etc/init.d
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62
63 %files
64 #/etc/init.d/dlt-daemon
65 %{_libdir}/libdlt.so.@PRINT_MAJOR_VERSION@
66 %{_libdir}/libdlt.so.@GENIVI_PROJECT_VERSION@
67 %{_libdir}/libdlt.so
68 %{_bindir}/dlt-convert
69 %{_bindir}/dlt-receive
70 %{_bindir}/dlt-adaptor-stdin
71 %{_bindir}/dlt-adaptor-udp
72 %{_bindir}/dlt-test-client
73 %{_bindir}/dlt-test-user
74 %{_bindir}/dlt-test-stress
75 %{_bindir}/dlt-test-stress-client
76 %{_bindir}/dlt-test-stress-user
77 %{_bindir}/dlt-test-internal
78 %attr(0755,root,root) %{_bindir}/dlt-daemon
79 %{_bindir}/dlt-example-user
80 %{_bindir}/dlt-example-user-func
81
82
83 %files doc
84 %{_usr}/doc/dlt2/LICENSE.txt
85
86
87 %files devel
88 %{_libdir}/pkgconfig/*.pc
89 %{_includedir}/dlt/*.h
90 %{_libdir}/pkgconfig/automotive-dlt.pc
91
92 %pre
93
94 %post
95
96 %changelog
97 * Wed Nov 24 2010 dlt_maintainer <dlt_maintainer@genivi.org> 2.2.0
98 - Creation