summaryrefslogtreecommitdiff
path: root/packaging/dbus.spec
diff options
context:
space:
mode:
authorKarol Lewandowski <k.lewandowsk@samsung.com>2016-04-19 12:45:06 +0200
committerKarol Lewandowski <k.lewandowsk@samsung.com>2016-04-19 15:27:53 +0200
commit15a1e72e8d82810e1a5b0e011f38901b2155fec8 (patch)
treed363298c6515c8e80e8ba2eb76d5d09fd1d4b12d /packaging/dbus.spec
parent467e62319de5b8f19f20e5dbcbfba573482ff4da (diff)
downloaddbus-15a1e72e8d82810e1a5b0e011f38901b2155fec8.tar.gz
dbus-15a1e72e8d82810e1a5b0e011f38901b2155fec8.tar.bz2
dbus-15a1e72e8d82810e1a5b0e011f38901b2155fec8.zip
packaging: Remove documentation packages
Change-Id: I3b2ddc48b26819452ffa73d25d35177997c844b1
Diffstat (limited to 'packaging/dbus.spec')
-rw-r--r--packaging/dbus.spec55
1 files changed, 5 insertions, 50 deletions
diff --git a/packaging/dbus.spec b/packaging/dbus.spec
index db2a044f..a03adf12 100644
--- a/packaging/dbus.spec
+++ b/packaging/dbus.spec
@@ -12,13 +12,10 @@ Group: Base/IPC
%define with_systemd 1
-BuildRequires: doxygen
BuildRequires: expat-devel
BuildRequires: libtool
-BuildRequires: libxslt-tools
BuildRequires: libzio
BuildRequires: pkg-config
-BuildRequires: xmlto
%if %{with_systemd}
BuildRequires: pkgconfig(libsystemd)
%endif
@@ -49,15 +46,6 @@ Provides: dbus-1
# This is an artificial requirement needed to keep proper order of building of the packages
BuildRequires: libdbus = %{version}
-
-
-%package devel-doc
-
-Summary: Developer documentation package for D-Bus
-Group: Documentation
-Requires: %{name} = %{version}
-BuildArch: noarch
-
%description
D-Bus is a message bus system, a simple way for applications to talk to
one another. D-Bus supplies both a system daemon and a
@@ -66,14 +54,6 @@ a general one-to-one message passing framework, which can be used by
any two apps to communicate directly (without going through the message
bus daemon).
-%description devel-doc
-D-Bus is a message bus system, a simple way for applications to talk to
-one another. D-BUS supplies both a system daemon and a
-per-user-login-session daemon. Also, the message bus is built on top of
-a general one-to-one message passing framework, which can be used by
-any two apps to communicate directly (without going through the message
-bus daemon).
-
%prep
# COMMON2-BEGIN
%setup -n dbus-%{version} -q
@@ -97,7 +77,8 @@ export V=1
--libdir=%{_libdir} \
--with-init-scripts=suse \
--enable-inotify \
- --enable-doxygen-docs \
+ --disable-doxygen-docs \
+ --disable-xml-docs \
%if %{with_systemd}
--enable-systemd \
%endif
@@ -148,15 +129,15 @@ rm -rf %{buildroot}/%{_bindir}/dbus-launch
install -d %{buildroot}%{_sysconfdir}/profile.d
install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh
+# docs
+rm -rf %{buildroot}%{_datadir}/doc
+
%pre
# Add the "dbus" user and group
/usr/sbin/groupadd -r -g %{dbus_user_uid} dbus 2>/dev/null || :
/usr/sbin/useradd -c 'System message bus' -u %{dbus_user_uid} -g %{dbus_user_uid} \
-s /sbin/nologin -r -d '/' dbus 2> /dev/null || :
-%docs_package
-%manifest dbus.manifest
-
%files
%manifest %{name}.manifest
%defattr(-, root, root)
@@ -202,30 +183,4 @@ install -m0644 %{SOURCE7} %{buildroot}%{_sysconfdir}/profile.d/dbus.sh
%dir %{_datadir}/dbus-1/system-services
%{_sysconfdir}/profile.d/dbus.sh
-%files devel-doc
-%manifest %{name}.manifest
-%defattr(-,root,root)
-%dir %{_datadir}/doc/dbus
-%{_datadir}/doc/dbus/api/
-%doc %{_datadir}/doc/dbus/dbus-cleanup-sockets.1.html
-%doc %{_datadir}/doc/dbus/dbus-daemon.1.html
-%doc %{_datadir}/doc/dbus/dbus-faq.html
-%doc %{_datadir}/doc/dbus/dbus-launch.1.html
-%doc %{_datadir}/doc/dbus/dbus-monitor.1.html
-%doc %{_datadir}/doc/dbus/dbus-run-session.1.html
-%doc %{_datadir}/doc/dbus/dbus-send.1.html
-%doc %{_datadir}/doc/dbus/dbus-specification.html
-%doc %{_datadir}/doc/dbus/dbus-test-plan.html
-%doc %{_datadir}/doc/dbus/dbus-tutorial.html
-%doc %{_datadir}/doc/dbus/dbus-uuidgen.1.html
-%doc %{_datadir}/doc/dbus/dbus-test-tool.1.html
-%doc %{_datadir}/doc/dbus/dbus-update-activation-environment.1.html
-%doc %{_datadir}/doc/dbus/dbus.devhelp
-%doc %{_datadir}/doc/dbus/diagram.*
-%doc %{_datadir}/doc/dbus/system-activation.txt
-%doc doc/*.txt doc/file-boilerplate.c doc/TODO
-%doc %{_datadir}/doc/dbus/examples/GetAllMatchRules.py
-%doc %{_datadir}/doc/dbus/examples/example-session-disable-stats.conf
-%doc %{_datadir}/doc/dbus/examples/example-system-enable-stats.conf
-
%changelog