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
|
|
|
#
|
2013-10-21 19:50:14 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-11-06 01:32:28 +01:00
|
|
|
# Copyright (c) Nelson Marques <nmo.marques@gmail.com>
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
Name: nemo
|
2014-05-02 13:56:47 +02:00
|
|
|
Version: 2.2.1
|
2012-11-06 01:32:28 +01:00
|
|
|
Release: 0
|
|
|
|
License: GPL-2.0+ and LGPL-2.0
|
2013-10-21 19:50:14 +02:00
|
|
|
Summary: File browser for Cinnamon
|
2012-11-06 01:32:28 +01:00
|
|
|
Url: http://github.com/linuxmint/nemo
|
|
|
|
Group: System/GUI/Other
|
2013-10-21 19:50:14 +02:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2013-10-22 06:47:32 +02:00
|
|
|
# PATCH-FIX-UPSTREAM marguerite@opensuse.org fix OBS gcc checks
|
|
|
|
Patch1: nemo-2.0.1-view-no-return.patch
|
2014-04-20 14:19:54 +02:00
|
|
|
# PATCH-FIX-UPSTREAM margueirte@opensuse.org fix OBS gcc checks
|
|
|
|
Patch2: nemo-2.2.0-void-return-no-return.patch
|
2013-10-22 08:06:47 +02:00
|
|
|
BuildRequires: fdupes
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: gnome-common
|
2013-10-21 20:36:31 +02:00
|
|
|
BuildRequires: gtk-doc
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2014-04-20 14:19:54 +02:00
|
|
|
BuildRequires: python-polib
|
|
|
|
BuildRequires: python-gobject-devel
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRequires: shared-mime-info
|
2013-10-22 16:13:27 +02:00
|
|
|
BuildRequires: tracker-devel
|
2013-10-21 20:03:39 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(cinnamon-desktop)
|
2012-11-07 22:09:36 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2013-10-21 20:03:39 +02: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)
|
2013-10-22 07:32:40 +02:00
|
|
|
BuildRequires: pkgconfig(gtksourceview-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
2013-10-21 20:03:39 +02:00
|
|
|
BuildRequires: pkgconfig(libexif)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(libnotify)
|
2013-10-21 20:03:39 +02:00
|
|
|
BuildRequires: pkgconfig(libselinux)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2013-10-22 08:10:10 +02:00
|
|
|
BuildRequires: pkgconfig(polkit-agent-1)
|
2012-11-06 01:32:28 +01:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2013-10-21 20:16:33 +02:00
|
|
|
Recommends: cinnamon-translations
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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
|
2013-10-21 19:50:14 +02:00
|
|
|
Summary: Development files for %{name}
|
2012-11-06 01:32:28 +01:00
|
|
|
Group: Development/Libraries/Other
|
2013-10-21 19:50:14 +02:00
|
|
|
Requires: %{name} = %{version}
|
2013-10-22 08:06:47 +02:00
|
|
|
Requires: libnemo-extension1 = %{version}
|
2013-10-21 20:45:20 +02:00
|
|
|
Requires: typelib-1_0-Nemo-3_0 = %{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
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
%package -n libnemo-extension1
|
2012-11-06 01:32:28 +01:00
|
|
|
Summary: Nemo extension shared libraries
|
2013-10-21 19:50:14 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libnemo-extension1
|
|
|
|
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.
|
|
|
|
|
2013-10-21 20:45:20 +02:00
|
|
|
%package -n typelib-1_0-Nemo-3_0
|
2013-10-21 19:50:14 +02:00
|
|
|
Summary: File Browser for Cinnamon - Introspection bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2013-10-21 20:45:20 +02:00
|
|
|
%description -n typelib-1_0-Nemo-3_0
|
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
|
2013-10-27 15:40:21 +01:00
|
|
|
sed -i '/AC_SUBST(DISABLE_DEPRECATED_CFLAGS)/d' configure.in
|
2012-11-06 01:32:28 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-10-22 05:57:30 +02:00
|
|
|
%configure --libexecdir=%{_libexecdir}/%{name} \
|
2013-10-21 20:36:31 +02:00
|
|
|
--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
|
2012-11-06 01:32:28 +01:00
|
|
|
find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
|
|
|
|
|
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
|
|
|
|
|
2013-10-28 08:21:37 +01:00
|
|
|
# we need to own this directory
|
2013-10-28 17:20:26 +01:00
|
|
|
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0
|
2013-10-28 08:21:37 +01:00
|
|
|
|
2013-10-22 08:06:47 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
|
2012-11-06 01:32:28 +01:00
|
|
|
%post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%desktop_database_post
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
%mime_database_post
|
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
%post -n libnemo-extension1 -p /sbin/ldconfig
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%mime_database_postun
|
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
%postun -n libnemo-extension1 -p /sbin/ldconfig
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%files
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2013-10-21 20:36:31 +02:00
|
|
|
%doc AUTHORS COPYING COPYING-DOCS COPYING.EXTENSIONS COPYING.LIB NEWS README.md THANKS
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_bindir}/nemo
|
|
|
|
%{_bindir}/nemo-autorun-software
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_bindir}/nemo-connect-server
|
2013-10-22 07:32:40 +02:00
|
|
|
%dir %{_libexecdir}/%{name}
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_libexecdir}/%{name}/nemo-convert-metadata
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_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
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_datadir}/mime/packages/nemo.xml
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_datadir}/nemo/
|
2013-10-21 20:36:31 +02:00
|
|
|
%{_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
|
2013-10-22 08:06:47 +02:00
|
|
|
%{_mandir}/man1/nemo.1.gz
|
|
|
|
%{_mandir}/man1/nemo-connect-server.1.gz
|
2012-11-06 01:32:28 +01:00
|
|
|
|
2013-10-21 20:36:31 +02:00
|
|
|
%files -n typelib-1_0-Nemo-3_0
|
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
|
|
|
|
|
2013-10-21 19:50:14 +02:00
|
|
|
%files -n libnemo-extension1
|
|
|
|
%defattr(-,root,root)
|
2013-10-22 06:06:15 +02:00
|
|
|
%doc %{_datadir}/gtk-doc/html/libnemo-extension
|
2013-10-28 08:21:37 +01:00
|
|
|
%dir %{_libdir}/nemo
|
2013-10-28 17:20:26 +01:00
|
|
|
%dir %{_libdir}/nemo/extensions-3.0
|
2013-10-21 20:36:31 +02:00
|
|
|
%{_libdir}/libnemo-extension.so.1
|
|
|
|
%{_libdir}/libnemo-extension.so.1.4.0
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%files devel
|
2013-10-21 19:50:14 +02:00
|
|
|
%defattr(-,root,root)
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_includedir}/nemo/
|
2013-10-21 20:36:31 +02:00
|
|
|
%{_libdir}/libnemo-extension.so
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_libdir}/pkgconfig/libnemo-extension.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
|