Alexei Sorokin 2018-05-09 17:49:20 +00:00 committed by Git OBS Bridge
parent 75e23ad0cd
commit aacfa06ee3
6 changed files with 176 additions and 120 deletions

View File

@ -1,3 +1,18 @@
--- nemo-dropbox.orig/data/icons/Makefile.am
+++ nemo-dropbox/data/icons/Makefile.am
@@ -1 +1 @@
-SUBDIRS = hicolor nemo-dropbox
\ No newline at end of file
+SUBDIRS = nemo-dropbox
--- nemo-dropbox.orig/data/Makefile.am
+++ nemo-dropbox/data/Makefile.am
@@ -1,6 +1 @@
-applicationdir = $(datadir)/applications
-application_DATA = dropbox.desktop
-
-EXTRA_DIST = $(application_DATA)
-
SUBDIRS = icons emblems
--- nemo-dropbox.orig/Makefile.am --- nemo-dropbox.orig/Makefile.am
+++ nemo-dropbox/Makefile.am +++ nemo-dropbox/Makefile.am
@@ -1,16 +1,6 @@ @@ -1,16 +1,6 @@
@ -8,7 +23,7 @@
+CLEANFILES = dropbox.txt +CLEANFILES = dropbox.txt
EXTRA_DIST = dropbox.in serializeimages.py dropbox.txt.in docgen.py rst2man.py EXTRA_DIST = dropbox.in serializeimages.py dropbox.txt.in docgen.py rst2man.py
-man_MANS = dropbox.1 -man_MANS = dropbox.1
-
-dropbox: dropbox.in serializeimages.py -dropbox: dropbox.in serializeimages.py
- python serializeimages.py $(PACKAGE_VERSION) $(datadir)/applications < dropbox.in > dropbox - python serializeimages.py $(PACKAGE_VERSION) $(datadir)/applications < dropbox.in > dropbox
- chmod +x dropbox - chmod +x dropbox
@ -16,6 +31,5 @@
-dropbox.1: dropbox dropbox.txt.in docgen.py -dropbox.1: dropbox dropbox.txt.in docgen.py
- python docgen.py $(PACKAGE_VERSION) < dropbox.txt.in > dropbox.txt - python docgen.py $(PACKAGE_VERSION) < dropbox.txt.in > dropbox.txt
- $(RST2MAN) dropbox.txt > dropbox.1 - $(RST2MAN) dropbox.txt > dropbox.1
-
-SUBDIRS = data src SUBDIRS = data src
+SUBDIRS = src

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:593aaf206ef50a8185e1f71c9018ce6a8b4bcb82b4684494e069f9045ba11fd1
size 1033217

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15855cf7880290c8e9956f894d8e3c6fb0bee996783b2af63ae66dc019e739a8
size 810400

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu May 8 20:40:20 UTC 2018 - sor.alexei@meowr.ru
- Update to version 3.8.0 (changes since 3.6.0):
* nemo-preview: Update versioning of xreader libs and
introspection.
* Remove rabbitvcs extension.
The rabbitvcs people are willing to maintain this themselves,
further improvements should be directed there.
* nemo-preview: Fix a gtk warning.
* nemo-preview: ES6 standard: Any symbols to be exported from a
module must be defined with "var".
* nemo-python: Improve gi.require_version() adding.
* nemo-compare: Change from python to python2 in shebangs.
* nemo-media-columns.py: Use a valid enum value, SUCCESS does not
exist.
* nemo-python: Fill info provider handles with a dummy struct to
ensure we have a unique pointer to pass around.
* nemo-media-columns: Use a dictionary keyed to the handle for
tracking source ids.
* nemo-media-columns: Move from python-imaging to python-pil.
* nemo-python: Fix deprecated gnome-common macros/variables.
* nemo-fileroller: Use symbolic icons.
* nemo-dropbox: Add a dropbox symbolic icon.
* nemo-preview: Switch from Apache OpenOffice to LibreOffice.
* nemo-audio-tab: Fixes and optimisations.
* nemo-media-columns: Add track padding.
* nemo-preview: Rename evince.js to xreader.js.
* Update translations.
- Remove nemo-preview_xreader-versioning.patch: fixed upstream.
- Rebase nemo-dropbox_no-dropbox-bin.patch.
- Drop the nemo-extension-rabbitvcs extension.
- Prepare for Meson.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 29 14:06:45 UTC 2017 - sor.alexei@meowr.ru Sat Dec 29 14:06:45 UTC 2017 - sor.alexei@meowr.ru

View File

@ -1,7 +1,7 @@
# #
# spec file for package nemo-extensions # spec file for package nemo-extensions
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,14 +19,14 @@
# Do not package nemo-extension-media-columns for now: slows Nemo down. # Do not package nemo-extension-media-columns for now: slows Nemo down.
# nemo-extension-terminal 'requires' two versions, confusing typelib finder. # nemo-extension-terminal 'requires' two versions, confusing typelib finder.
%define __requires_exclude typelib\\((Vte))\ = %define __requires_exclude typelib\\((Vte))\ =
%define _version 3.6.0 %define _version 3.8.0
Name: nemo-extensions Name: nemo-extensions
Version: 3.6.0 Version: 3.8.0
Release: 0 Release: 0
Summary: Set of extensions for Nemo, the Cinnamon file manager Summary: Set of extensions for Nemo, the Cinnamon file manager
License: GPL-2.0 AND GPL-3.0 AND GPL-3.0+ License: GPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Url: https://github.com/linuxmint/nemo-extensions URL: https://github.com/linuxmint/nemo-extensions
Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE nemo-seahorse_no-nautilus-conflicts.patch sor.alexei@meowr.ru -- Strip conflicted with nautilus-extension-seahorse files. # PATCH-FIX-OPENSUSE nemo-seahorse_no-nautilus-conflicts.patch sor.alexei@meowr.ru -- Strip conflicted with nautilus-extension-seahorse files.
Patch0: nemo-seahorse_no-nautilus-conflicts.patch Patch0: nemo-seahorse_no-nautilus-conflicts.patch
@ -36,24 +36,24 @@ Patch1: nemo-dropbox_no-dropbox-bin.patch
Patch2: nemo-seahorse_gpg-2.2.patch Patch2: nemo-seahorse_gpg-2.2.patch
# PATCH-FIX-OPENSUSE nemo-gtkhash_openssl-1.1.patch sor.alexei@meowr.ru -- Add basic OpenSSL 1.1+ compatibility in nemo-gtkhash. # PATCH-FIX-OPENSUSE nemo-gtkhash_openssl-1.1.patch sor.alexei@meowr.ru -- Add basic OpenSSL 1.1+ compatibility in nemo-gtkhash.
Patch3: nemo-gtkhash_openssl-1.1.patch Patch3: nemo-gtkhash_openssl-1.1.patch
# PATCH-FIX-UPSTREAM nemo-preview_xreader-versioning.patch miketwebster@gmail.com -- Update versioning of xreader libs and introspection in nemo-preview (commit 52767dc).
Patch4: nemo-preview_xreader-versioning.patch
BuildRequires: gettext-runtime BuildRequires: gettext-runtime
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: libgpgme-devel BuildRequires: libgpgme-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: mbedtls-devel
BuildRequires: meld BuildRequires: meld
BuildRequires: meson
BuildRequires: mhash-devel BuildRequires: mhash-devel
BuildRequires: nemo-devel BuildRequires: nemo-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distutils-extra
BuildRequires: python-docutils
BuildRequires: python-gtk-devel BuildRequires: python-gtk-devel
BuildRequires: python-setuptools BuildRequires: python2-distutils-extra
BuildRequires: python2-docutils
BuildRequires: python2-setuptools
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: pkgconfig(cinnamon-desktop) BuildRequires: pkgconfig(cinnamon-desktop)
BuildRequires: pkgconfig(cjs-1.0) BuildRequires: pkgconfig(cjs-1.0)
@ -76,54 +76,76 @@ BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: pkgconfig(webkit2gtk-4.0) BuildRequires: pkgconfig(webkit2gtk-4.0)
BuildRequires: pkgconfig(xreader-document-1.5) BuildRequires: pkgconfig(xreader-document-1.5)
BuildRequires: pkgconfig(xreader-view-1.5) BuildRequires: pkgconfig(xreader-view-1.5)
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
BuildRequires: mbedtls-devel
%endif
%description %description
Set of extensions for Nemo, the Cinnamon file manager. Set of extensions for Nemo, the Cinnamon file manager.
%if 0%{?suse_version} >= 1500
%package -n python2-nemo
%else
%package -n python-nemo %package -n python-nemo
%endif
Summary: Python bindings for the Nemo File manager Summary: Python bindings for the Nemo File manager
License: GPL-2.0 License: GPL-2.0-only
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Provides: python-nemo-devel = %{version}
# nemo-python was last used in openSUSE 13.2. # nemo-python was last used in openSUSE 13.2.
Provides: nemo-python = %{version} Provides: nemo-python = %{version}
Obsoletes: nemo-python < %{version} Obsoletes: nemo-python < %{version}
%if 0%{?suse_version} >= 1500
Provides: python2-nemo-devel = %{version}
# python-nemo was last used in openSUSE Leap 42.3.
Provides: python-nemo = %{version}
Obsoletes: python-nemo < %{version}
%description -n python2-nemo
%else
Provides: python-nemo-devel = %{version}
%description -n python-nemo %description -n python-nemo
%endif
Includes Python bindings for the Nemo Filemanager. Includes Python bindings for the Nemo Filemanager.
%package -n nemo-extension-audio-tab %package -n nemo-extension-audio-tab
Summary: Audio tag information for Nemo file manager Summary: Audio tag information for Nemo file manager
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Requires: python-mutagen
Requires: python-nemo = %{version}
Recommends: %{name}-lang Recommends: %{name}-lang
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} >= 1500
Requires: python2-mutagen
Requires: python2-nemo = %{version}
%else
Requires: python-mutagen
Requires: python-nemo = %{version}
%endif
%description -n nemo-extension-audio-tab %description -n nemo-extension-audio-tab
View audio tag information from the file manager's properties tab. View audio tag information from the file manager's properties tab.
%package -n nemo-extension-compare %package -n nemo-extension-compare
Summary: Context Menu comparison extension for Nemo file manager Summary: Context Menu comparison extension for Nemo file manager
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: meld Requires: meld
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Requires: python-gobject
Requires: python-gtk Requires: python-gtk
Requires: python-nemo = %{version}
Requires: python-xdg
Recommends: %{name}-lang Recommends: %{name}-lang
# nemo-compare was last used in openSUSE 13.2. # nemo-compare was last used in openSUSE 13.2.
Provides: nemo-compare = %{version} Provides: nemo-compare = %{version}
Obsoletes: nemo-compare < %{version} Obsoletes: nemo-compare < %{version}
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} >= 1500
Requires: python2-gobject
Requires: python2-nemo = %{version}
Requires: python2-pyxdg
%else
Requires: python-gobject
Requires: python-nemo = %{version}
Requires: python-xdg
%endif
%description -n nemo-extension-compare %description -n nemo-extension-compare
Simple context menu file comparison extension for Nemo, inspired by Simple context menu file comparison extension for Nemo, inspired by
@ -135,7 +157,7 @@ three-way and multi-compare situations.
%package -n nemo-extension-dropbox %package -n nemo-extension-dropbox
Summary: DropBox support for the Nemo Filemanager Summary: DropBox support for the Nemo Filemanager
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: dropbox Requires: dropbox
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
@ -149,16 +171,19 @@ Nemo-dropbox adds DropBox support to the Nemo filemanager.
%package -n nemo-extension-emblems %package -n nemo-extension-emblems
Summary: Change a directory or file emblem in Nemo Summary: Change a directory or file emblem in Nemo
License: GPL-3.0 License: GPL-3.0-only
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Requires: python-gobject
Recommends: %{name}-lang Recommends: %{name}-lang
# nemo-emblems was last used in openSUSE 13.2. # nemo-emblems was last used in openSUSE 13.2.
Provides: nemo-emblems = %{version} Provides: nemo-emblems = %{version}
Obsoletes: nemo-emblems < %{version} Obsoletes: nemo-emblems < %{version}
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 %if 0%{?suse_version} >= 1500
Requires: python2-gobject
Requires: python2-gobject-Gdk
%else
Requires: python-gobject
Requires: python-gobject-Gdk Requires: python-gobject-Gdk
%endif %endif
@ -168,7 +193,7 @@ file manager.
%package -n nemo-extension-fileroller %package -n nemo-extension-fileroller
Summary: Fileroller support for the Nemo Filemanager Summary: Fileroller support for the Nemo Filemanager
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: file-roller Requires: file-roller
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
@ -183,7 +208,7 @@ Nemo-fileroller adds File-roller support to the Nemo file manager.
%package -n nemo-extension-gtkhash %package -n nemo-extension-gtkhash
Summary: Nemo extension for computing checksums and more using gtkhash Summary: Nemo extension for computing checksums and more using gtkhash
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Recommends: %{name}-lang Recommends: %{name}-lang
@ -200,7 +225,7 @@ SHA512, RIPEMD, TIGER and WHIRLPOOL.
%package -n nemo-extension-image-converter %package -n nemo-extension-image-converter
Summary: Nemo extension to mass resize or rotate images Summary: Nemo extension to mass resize or rotate images
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: ImageMagick Requires: ImageMagick
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
@ -217,19 +242,23 @@ image(s) using ImageMagick's convert tool.
%package -n nemo-extension-pastebin %package -n nemo-extension-pastebin
Summary: Pastebin extension for Nemo file manager Summary: Pastebin extension for Nemo file manager
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Requires: python-gobject
Requires: python-xdg
Recommends: %{name}-lang Recommends: %{name}-lang
# nemo-pastebin was last used in openSUSE 13.2. # nemo-pastebin was last used in openSUSE 13.2.
Provides: nemo-pastebin = %{version} Provides: nemo-pastebin = %{version}
Obsoletes: nemo-pastebin < %{version} Obsoletes: nemo-pastebin < %{version}
BuildArch: noarch BuildArch: noarch
%glib2_gsettings_schema_requires %glib2_gsettings_schema_requires
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 %if 0%{?suse_version} >= 1500
Requires: python2-gobject
Requires: python2-gobject-Gdk
Requires: python2-pyxdg
%else
Requires: python-gobject
Requires: python-gobject-Gdk Requires: python-gobject-Gdk
Requires: python-xdg
%endif %endif
%description -n nemo-extension-pastebin %description -n nemo-extension-pastebin
@ -238,7 +267,7 @@ allows users to send files to pastebins just a right-click away.
%package -n nemo-extension-preview %package -n nemo-extension-preview
Summary: A quick previewer for Nemo file manager Summary: A quick previewer for Nemo file manager
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: gstreamer-plugins-good Requires: gstreamer-plugins-good
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
@ -252,25 +281,9 @@ Obsoletes: nemo-preview < %{version}
This is NemoPreview, a quick previewer for Nemo, the Cinnamon This is NemoPreview, a quick previewer for Nemo, the Cinnamon
desktop file manager. desktop file manager.
%package -n nemo-extension-rabbitvcs
Summary: RabbitVCS extension for Nemo file manager
License: GPL-3.0+
Group: System/GUI/Other
Requires: dbus-1-python
Requires: nemo >= %{_version}
Requires: python-nemo = %{version}
Supplements: packageand(nemo:rabbitvcs)
# nemo-rabbitvcs was last used in openSUSE 13.2.
Obsoletes: nemo-rabbitvcs < %{version}
Provides: nemo-rabbitvcs = %{version}
BuildArch: noarch
%description -n nemo-extension-rabbitvcs
RabbitVCS extension for Nemo, the Cinnamon desktop file manager.
%package -n nemo-extension-repairer %package -n nemo-extension-repairer
Summary: Nemo extension for filename encoding repair Summary: Nemo extension for filename encoding repair
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Recommends: %{name}-lang Recommends: %{name}-lang
@ -289,7 +302,7 @@ This extension also provides a decoded name for URL encoded filename.
%package -n nemo-extension-seahorse %package -n nemo-extension-seahorse
Summary: OpenPGP encryption/decryption extension for Nemo file manager Summary: OpenPGP encryption/decryption extension for Nemo file manager
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nautilus-extension-seahorse >= 3.0 Requires: nautilus-extension-seahorse >= 3.0
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
@ -305,7 +318,7 @@ and decryption of OpenPGP files using GnuPG.
%package -n nemo-extension-share %package -n nemo-extension-share
Summary: Samba share extension for Nemo file manager Summary: Samba share extension for Nemo file manager
License: GPL-2.0+ License: GPL-2.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Recommends: %{name}-lang Recommends: %{name}-lang
@ -321,17 +334,21 @@ Nemo file manager without requiring root access.
%package -n nemo-extension-terminal %package -n nemo-extension-terminal
Summary: Nemo extension to enable an embedded terminal Summary: Nemo extension to enable an embedded terminal
License: GPL-3.0+ License: GPL-3.0-or-later
Group: System/GUI/Other Group: System/GUI/Other
Requires: nemo >= %{_version} Requires: nemo >= %{_version}
Requires: python-gobject
Requires: python-nemo = %{version}
# nemo-terminal was last used in openSUSE 13.2. # nemo-terminal was last used in openSUSE 13.2.
Provides: nemo-terminal = %{version} Provides: nemo-terminal = %{version}
Obsoletes: nemo-terminal < %{version} Obsoletes: nemo-terminal < %{version}
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200 %if 0%{?suse_version} >= 1500
Requires: python2-gobject
Requires: python2-gobject-Gdk
Requires: python2-nemo = %{version}
%else
Requires: python-gobject
Requires: python-gobject-Gdk Requires: python-gobject-Gdk
Requires: python-nemo = %{version}
%endif %endif
%description -n nemo-extension-terminal %description -n nemo-extension-terminal
@ -346,13 +363,16 @@ directory in Nemo.
%patch1 %patch1
%patch2 %patch2
%patch3 %patch3
%patch4
# Remove spurious executable permission. # Remove spurious executable permission.
chmod a-x nemo-audio-tab/COPYING.GPL3 nemo-emblems/COPYING.GPL3 chmod a-x nemo-audio-tab/COPYING.GPL3 nemo-emblems/COPYING.GPL3
%build %build
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
pushd "$dir" pushd "$dir"
if [ -f meson.build ]; then
%meson
%meson_build
fi
[ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh [ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
if [ -f configure ]; then if [ -f configure ]; then
%configure \ %configure \
@ -369,14 +389,8 @@ pushd nemo-gtkhash
--disable-static \ --disable-static \
--enable-linux-crypto \ --enable-linux-crypto \
--enable-libcrypto \ --enable-libcrypto \
%if 0%{?suse_version} >= 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
--enable-gcrypt \ --enable-gcrypt \
%else
--disable-gcrypt \
%endif
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120100 && 0%{?is_opensuse})
--enable-mbedtls \ --enable-mbedtls \
%endif
--enable-nettle \ --enable-nettle \
--enable-nss \ --enable-nss \
--enable-mhash \ --enable-mhash \
@ -387,6 +401,9 @@ popd
%install %install
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
pushd "$dir" pushd "$dir"
if [ -f meson.build ]; then
%meson_install
fi
if [ -f Makefile ]; then if [ -f Makefile ]; then
%make_install %make_install
fi fi
@ -417,10 +434,6 @@ mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_datadir}/nemo-python/
ln -s %{_datadir}/nemo-compare/nemo-compare.py %{buildroot}%{_datadir}/nemo-python/extensions/nemo-compare.py ln -s %{_datadir}/nemo-compare/nemo-compare.py %{buildroot}%{_datadir}/nemo-python/extensions/nemo-compare.py
ln -s %{_datadir}/nemo-compare/nemo-compare-preferences.py %{buildroot}%{_bindir}/nemo-compare-preferences ln -s %{_datadir}/nemo-compare/nemo-compare-preferences.py %{buildroot}%{_bindir}/nemo-compare-preferences
# For nemo-extension-rabbitvcs.
install -Dpm 0644 nemo-rabbitvcs/RabbitVCS.py \
%{buildroot}%{_datadir}/nemo-python/extensions/RabbitVCS.py
# For nemo-extension-terminal. # For nemo-extension-terminal.
pushd nemo-terminal pushd nemo-terminal
mkdir -p %{buildroot}%{_datadir}/nemo-terminal/ mkdir -p %{buildroot}%{_datadir}/nemo-terminal/
@ -440,9 +453,15 @@ done
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%if 0%{?suse_version} >= 1500
%post -n python2-nemo -p /sbin/ldconfig
%postun -n python2-nemo -p /sbin/ldconfig
%else
%post -n python-nemo -p /sbin/ldconfig %post -n python-nemo -p /sbin/ldconfig
%postun -n python-nemo -p /sbin/ldconfig %postun -n python-nemo -p /sbin/ldconfig
%endif
%post -n nemo-extension-dropbox -p /sbin/ldconfig %post -n nemo-extension-dropbox -p /sbin/ldconfig
@ -472,7 +491,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n nemo-extension-share -p /sbin/ldconfig %postun -n nemo-extension-share -p /sbin/ldconfig
%if 0%{?suse_version} <= 1320 %if 0%{?suse_version} < 1500
%post -n nemo-extension-gtkhash %post -n nemo-extension-gtkhash
/sbin/ldconfig /sbin/ldconfig
%glib2_gsettings_schema_post %glib2_gsettings_schema_post
@ -494,8 +513,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%glib2_gsettings_schema_postun %glib2_gsettings_schema_postun
%endif %endif
%if 0%{?suse_version} >= 1500
%files -n python2-nemo
%else
%files -n python-nemo %files -n python-nemo
%doc nemo-python/AUTHORS nemo-python/COPYING nemo-python/debian/changelog %endif
%license nemo-python/COPYING
%doc nemo-python/AUTHORS nemo-python/debian/changelog
%doc %{_docdir}/nemo-python/ %doc %{_docdir}/nemo-python/
%{_libdir}/nemo/extensions-3.0/libnemo-python.so %{_libdir}/nemo/extensions-3.0/libnemo-python.so
%{_libdir}/pkgconfig/nemo-python.pc %{_libdir}/pkgconfig/nemo-python.pc
@ -503,44 +527,53 @@ find %{buildroot} -type f -name "*.la" -delete -print
%dir %{_datadir}/nemo-python/extensions/ %dir %{_datadir}/nemo-python/extensions/
%files -n nemo-extension-audio-tab %files -n nemo-extension-audio-tab
%doc nemo-audio-tab/COPYING* nemo-audio-tab/debian/changelog %license nemo-audio-tab/COPYING*
%doc nemo-audio-tab/debian/changelog
%{_datadir}/nemo-python/extensions/nemo-audio-tab.* %{_datadir}/nemo-python/extensions/nemo-audio-tab.*
%{python_sitelib}/nemo_audio_tab-* %{python_sitelib}/nemo_audio_tab-*
%files -n nemo-extension-compare %files -n nemo-extension-compare
%doc nemo-compare/nemo-compare/COPYING* nemo-compare/debian/changelog %license nemo-compare/nemo-compare/COPYING*
%doc nemo-compare/debian/changelog
%{_bindir}/nemo-compare-preferences %{_bindir}/nemo-compare-preferences
%{_datadir}/nemo-compare/ %{_datadir}/nemo-compare/
%{_datadir}/nemo-python/extensions/nemo-compare.py %{_datadir}/nemo-python/extensions/nemo-compare.py
%{_mandir}/man1/nemo-compare-preferences.1%{?ext_man} %{_mandir}/man1/nemo-compare-preferences.1%{?ext_man}
%files -n nemo-extension-dropbox %files -n nemo-extension-dropbox
%doc nemo-dropbox/AUTHORS nemo-dropbox/COPYING nemo-dropbox/debian/changelog %license nemo-dropbox/COPYING
%doc nemo-dropbox/AUTHORS nemo-dropbox/debian/changelog
%{_libdir}/nemo/extensions-3.0/libnemo-dropbox.so %{_libdir}/nemo/extensions-3.0/libnemo-dropbox.so
%{_datadir}/nemo-dropbox/
%files -n nemo-extension-emblems %files -n nemo-extension-emblems
%doc nemo-emblems/COPYING* nemo-emblems/debian/changelog %license nemo-emblems/COPYING*
%doc nemo-emblems/debian/changelog
%{_datadir}/nemo-python/extensions/nemo-emblems.py %{_datadir}/nemo-python/extensions/nemo-emblems.py
%{python_sitelib}/nemo_emblems-* %{python_sitelib}/nemo_emblems-*
%files -n nemo-extension-fileroller %files -n nemo-extension-fileroller
%doc nemo-fileroller/COPYING nemo-fileroller/debian/changelog %license nemo-fileroller/COPYING
%doc nemo-fileroller/debian/changelog
%{_libdir}/nemo/extensions-3.0/libnemo-fileroller.so %{_libdir}/nemo/extensions-3.0/libnemo-fileroller.so
%files -n nemo-extension-gtkhash %files -n nemo-extension-gtkhash
%doc nemo-gtkhash/AUTHORS nemo-gtkhash/COPYING nemo-gtkhash/debian/changelog %license nemo-gtkhash/COPYING
%doc nemo-gtkhash/AUTHORS nemo-gtkhash/debian/changelog
%{_bindir}/gtkhash %{_bindir}/gtkhash
%{_libdir}/nemo/extensions-3.0/libgtkhash-properties.so %{_libdir}/nemo/extensions-3.0/libgtkhash-properties.so
%{_datadir}/nemo-gtkhash/ %{_datadir}/nemo-gtkhash/
%{_datadir}/glib-2.0/schemas/*gtkhash*.gschema.xml %{_datadir}/glib-2.0/schemas/*gtkhash*.gschema.xml
%files -n nemo-extension-image-converter %files -n nemo-extension-image-converter
%doc nemo-image-converter/AUTHORS nemo-image-converter/COPYING nemo-image-converter/debian/changelog %license nemo-image-converter/COPYING
%doc nemo-image-converter/AUTHORS nemo-image-converter/debian/changelog
%{_libdir}/nemo/extensions-3.0/libnemo-image-converter.so %{_libdir}/nemo/extensions-3.0/libnemo-image-converter.so
%{_datadir}/nemo-image-converter/ %{_datadir}/nemo-image-converter/
%files -n nemo-extension-pastebin %files -n nemo-extension-pastebin
%doc nemo-pastebin/COPYING nemo-pastebin/debian/changelog %license nemo-pastebin/COPYING
%doc nemo-pastebin/debian/changelog
%{_bindir}/nemo-pastebin.py %{_bindir}/nemo-pastebin.py
%{_bindir}/nemo-pastebin-configurator.py %{_bindir}/nemo-pastebin-configurator.py
%{_datadir}/nemo-pastebin/ %{_datadir}/nemo-pastebin/
@ -549,35 +582,36 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_datadir}/glib-2.0/schemas/nemo-pastebin.gschema.xml %{_datadir}/glib-2.0/schemas/nemo-pastebin.gschema.xml
%files -n nemo-extension-preview %files -n nemo-extension-preview
%doc nemo-preview/AUTHORS nemo-preview/COPYING nemo-preview/debian/changelog %license nemo-preview/COPYING
%doc nemo-preview/AUTHORS nemo-preview/debian/changelog
%{_bindir}/nemo-preview %{_bindir}/nemo-preview
%{_libexecdir}/nemo-preview-start %{_libexecdir}/nemo-preview-start
%{_libdir}/nemo-preview/ %{_libdir}/nemo-preview/
%{_datadir}/nemo-preview/ %{_datadir}/nemo-preview/
%{_datadir}/dbus-1/services/org.nemo.Preview.service %{_datadir}/dbus-1/services/org.nemo.Preview.service
%files -n nemo-extension-rabbitvcs
%doc nemo-rabbitvcs/AUTHORS nemo-rabbitvcs/COPYING nemo-rabbitvcs/debian/changelog
%{_datadir}/nemo-python/extensions/RabbitVCS.py
%files -n nemo-extension-repairer %files -n nemo-extension-repairer
%doc nemo-repairer/AUTHORS nemo-repairer/COPYING nemo-repairer/COPYING nemo-repairer/README %license nemo-repairer/COPYING
%doc nemo-repairer/AUTHORS nemo-repairer/README
%{_bindir}/nemo-filename-repairer %{_bindir}/nemo-filename-repairer
%{_libdir}/nemo/extensions-3.0/libnemo-filename-repairer.so %{_libdir}/nemo/extensions-3.0/libnemo-filename-repairer.so
%{_datadir}/nemo-filename-repairer/ %{_datadir}/nemo-filename-repairer/
%files -n nemo-extension-seahorse %files -n nemo-extension-seahorse
%doc nemo-seahorse/COPYING nemo-seahorse/debian/changelog %license nemo-seahorse/COPYING
%doc nemo-seahorse/debian/changelog
%{_libdir}/nemo/extensions-3.0/libnemo-seahorse.so %{_libdir}/nemo/extensions-3.0/libnemo-seahorse.so
%files -n nemo-extension-share %files -n nemo-extension-share
%doc nemo-share/AUTHORS nemo-share/COPYING nemo-share/debian/changelog %license nemo-share/COPYING
%doc nemo-share/AUTHORS nemo-share/debian/changelog
%{_libdir}/nemo/extensions-3.0/libnemo-share.so %{_libdir}/nemo/extensions-3.0/libnemo-share.so
%{_datadir}/nemo-share/ %{_datadir}/nemo-share/
%{_datadir}/polkit-1/actions/org.nemo.share.samba_install.policy %{_datadir}/polkit-1/actions/org.nemo.share.samba_install.policy
%files -n nemo-extension-terminal %files -n nemo-extension-terminal
%doc nemo-terminal/AUTHORS nemo-terminal/COPYING nemo-terminal/debian/changelog %license nemo-terminal/COPYING
%doc nemo-terminal/AUTHORS nemo-terminal/debian/changelog
%{_datadir}/nemo-terminal/ %{_datadir}/nemo-terminal/
%{_datadir}/nemo-python/extensions/nemo_terminal.py %{_datadir}/nemo-python/extensions/nemo_terminal.py
%{_datadir}/glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml %{_datadir}/glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml

View File

@ -1,26 +0,0 @@
--- nemo-preview.orig/configure.ac
+++ nemo-preview/configure.ac
@@ -69,8 +69,8 @@ PKG_CHECK_MODULES(NEMO_PREVIEW,
gstreamer-pbutils-1.0
gstreamer-tag-1.0
libmusicbrainz5
- xreader-document-1.5.0
- xreader-view-1.5.0
+ xreader-document-1.5
+ xreader-view-1.5
gtksourceview-3.0
webkit2gtk-4.0)
--- nemo-preview.orig/src/Makefile-nemo-preview.am
+++ nemo-preview/src/Makefile-nemo-preview.am
@@ -103,8 +103,8 @@ NemoPreview_1_0_gir_INCLUDES = \
GstTag-1.0 \
GdkPixbuf-2.0 \
Gtk-3.0 \
- XreaderDocument-1.5.0 \
- XreaderView-1.5.0 \
+ XreaderDocument-1.5 \
+ XreaderView-1.5 \
GtkSource-3.0
NemoPreview_1_0_gir_FILES = \