This commit is contained in:
parent
9f8cc83887
commit
fe9ebae617
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 18 08:46:06 UTC 2015 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
- Some cleanup.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 10 10:10:25 UTC 2015 - i@marguerite.su
|
Mon Aug 10 10:10:25 UTC 2015 - i@marguerite.su
|
||||||
|
|
||||||
|
108
nemo.spec
108
nemo.spec
@ -16,18 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname libnemo-extension
|
||||||
|
%define sover 1
|
||||||
|
%define typelib typelib-1_0-Nemo-3_0
|
||||||
Name: nemo
|
Name: nemo
|
||||||
Version: 2.6.7
|
Version: 2.6.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: File browser for Cinnamon
|
Summary: File browser for Cinnamon
|
||||||
License: GPL-2.0+ and LGPL-2.0
|
License: GPL-2.0+
|
||||||
Group: System/GUI/Cinnamon
|
Group: System/GUI/Other
|
||||||
Url: https://github.com/linuxmint/%{name}
|
Url: https://github.com/linuxmint/nemo
|
||||||
Source: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM marguerite@opensuse.org OBS gcc checks
|
# PATCH-FIX-UPSTREAM nemo-implicit-pointer-decl.patch marguerite@opensuse.org -- OBS gcc checks.
|
||||||
Patch1: nemo-implicit-pointer-decl.patch
|
Patch1: %{name}-implicit-pointer-decl.patch
|
||||||
# PATCH-FIX-UPSTREAM margueirte@opensuse.org fix OBS gcc checks
|
# PATCH-FIX-UPSTREAM nemo-2.4.0-void-return-no-return.patch margueirte@opensuse.org -- Fix OBS gcc checks.
|
||||||
Patch2: nemo-2.4.0-void-return-no-return.patch
|
Patch2: %{name}-2.4.0-void-return-no-return.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-common
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
@ -53,38 +56,37 @@ BuildRequires: pkgconfig(libxml-2.0)
|
|||||||
BuildRequires: pkgconfig(polkit-agent-1)
|
BuildRequires: pkgconfig(polkit-agent-1)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
Recommends: cinnamon-translations
|
Recommends: cinnamon-translations
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%glib2_gsettings_schema_requires
|
||||||
%{glib2_gsettings_schema_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Nemo is the file manager for the Cinnamon desktop environment.
|
Nemo is the file manager for the Cinnamon desktop environment.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for Nemo
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: libnemo-extension1 = %{version}
|
Requires: %{soname}%{sover} = %{version}
|
||||||
Requires: typelib-1_0-Nemo-3_0 = %{version}
|
Requires: %{typelib} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Nemo is the file manager for the Cinnamon desktop environment.
|
Nemo is the file manager for the Cinnamon desktop environment.
|
||||||
|
|
||||||
This package provides the development files for Nemo.
|
This package provides the development files for Nemo.
|
||||||
|
|
||||||
%package -n libnemo-extension1
|
%package -n %{soname}%{sover}
|
||||||
Summary: Nemo extension shared libraries
|
Summary: Nemo extension shared libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libnemo-extension1
|
%description -n %{soname}%{sover}
|
||||||
Nemo is the file manager for the Cinnamon desktop environment.
|
Nemo is the file manager for the Cinnamon desktop environment.
|
||||||
|
|
||||||
This package provides Nemo's shared libraries.
|
This package provides Nemo's shared libraries.
|
||||||
|
|
||||||
%package -n typelib-1_0-Nemo-3_0
|
%package -n %{typelib}
|
||||||
Summary: File Browser for Cinnamon - Introspection bindings
|
Summary: File Browser for Cinnamon -- Introspection Bindings
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-Nemo-3_0
|
%description -n %{typelib}
|
||||||
Nemo is the file manager for the Cinnamon desktop environment.
|
Nemo is the file manager for the Cinnamon desktop environment.
|
||||||
|
|
||||||
This package provides the GObject Introspection bindings for Nemo.
|
This package provides the GObject Introspection bindings for Nemo.
|
||||||
@ -95,11 +97,12 @@ This package provides the GObject Introspection bindings for Nemo.
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 gnome-autogen.sh
|
||||||
%configure --libexecdir=%{_libexecdir}/%{name} \
|
%configure \
|
||||||
--disable-static \
|
--libexecdir=%{_libexecdir}/%{name} \
|
||||||
--disable-update-mimedb \
|
--disable-static \
|
||||||
--enable-gtk-doc
|
--disable-update-mimedb \
|
||||||
|
--enable-gtk-doc
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -110,69 +113,58 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%suse_update_desktop_file %{name}-autostart
|
%suse_update_desktop_file %{name}-autostart
|
||||||
%suse_update_desktop_file %{name}-autorun-software
|
%suse_update_desktop_file %{name}-autorun-software
|
||||||
|
|
||||||
# we need to own this directory
|
# We need to own this directory.
|
||||||
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0
|
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}/
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
%{glib2_gsettings_schema_post}
|
|
||||||
%mime_database_post
|
%mime_database_post
|
||||||
|
%glib2_gsettings_schema_post
|
||||||
%post -n libnemo-extension1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
%{glib2_gsettings_schema_postun}
|
|
||||||
%mime_database_postun
|
%mime_database_postun
|
||||||
|
%glib2_gsettings_schema_postun
|
||||||
|
|
||||||
%postun -n libnemo-extension1 -p /sbin/ldconfig
|
%post -n %{soname}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{soname}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING COPYING-DOCS COPYING.EXTENSIONS COPYING.LIB NEWS README.md THANKS
|
%doc AUTHORS COPYING* README.md debian/changelog
|
||||||
%{_bindir}/nemo
|
%{_bindir}/%{name}*
|
||||||
%{_bindir}/nemo-autorun-software
|
%{_libexecdir}/%{name}/
|
||||||
%{_bindir}/nemo-connect-server
|
%{_datadir}/%{name}/
|
||||||
%{_bindir}/nemo-open-with
|
%{_datadir}/applications/%{name}*.desktop
|
||||||
%dir %{_libexecdir}/%{name}
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
%{_libexecdir}/%{name}/nemo-convert-metadata
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
%{_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.Nemo.service
|
||||||
%{_datadir}/dbus-1/services/org.nemo.freedesktop.FileManager1.service
|
%{_datadir}/dbus-1/services/org.nemo.freedesktop.FileManager1.service
|
||||||
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
|
||||||
%{_datadir}/icons/hicolor/*/*/*
|
%{_datadir}/gtksourceview-?.0/language-specs/%{name}_action.lang
|
||||||
%{_datadir}/mime/packages/nemo.xml
|
|
||||||
%{_datadir}/nemo/
|
|
||||||
%{_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
|
%{_datadir}/polkit-1/actions/org.nemo.root.policy
|
||||||
%{_mandir}/man1/nemo.1.gz
|
%{_mandir}/%{name}/%{name}*%{?ext_man}
|
||||||
%{_mandir}/man1/nemo-connect-server.1.gz
|
|
||||||
%{_libexecdir}/nemo/nemo-extensions-list
|
|
||||||
|
|
||||||
%files -n typelib-1_0-Nemo-3_0
|
%files -n %{typelib}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/girepository-1.0/Nemo-3.0.typelib
|
%{_libdir}/girepository-1.0/Nemo-3.0.typelib
|
||||||
|
|
||||||
%files -n libnemo-extension1
|
%files -n %{soname}%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc %{_datadir}/gtk-doc/html/libnemo-extension
|
%doc %{_datadir}/gtk-doc/html/libnemo-extension
|
||||||
%dir %{_libdir}/nemo
|
%{_libdir}/%{name}/
|
||||||
%dir %{_libdir}/nemo/extensions-3.0
|
%{_libdir}/%{soname}.so.%{sover}*
|
||||||
%{_libdir}/libnemo-extension.so.1
|
|
||||||
%{_libdir}/libnemo-extension.so.1.4.0
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/nemo/
|
%{_includedir}/%{name}/
|
||||||
%{_libdir}/libnemo-extension.so
|
%{_libdir}/%{soname}.so
|
||||||
%{_libdir}/pkgconfig/libnemo-extension.pc
|
%{_libdir}/pkgconfig/%{soname}.pc
|
||||||
%{_datadir}/gir-1.0/Nemo-3.0.gir
|
%{_datadir}/gir-1.0/Nemo-3.0.gir
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user