%description -n libdlog-devel
dlog API library
-%package -n dlogbackend-logger
+%package config-backend-logger
Summary: Android-logger backend selection for dlog
Requires: lib%{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%description -n dlogbackend-logger
+%description config-backend-logger
Change dlog backend to logger backend. Require kernel support (Android-logger)
+%package -n dlogbackend-logger
+Summary: transitional dummy package
+Requires: %{name}-config-backend-logger = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n dlogbackend-logger
+Dummy packate to ease transition from dlogbackend-logger to dlog-config-backend-logger.
+
%package -n dlogutil
Summary: print log data to the screen
Group: Development/Libraries
%description -n dlogutil
Utilities for print log data
-%package -n log-syslog
+%package config-syslog
License: Apache-2.0
Summary: Logger: syslog-source logging via dlog
Group: Base/Startup
Requires: lib%{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: tizen-log-syslog
-%description -n log-syslog
+%description config-syslog
Systemd unit for syslog socket configation to use with dlog
%package config-persistent-logs
%description config-persistent-logs
Enable persistent logs in dlog (stored in /var/log/dlog/)
-%package -n dlog-doc
+%package doc
Summary: dlog documentation
BuildRequires: doxygen
-%description -n dlog-doc
+%description doc
Documentation for dlog
-%package -n dlog-tests
+%package tests
Summary: dlog integration tests
Requires: lib%{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires(post): /usr/bin/chsmack
-%description -n dlog-tests
+%description tests
Integration tests for dlog.
%prep
%{_libdir}/pkgconfig/dlog.pc
%{_libdir}/libdlog.so
-%files -n dlogbackend-logger
+%files config-backend-logger
%manifest dlog.manifest
%license LICENSE.APACHE2.0 LICENSE.MIT
%{_sysconfdir}/dlog.conf.d/25-logger.conf
%{_unitdir}/dlog_logger.service.d/logger-devices.conf
-%files -n log-syslog
+%files -n dlogbackend-logger
+
+%files config-syslog
%manifest dlog.manifest
%license LICENSE.APACHE2.0 LICENSE.MIT
%{_unitdir}/sockets.target.wants/dlog_dev-log.socket
%files config-persistent-logs
%{_sysconfdir}/dlog.conf.d/10-persistent-logs.conf
-%files -n dlog-doc
+%files doc
%manifest dlog.manifest
%license LICENSE.APACHE2.0 LICENSE.MIT
/usr/share/doc/dlog
-%files -n dlog-tests
+%files tests
%manifest dlog.manifest
%license LICENSE.APACHE2.0 LICENSE.MIT
%{_bindir}/dlog_test
%dir %attr(755,log,log) /var/lib/dlog-tests
%dir %attr(755,log,log) /usr/share/dlog-filters.conf.test
-%post -n dlog-tests
+%post tests
chsmack -a System /var/lib/dlog-tests
echo "Warning! Installation of dlog-tests will break platform logging."
echo "This is done intentionally, to make logger backend testing possible."