Name: @PROJECT_NAME@
-Summary: %{name} - Diagnostic Log and Trace
-Version: @GENIVI_PROJECT_VERSION@
+Version: @DLT_VERSION@
Release: @GENIVI_RPM_RELEASE@
-License: @LICENSE@
+Summary: %{name} - Diagnostic Log and Trace
Group: System Environment/Base
Vendor: BMW Group AG
-Source: %{name}-%{version}.tar.gz
+License: @LICENSE@
+Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: %{name} = %{version}-%{release}, pkgconfig
- 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
%prep
-%setup
-echo "building package automotive-dlt"
+%setup -q
+
%build
rm -rf build
mkdir -p build
cd build
-../configure --host=@HOST_TYPE@ --prefix=%{_usr}
+#../configure --host=@HOST_TYPE@ --prefix=%{_prefix}
+#make
+cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
-
%install
rm -rf $RPM_BUILD_ROOT
cd build
make install DESTDIR=$RPM_BUILD_ROOT
#/usr/bin/install -c -m 755 testscripts/Meego/dlt-daemon $RPM_BUILD_ROOT/etc/init.d
+
+%pre
+
+
+%post
+/sbin/ldconfig
+
+
+%postun
+/sbin/ldconfig
+
+
%clean
rm -rf $RPM_BUILD_ROOT
/etc/dlt.conf
/usr/share/dlt-filetransfer/dlt-test-filetransfer-file
/usr/share/dlt-filetransfer/dlt-test-filetransfer-image.png
-%{_libdir}/libdlt.so.@PRINT_MAJOR_VERSION@
-%{_libdir}/libdlt.so.@GENIVI_PROJECT_VERSION@
+%{_libdir}/libdlt.so.@DLT_MAJOR_VERSION@
+%{_libdir}/libdlt.so.@DLT_VERSION@
%{_libdir}/libdlt.so
%{_bindir}/dlt-system
%{_bindir}/dlt-convert
%{_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-test-filetransfer
+%{_bindir}/dlt-test-multi-process
+%{_bindir}/dlt-test-multi-process-client
+
+%attr(0755,root,root)
+%{_bindir}/dlt-daemon
%{_bindir}/dlt-example-user
%{_bindir}/dlt-example-user-func
+%{_bindir}/dlt-example-filetransfer
%files doc
-%{_usr}/doc/dlt2/LICENSE.txt
-
+%{_mandir}/man1/dlt-convert.1.gz
+%{_mandir}/man1/dlt-daemon.1.gz
+%{_mandir}/man1/dlt-receive.1.gz
+%{_mandir}/man1/dlt-system.1.gz
+%{_mandir}/man5/dlt-system.conf.5.gz
+%{_mandir}/man5/dlt.conf.5.gz
%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
+%{_libdir}/pkgconfig/@PROJECT_NAME@.pc