Dominique Leuenberger 2017-09-13 19:42:31 +00:00 committed by Git OBS Bridge
commit f175eb6100
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 4 16:06:31 UTC 2017 - dimstar@opensuse.org
- Disable building of -doc subpackage (source not compatible with
gtk-doc 1.26 - and the doc is available online anyway):
+ Remove gtk-doc BuildRequires.
+ Replace --enable-gtk-doc configure parameter with
--disable-gtk-doc,
+ Drop the -doc subpackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 28 16:04:54 UTC 2017 - jengelh@inai.de Fri Apr 28 16:04:54 UTC 2017 - jengelh@inai.de

View File

@ -26,7 +26,7 @@ Name: libappindicator
Version: 12.10.1+bzr20170215 Version: 12.10.1+bzr20170215
Release: 0 Release: 0
Summary: Application indicators library Summary: Application indicators library
License: LGPL-2.0 and LGPL-3.0 and GPL-3.0 License: LGPL-2.0 AND LGPL-3.0 AND GPL-3.0
Group: System/Libraries Group: System/Libraries
Url: https://launchpad.net/libappindicator Url: https://launchpad.net/libappindicator
Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz Source: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{_version}.orig.tar.gz
@ -36,7 +36,6 @@ Patch0: 0001_Fix_mono_dir.patch
Patch1: libappindicator-activate-support.patch Patch1: libappindicator-activate-support.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: gtk-doc
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: vala BuildRequires: vala
BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dbus-glib-1)
@ -170,7 +169,7 @@ for ver in 2 3; do
pushd build-gtk$ver pushd build-gtk$ver
%configure \ %configure \
--disable-static \ --disable-static \
--enable-gtk-doc \ --disable-gtk-doc \
--disable-mono-test \ --disable-mono-test \
--with-gtk=$ver --with-gtk=$ver
make -j1 V=1 make -j1 V=1
@ -246,11 +245,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/vala/vapi/appindicator3-0.1.vapi %{_datadir}/vala/vapi/appindicator3-0.1.vapi
%{_datadir}/vala/vapi/appindicator3-0.1.deps %{_datadir}/vala/vapi/appindicator3-0.1.deps
%files doc
%defattr(-,root,root)
%doc COPYING COPYING.LGPL.2.1 README
%doc %{_datadir}/gtk-doc/html/libappindicator/
%if %{with mono} %if %{with mono}
%files -n appindicator-sharp %files -n appindicator-sharp
%defattr(-,root,root) %defattr(-,root,root)