This commit is contained in:
parent
a1d1d1e39c
commit
0fa0bd6c35
16
nemo.spec
16
nemo.spec
@ -17,9 +17,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# wise detect Tumbleweed
|
# wise detect Tumbleweed
|
||||||
%define gnome_common_ver %(gnome-doc-common --version | 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/')
|
||||||
#%define tumbleweed_above %(if [ %{gnome_common_ver} -le 6 ] ; then 0; else 1; fi)
|
|
||||||
#%define is_gnome10 %(if [ 0%{gnome_common_ver} -eq 10 ] ; then 1; else 0; fi)
|
|
||||||
|
|
||||||
Name: nemo
|
Name: nemo
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
@ -56,11 +54,19 @@ 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
|
# wise detect Tumbleweed
|
||||||
%if %{gnome_common_ver} >= 6
|
%if 0%{?suse_version} == 1230
|
||||||
|
%if %{gnome_common_ver} > 6
|
||||||
BuildRequires: pkgconfig(tracker-sparql-0.16)
|
BuildRequires: pkgconfig(tracker-sparql-0.16)
|
||||||
%else
|
%else
|
||||||
BuildRequires: pkgconfig(tracker-sparql-0.14)
|
BuildRequires: pkgconfig(tracker-sparql-0.14)
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} < 1230
|
||||||
|
BuildRequires: pkgconfig(tracker-sparql-0.14)
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1230
|
||||||
|
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
|
||||||
@ -103,7 +109,7 @@ This package provides the GObject Introspection bindings for Nemo.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%if %{gnome_common_ver} == 10
|
%if 0%{?suse_version} > 1230
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user