summaryrefslogtreecommitdiff
path: root/automotive-dlt.spec.in
diff options
context:
space:
mode:
authorChristian Muck <christian.muck@bmw.de>2011-09-23 16:01:49 +0200
committerChristian Muck <christian.muck@bmw.de>2011-09-23 16:01:49 +0200
commitb583f0f6c6df778343aaa6398315da98da208f28 (patch)
treecacd4a67ac4fa937664cfe95cf69077c0af25588 /automotive-dlt.spec.in
parent9d15d7764820241eb7616fa04c8295316e2f1c98 (diff)
downloadDLT-daemon-b583f0f6c6df778343aaa6398315da98da208f28.tar.gz
Fixed some packaging bugs
Diffstat (limited to 'automotive-dlt.spec.in')
-rw-r--r--automotive-dlt.spec.in98
1 files changed, 98 insertions, 0 deletions
diff --git a/automotive-dlt.spec.in b/automotive-dlt.spec.in
new file mode 100644
index 0000000..0ebe728
--- /dev/null
+++ b/automotive-dlt.spec.in
@@ -0,0 +1,98 @@
+Name: @PROJECT_NAME@
+Summary: %{name} - Diagnostic Log and Trace
+Version: @GENIVI_PROJECT_VERSION@
+Release: @GENIVI_RPM_RELEASE@
+License: @LICENSE@
+Group: System Environment/Base
+Vendor: BMW Group AG
+Source: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires: %{name} = %{version}-%{release}, pkgconfig
+
+%description
+This component provides a standardised log and trace interface, based on the
+standardised protocol specified in the AUTOSAR standard 4.0 DLT.
+This component can be used by GENIVI components and other applications as
+logging facility providing
+- the DLT shared library
+- the DLT daemon, including startup scripts
+- the DLT daemon adaptors
+- the DLT client console utilities
+- the DLT test applications
+
+%package doc
+Summary: %{name} - Diagnostic Log and Trace: Documentation
+Group: Documentation
+
+%description doc
+This component provides the documentation for %{name}.
+
+%package devel
+Summary: %{name} - Diagnostic Log and Trace: Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}, pkgconfig
+
+%description devel
+This component provides the development libraries and includes for %{name}.
+
+
+%prep
+%setup
+echo "building package automotive-dlt"
+
+
+%build
+rm -rf build
+mkdir -p build
+cd build
+../configure --host=@HOST_TYPE@ --prefix=%{_usr}
+make
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd build
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+make install DESTDIR=$RPM_BUILD_ROOT
+#/usr/bin/install -c -m 755 testscripts/Meego/dlt-daemon $RPM_BUILD_ROOT/etc/init.d
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+#/etc/init.d/dlt-daemon
+%{_libdir}/libdlt.so.@PRINT_MAJOR_VERSION@
+%{_libdir}/libdlt.so.@GENIVI_PROJECT_VERSION@
+%{_libdir}/libdlt.so
+%{_bindir}/dlt-convert
+%{_bindir}/dlt-receive
+%{_bindir}/dlt-adaptor-stdin
+%{_bindir}/dlt-adaptor-udp
+%{_bindir}/dlt-test-client
+%{_bindir}/dlt-test-user
+%{_bindir}/dlt-test-stress
+%{_bindir}/dlt-test-stress-client
+%{_bindir}/dlt-test-stress-user
+%{_bindir}/dlt-test-internal
+%attr(0755,root,root) %{_bindir}/dlt-daemon
+%{_bindir}/dlt-example-user
+%{_bindir}/dlt-example-user-func
+
+
+%files doc
+%{_usr}/doc/dlt2/LICENSE.txt
+
+
+%files devel
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/dlt/*.h
+%{_libdir}/pkgconfig/automotive-dlt.pc
+
+%pre
+
+%post
+
+%changelog
+* Wed Nov 24 2010 dlt_maintainer <dlt_maintainer@genivi.org> 2.2.0
+- Creation