Marguerite Su 2013-10-22 14:13:27 +00:00 committed by Git OBS Bridge
parent d78b295ed2
commit 881f6a1f75

View File

@ -17,7 +17,7 @@
# #
# wise detect Tumbleweed # wise detect Tumbleweed
%define gnome_common_ver %(rpm -q --qf '%%{VERSION}' gnome-common | sed 's/[^0-9]*3\\.\\([0-9]*\\)\\.[0-9]*/\\1/') #%define gnome_common_ver %(rpm -q --qf '%%{VERSION}' gnome-common | sed 's/[^0-9]*3\\.\\([0-9]*\\)\\.[0-9]*/\\1/')
Name: nemo Name: nemo
Version: 2.0.1 Version: 2.0.1
@ -39,6 +39,7 @@ BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
BuildRequires: sed BuildRequires: sed
BuildRequires: shared-mime-info BuildRequires: shared-mime-info
BuildRequires: tracker-devel
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: pkgconfig(cinnamon-desktop) BuildRequires: pkgconfig(cinnamon-desktop)
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
@ -54,12 +55,6 @@ BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(polkit-agent-1)
# wise detect Tumbleweed
%if 0%{?suse_version} <= 1230
BuildRequires: pkgconfig(tracker-sparql-0.14)
%else
BuildRequires: pkgconfig(tracker-sparql-0.16)
%endif
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
Recommends: cinnamon-translations Recommends: cinnamon-translations
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -106,8 +101,6 @@ This package provides the GObject Introspection bindings for Nemo.
%patch2 -p1 %patch2 -p1
%endif %endif
echo "GNOME COMMON VERSION: %{gnome_common_ver}"
%build %build
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
%configure --libexecdir=%{_libexecdir}/%{name} \ %configure --libexecdir=%{_libexecdir}/%{name} \