# # spec file for package nemo # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) Nelson Marques # # 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/ # Name: nemo Version: 2.0.1 Release: 0 License: GPL-2.0+ and LGPL-2.0 Summary: File browser for Cinnamon Url: http://github.com/linuxmint/nemo Group: System/GUI/Other Source: %{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gnome-common BuildRequires: hicolor-icon-theme BuildRequires: libexempi-devel BuildRequires: libexif-gtk-devel BuildRequires: shared-mime-info BuildRequires: pkgconfig(dbus-1) 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) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(x11) BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description Nemo is the file manager for the Cinnamon desktop environment. %package devel Summary: Development files for %{name} Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: typelib-1_0-Nemo-1_0 = %{version} %description devel Nemo is the file manager for the Cinnamon desktop environment. This package provides the development files for Nemo. %package -n libnemo-extension1 Summary: Nemo extension shared libraries Group: System/Libraries %description -n libnemo-extension1 Nemo is the file manager for the Cinnamon desktop environment. This package provides Nemo's shared libraries. %package -n typelib-1_0-Nemo-1_0 Summary: File Browser for Cinnamon - Introspection bindings Group: System/Libraries %description -n typelib-1_0-Nemo-1_0 Nemo is the file manager for the Cinnamon desktop environment. This package provides the GObject Introspection bindings for Nemo. %lang_package %prep %setup -q %build NOCONFIGURE=1 ./autogen.sh %configure \ --disable-static make %{?_smp_mflags} %install %make_install %find_lang %{name} %{?no_lang_C} find %{buildroot}%{_libdir} -type f -name "*.la" -print -delete %post %icon_theme_cache_post %desktop_database_post %glib2_gsettings_schema_post %mime_database_post %post -n libnemo-extension1 -p /sbin/ldconfig %postun %icon_theme_cache_postun %desktop_database_postun %glib2_gsettings_schema_postun %mime_database_postun %postun -n libnemo-extension1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING COPYING-DOC COPYING.EXTENSIONS COPYING.LIB NEWS README.md THANKS %config %{_sysconfdir}/xdg/autostart/nemo-autostart.desktop %{_bindir}/nemo %{_bindir}/nemo-autorun-software %{_libexecdir}/%{name}/nemo-convert-metadata %{_bindir}/nemo-connect-server %{_datadir}/GConf/gsettings/nemo.convert %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/*.service %{_datadir}/glib-2.0/schemas/*.xml %{_datadir}/icons/hicolor/*/*/* %{_datadir}/mime/ %{_datadir}/nemo/ %{_mandir}/man1/*.1.gz %files -n typelib-1_0-Nemo-1_0 %defattr(-,root,root) %{_libdir}/girepository-1.0/Nemo-3.0.typelib %files -n libnemo-extension1 %defattr(-,root,root) %{_libdir}/libnemo-extension.so.* %files devel %defattr(-,root,root) %{_includedir}/nemo/ %{_libdir}/*.so %{_libdir}/pkgconfig/libnemo-extension.pc %{_datadir}/gir-1.0/ %files lang -f %{name}.lang %defattr(-,root,root) %changelog