2012-11-06 01:32:28 +01:00
|
|
|
#
|
2013-10-21 19:50:14 +02:00
|
|
|
# spec file for package nemo
|
2012-11-06 01:32:28 +01:00
|
|
|
#
|
2014-11-06 14:42:22 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-11-06 01:32:28 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2013-10-21 19:50:14 +02:00
|
|
|
#
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%define soname libnemo-extension
|
|
|
|
%define sover 1
|
|
|
|
%define typelib typelib-1_0-Nemo-3_0
|
2014-11-06 14:42:22 +01:00
|
|
|
Name: nemo
|
2015-08-10 17:31:18 +02:00
|
|
|
Version: 2.6.7
|
2012-11-06 01:32:28 +01:00
|
|
|
Release: 0
|
2013-10-21 19:50:14 +02:00
|
|
|
Summary: File browser for Cinnamon
|
2015-10-18 19:17:35 +02:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: System/GUI/Other
|
|
|
|
Url: https://github.com/linuxmint/nemo
|
2015-08-10 17:31:18 +02:00
|
|
|
Source: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
2015-10-18 19:17:35 +02:00
|
|
|
# PATCH-FIX-UPSTREAM nemo-implicit-pointer-decl.patch marguerite@opensuse.org -- OBS gcc checks.
|
|
|
|
Patch1: %{name}-implicit-pointer-decl.patch
|
|
|
|
# PATCH-FIX-UPSTREAM nemo-2.4.0-void-return-no-return.patch margueirte@opensuse.org -- Fix OBS gcc checks.
|
|
|
|
Patch2: %{name}-2.4.0-void-return-no-return.patch
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: fdupes
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: gnome-common
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: gtk-doc
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: python-gobject-devel
|
|
|
|
BuildRequires: python-polib
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRequires: shared-mime-info
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: tracker-devel
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(cinnamon-desktop)
|
2012-11-07 22:09:36 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: pkgconfig(exempi-2.0)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(gail-3.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
|
|
BuildRequires: pkgconfig(libexif)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: pkgconfig(libselinux)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2014-11-06 14:42:22 +01:00
|
|
|
BuildRequires: pkgconfig(polkit-agent-1)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2014-11-06 14:42:22 +01:00
|
|
|
Recommends: cinnamon-translations
|
2015-10-18 19:17:35 +02:00
|
|
|
%glib2_gsettings_schema_requires
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%description
|
2013-10-21 19:50:14 +02:00
|
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%package devel
|
2015-10-18 19:17:35 +02:00
|
|
|
Summary: Development files for Nemo
|
|
|
|
Group: Development/Libraries/C and C++
|
2013-10-21 19:50:14 +02:00
|
|
|
Requires: %{name} = %{version}
|
2015-10-18 19:17:35 +02:00
|
|
|
Requires: %{soname}%{sover} = %{version}
|
|
|
|
Requires: %{typelib} = %{version}
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%description devel
|
2013-10-21 19:50:14 +02:00
|
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
|
|
|
|
|
|
|
This package provides the development files for Nemo.
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%package -n %{soname}%{sover}
|
2012-11-06 01:32:28 +01:00
|
|
|
Summary: Nemo extension shared libraries
|
2013-10-21 19:50:14 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%description -n %{soname}%{sover}
|
2013-10-21 19:50:14 +02:00
|
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
This package provides Nemo's shared libraries.
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%package -n %{typelib}
|
|
|
|
Summary: File Browser for Cinnamon -- Introspection Bindings
|
2013-10-21 19:50:14 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%description -n %{typelib}
|
2013-10-21 19:50:14 +02:00
|
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
This package provides the GObject Introspection bindings for Nemo.
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2013-10-22 06:47:32 +02:00
|
|
|
%patch1 -p1
|
2014-04-20 14:19:54 +02:00
|
|
|
%patch2 -p1
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%build
|
2015-10-18 19:17:35 +02:00
|
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
|
|
|
%configure \
|
|
|
|
--libexecdir=%{_libexecdir}/%{name} \
|
|
|
|
--disable-static \
|
|
|
|
--disable-update-mimedb \
|
|
|
|
--enable-gtk-doc
|
2012-11-06 01:32:28 +01:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-10-21 19:50:14 +02:00
|
|
|
%make_install
|
2014-11-06 14:42:22 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2014-04-20 14:19:54 +02:00
|
|
|
%suse_update_desktop_file %{name} System FileManager
|
2013-10-22 08:06:47 +02:00
|
|
|
%suse_update_desktop_file %{name}-autostart
|
|
|
|
%suse_update_desktop_file %{name}-autorun-software
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
# We need to own this directory.
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
|
2013-10-28 08:21:37 +01:00
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}/
|
2013-10-22 08:06:47 +02:00
|
|
|
|
2012-11-06 01:32:28 +01:00
|
|
|
%post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%desktop_database_post
|
|
|
|
%mime_database_post
|
2015-10-18 19:17:35 +02:00
|
|
|
%glib2_gsettings_schema_post
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%mime_database_postun
|
2015-10-18 19:17:35 +02:00
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
|
|
|
%post -n %{soname}%{sover} -p /sbin/ldconfig
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%postun -n %{soname}%{sover} -p /sbin/ldconfig
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%files
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2015-10-18 19:17:35 +02:00
|
|
|
%doc AUTHORS COPYING* README.md debian/changelog
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_libexecdir}/%{name}/
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
%{_datadir}/applications/%{name}*.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_datadir}/mime/packages/%{name}.xml
|
2015-10-18 19:37:15 +02:00
|
|
|
%{_mandir}/man?/%{name}*%{?ext_man}
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.Nemo.service
|
2015-06-05 16:37:13 +02:00
|
|
|
%{_datadir}/dbus-1/services/org.nemo.freedesktop.FileManager1.service
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
|
2015-10-18 19:17:35 +02:00
|
|
|
%{_datadir}/gtksourceview-?.0/language-specs/%{name}_action.lang
|
2013-10-21 20:36:31 +02:00
|
|
|
%{_datadir}/polkit-1/actions/org.nemo.root.policy
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%files -n %{typelib}
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_libdir}/girepository-1.0/Nemo-3.0.typelib
|
|
|
|
|
2015-10-18 19:17:35 +02:00
|
|
|
%files -n %{soname}%{sover}
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-22 06:06:15 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/libnemo-extension
|
2015-10-18 20:06:55 +02:00
|
|
|
%dir %{_libdir}/%{name}/
|
|
|
|
%dir %{_libdir}/%{name}/extensions-3.0/
|
2015-10-18 19:17:35 +02:00
|
|
|
%{_libdir}/%{soname}.so.%{sover}*
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%files devel
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2015-10-18 19:17:35 +02:00
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/%{soname}.so
|
|
|
|
%{_libdir}/pkgconfig/%{soname}.pc
|
2013-10-21 20:36:31 +02:00
|
|
|
%{_datadir}/gir-1.0/Nemo-3.0.gir
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%changelog
|