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
|
|
|
|
Version: 2.0.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-21 20:45:20 +02:00
|
|
|
# PATCH-FIX-OPENSUSE fix upstream g_list_copy_deep on 12.2
|
|
|
|
Patch: nemo-2.0.1-g_list_copy_deep.patch
|
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
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRequires: shared-mime-info
|
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(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gmodule-no-export-2.0)
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2013-10-21 19:50:14 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-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-21 20:03:39 +02:00
|
|
|
%if 0%{?suse_version} <= 1230
|
|
|
|
BuildRequires: pkgconfig(tracker-sparql-0.14)
|
|
|
|
%else
|
|
|
|
BuildRequires: pkgconfig(tracker-sparql-0.16)
|
|
|
|
%endif
|
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-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-21 20:45:20 +02:00
|
|
|
%if 0%{?suse_version} = 1220
|
|
|
|
patch -p1
|
|
|
|
%endif
|
2012-11-06 01:32:28 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-10-21 20:36:31 +02:00
|
|
|
%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
|
2012-11-06 01:32:28 +01:00
|
|
|
find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete
|
|
|
|
|
|
|
|
%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
|
|
|
|
%{_libexecdir}/%{name}/nemo-convert-metadata
|
|
|
|
%{_bindir}/nemo-connect-server
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/dbus-1/services/*.service
|
|
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
|
|
%{_datadir}/mime/
|
|
|
|
%{_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
|
2012-11-06 01:32:28 +01:00
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
|
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-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
|