diff --git a/libappindicator.changes b/libappindicator.changes index e5dbe7c..e584440 100644 --- a/libappindicator.changes +++ b/libappindicator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 13 10:22:47 UTC 2016 - sor.alexei@meowr.ru + +- Little spec cleanup. + ------------------------------------------------------------------- Tue May 5 13:47:23 UTC 2015 - sor.alexei@meowr.ru diff --git a/libappindicator.spec b/libappindicator.spec index f512e3a..cb394d1 100644 --- a/libappindicator.spec +++ b/libappindicator.spec @@ -1,7 +1,7 @@ # # spec file for package libappindicator # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -32,6 +32,7 @@ Patch0: 0001_Fix_mono_dir.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: gtk-doc +BuildRequires: pkg-config BuildRequires: vala BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(dbusmenu-glib-0.4) @@ -45,11 +46,7 @@ BuildRequires: pkgconfig(indicator3-0.4) BuildRequires: pkgconfig(pygtk-2.0) %if %{with mono} BuildRequires: pkgconfig(gapi-2.0) -%endif -%if %{with mono} BuildRequires: pkgconfig(gtk-sharp-2.0) -%endif -%if %{with mono} BuildRequires: pkgconfig(mono) BuildRequires: pkgconfig(mono-nunit) %endif @@ -88,6 +85,7 @@ library. Summary: Development files for libappindicator Group: Development/Libraries/C and C++ Requires: libappindicator%{soname} = %{version} +Requires: pkg-config Requires: pkgconfig(dbus-glib-1) Requires: pkgconfig(dbusmenu-glib-0.4) @@ -103,7 +101,7 @@ A library to allow applications to export a menu into the Unity Menu bar. Based on KSNI it also works in KDE and will fallback to generic Systray support if none of those are available. -This package contains the GTK 3 version of this library. +This package contains the GTK+ 3 version of this library. %package -n typelib-1_0-AppIndicator3-0_1 Summary: Application indicators library @@ -114,9 +112,10 @@ This package contains the GObject Introspection bindings for the appindicator library. %package -n libappindicator3-devel -Summary: Development files for libappindicator3-%{soname} +Summary: Development files for libappindicator3 Group: Development/Libraries/C and C++ Requires: libappindicator3-%{soname} = %{version} +Requires: pkg-config Requires: pkgconfig(dbus-glib-1) Requires: pkgconfig(dbusmenu-glib-0.4) @@ -132,6 +131,7 @@ BuildArch: noarch This package contains the documentation for the appindicator and appindicator3 libraries. +%if %{with mono} %package -n appindicator-sharp Summary: Application indicators library -- C# assembly CLI Group: System/Libraries @@ -149,6 +149,7 @@ Requires: appindicator-sharp = %{version} %description -n appindicator-sharp-devel This package contains the development files for the appindicator-sharp library. +%endif %prep %setup -q -n %{name}-%{_version}