Added test files for filetransfer to spec and distfile
[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 /etc/dlt-system.conf
58 /etc/dlt.conf
59 /usr/share/dlt-filetransfer/dlt-test-filetransfer-file
60 /usr/share/dlt-filetransfer/dlt-test-filetransfer-image.png
61 %{_libdir}/libdlt.so.@PRINT_MAJOR_VERSION@
62 %{_libdir}/libdlt.so.@GENIVI_PROJECT_VERSION@
63 %{_libdir}/libdlt.so
64 %{_bindir}/dlt-system
65 %{_bindir}/dlt-convert
66 %{_bindir}/dlt-receive
67 %{_bindir}/dlt-adaptor-stdin
68 %{_bindir}/dlt-adaptor-udp
69 %{_bindir}/dlt-test-client
70 %{_bindir}/dlt-test-user
71 %{_bindir}/dlt-test-stress
72 %{_bindir}/dlt-test-internal
73 %attr(0755,root,root) %{_bindir}/dlt-daemon
74 %{_bindir}/dlt-example-user
75 %{_bindir}/dlt-example-user-func
76
77
78
79 %files doc
80 %{_usr}/doc/dlt2/LICENSE.txt
81
82
83 %files devel
84 %{_libdir}/pkgconfig/*.pc
85 %{_includedir}/dlt/*.h
86 %{_libdir}/pkgconfig/automotive-dlt.pc
87
88 %pre
89
90 %post
91
92 %changelog
93 * Wed Nov 24 2010 dlt_maintainer <dlt_maintainer@genivi.org> 2.2.0
94 - Creation