forked from pool/libappindicator
Accepting request 290137 from X11:MATE:Factory
allow building without mono OBS-URL: https://build.opensuse.org/request/show/290137 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libappindicator?expand=0&rev=3
This commit is contained in:
parent
6e80edcf01
commit
524df4b66e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 5 11:32:19 UTC 2015 - schwab@suse.de
|
||||
|
||||
- Allow building without mono support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 10:41:46 UTC 2014 - p.drouand@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libappindicator
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%define _soname 1
|
||||
%bcond_without mono
|
||||
Name: libappindicator
|
||||
Version: 12.10.1+13.10.20130920
|
||||
Release: 0
|
||||
@ -42,15 +43,21 @@ BuildRequires: pkgconfig(dbus-glib-1)
|
||||
BuildRequires: pkgconfig(dbusmenu-glib-0.4)
|
||||
BuildRequires: pkgconfig(dbusmenu-gtk-0.4)
|
||||
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
|
||||
%if %{with mono}
|
||||
BuildRequires: pkgconfig(gapi-2.0)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
%if %{with mono}
|
||||
BuildRequires: pkgconfig(gtk-sharp-2.0)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(indicator-0.4)
|
||||
BuildRequires: pkgconfig(indicator3-0.4)
|
||||
%if %{with mono}
|
||||
BuildRequires: pkgconfig(mono)
|
||||
BuildRequires: pkgconfig(mono-nunit)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(pygtk-2.0)
|
||||
|
||||
%description
|
||||
@ -253,6 +260,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%doc COPYING*
|
||||
%doc %{_datadir}/gtk-doc/html/libappindicator/
|
||||
|
||||
%if %{with mono}
|
||||
%files -n appindicator-sharp
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
@ -279,5 +287,6 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
%{_libdir}/pkgconfig/appindicator-sharp-0.1.pc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user