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