Marguerite Su 2013-10-22 06:06:47 +00:00 committed by Git OBS Bridge
parent 33e93f364a
commit 7235ccaab1

View File

@ -31,6 +31,7 @@ Source: %{name}-%{version}.tar.gz
Patch0: nemo-2.0.1-g_list_copy_deep.patch
# PATCH-FIX-UPSTREAM marguerite@opensuse.org fix OBS gcc checks
Patch1: nemo-2.0.1-view-no-return.patch
BuildRequires: fdupes
BuildRequires: gnome-common
BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
@ -49,10 +50,12 @@ BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(polkit-1.0)
# wise detect Tumbleweed
%if 0%{?gnome_common_ver} <= 6
BuildRequires: pkgconfig(tracker-sparql-0.14)
%else
%endif
%if 0%{?gnome_common_ver} >= 7
BuildRequires: pkgconfig(tracker-sparql-0.16)
%endif
BuildRequires: pkgconfig(x11)
@ -67,6 +70,7 @@ Nemo is the file manager for the Cinnamon desktop environment.
Summary: Development files for %{name}
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: libnemo-extension1 = %{version}
Requires: typelib-1_0-Nemo-3_0 = %{version}
%description devel
@ -109,6 +113,12 @@ make %{?_smp_mflags}
%make_install
find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
%suse_update_desktop_file %{name}
%suse_update_desktop_file %{name}-autostart
%suse_update_desktop_file %{name}-autorun-software
%fdupes %{buildroot}%{_datadir}
%post
%icon_theme_cache_post
%desktop_database_post
@ -130,19 +140,23 @@ find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
%doc AUTHORS COPYING COPYING-DOCS COPYING.EXTENSIONS COPYING.LIB NEWS README.md THANKS
%{_bindir}/nemo
%{_bindir}/nemo-autorun-software
%{_bindir}/nemo-connect-server
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/nemo-convert-metadata
%{_bindir}/nemo-connect-server
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/*.service
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/applications/nemo.desktop
%{_datadir}/applications/nemo-autostart.desktop
%{_datadir}/applications/nemo-autorun-software.desktop
%{_datadir}/dbus-1/services/org.Nemo.service
%{_datadir}/dbus-1/services/org.freedesktop.NemoFileManager1.service
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mime/
%{_datadir}/mime/packages/nemo.xml
%{_datadir}/nemo/
%{_datadir}/gtksourceview-2.0/language-specs/nemo_action.lang
%{_datadir}/gtksourceview-3.0/language-specs/nemo_action.lang
%{_datadir}/polkit-1/actions/org.nemo.root.policy
%{_mandir}/man1/*.1.gz
%{_mandir}/man1/nemo.1.gz
%{_mandir}/man1/nemo-connect-server.1.gz
%files -n typelib-1_0-Nemo-3_0
%defattr(-,root,root)