2013-10-29 09:57:16 +01:00
#
# spec file for package nemo-extensions
#
2015-10-22 01:52:51 +02:00
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
2013-10-29 09:57:16 +01:00
#
# 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/
#
2014-11-06 14:43:24 +01:00
2015-10-25 01:33:38 +02:00
%define _version 2.8.x
2013-10-29 09:57:16 +01:00
Name : nemo-extensions
2015-10-25 01:33:38 +02:00
Version : 2.8.0
2014-11-06 14:43:24 +01:00
Release : 0
2015-10-22 01:52:51 +02:00
Summary : Set of extensions for Nemo, the Cinnamon file manager
2015-12-22 16:28:56 +01:00
License : GPL-2.0 and GPL-3.0 and GPL-3.0+
2015-10-22 01:52:51 +02:00
Group : System/GUI/Other
2014-11-06 14:43:24 +01:00
Url : https://github.com/linuxmint/nemo-extensions
2015-10-25 01:33:38 +02:00
Source : https://github.com/linuxmint/%{name} /archive/%{_version}.tar.gz#/%{name}-%{_version}.tar.gz
2015-10-22 01:52:51 +02:00
# PATCH-FIX-UPSTREAM nemo-seahorse_gpg-2.1.patch stefan@fam-elser.de -- Add patch for GPG 2.1.
Patch0 : nemo-seahorse_gpg-2.1.patch
2015-10-25 01:33:38 +02:00
# PATCH-FIX-UPSTREAM nemo-terminal_vte-2.91.patch
Patch1 : nemo-terminal_vte-2.91.patch
2015-12-13 18:21:20 +01:00
# PATCH-FIX-UPSTREAM nemo-media-columns_use-exiftool.patch boo#958867 sor.alexei@meowr.ru -- Use exiftool as exiv2 shows some instability under nemo-python.
Patch2 : nemo-media-columns_use-exiftool.patch
2015-12-12 15:33:59 +01:00
# PATCH-FIX-OPENSUSE nemo-seahorse_no-nautilus-conflicts.patch sor.alexei@meowr.ru -- Strip conflicted with nautilus-extension-seahorse files.
2015-12-13 18:21:20 +01:00
Patch3 : nemo-seahorse_no-nautilus-conflicts.patch
2015-10-22 01:52:51 +02:00
# PATCH-FIX-OPENSUSE nemo-dropbox_no-dropbox-bin.patch sor.alexei@meowr.ru -- Strip dropbox binary installation.
2015-12-13 18:21:20 +01:00
Patch4 : nemo-dropbox_no-dropbox-bin.patch
2015-10-22 01:52:51 +02:00
BuildRequires : docutils
BuildRequires : gettext-runtime
BuildRequires : gnome-common
BuildRequires : intltool
2015-10-22 08:41:57 +02:00
BuildRequires : libgcrypt-devel
2015-10-22 01:52:51 +02:00
BuildRequires : libgpgme-devel
2014-11-06 14:43:24 +01:00
BuildRequires : libtool
2015-10-22 01:52:51 +02:00
BuildRequires : meld
BuildRequires : mhash-devel
BuildRequires : nemo-devel
BuildRequires : openssl-devel
BuildRequires : pkg-config
2015-10-24 20:37:43 +02:00
BuildRequires : python-devel
2015-10-22 01:52:51 +02:00
BuildRequires : python-distutils-extra
BuildRequires : python-gtk-devel
BuildRequires : python-setuptools
BuildRequires : update-desktop-files
BuildRequires : pkgconfig(cjs-1.0)
BuildRequires : pkgconfig(clutter-gst-2.0)
BuildRequires : pkgconfig(clutter-gtk-1.0)
BuildRequires : pkgconfig(cryptui-0.0)
BuildRequires : pkgconfig(dbus-glib-1)
BuildRequires : pkgconfig(evince-view-3.0)
BuildRequires : pkgconfig(gcr-3)
BuildRequires : pkgconfig(gio-2.0)
BuildRequires : pkgconfig(gnome-keyring-1)
BuildRequires : pkgconfig(gobject-introspection-1.0)
BuildRequires : pkgconfig(gstreamer-1.0)
2014-11-06 14:43:24 +01:00
BuildRequires : pkgconfig(gtksourceview-3.0)
2015-10-22 01:52:51 +02:00
BuildRequires : pkgconfig(libmusicbrainz5)
BuildRequires : pkgconfig(libnotify)
BuildRequires : pkgconfig(nettle)
BuildRequires : pkgconfig(nss)
2015-10-25 01:33:38 +02:00
BuildRequires : pkgconfig(pygobject-3.0)
2015-10-22 01:52:51 +02:00
BuildRequires : pkgconfig(webkitgtk-3.0)
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
BuildRequires : mbedtls-devel
%endif
2013-10-29 09:57:16 +01:00
%description
2015-10-22 01:52:51 +02:00
Set of extensions for Nemo, the Cinnamon file manager.
2015-10-22 19:25:29 +02:00
%package -n python-nemo
Summary : Python bindings for the Nemo File manager
License : GPL-2.0
Group : System/GUI/Other
Requires : nemo >= %{_version}
Provides : python-nemo-devel = %{version}
2015-12-12 15:33:59 +01:00
# nemo-python was last used in openSUSE 13.2.
2015-10-22 19:25:29 +02:00
Provides : nemo-python = %{version}
Obsoletes : nemo-python < %{version}
%description -n python-nemo
Includes Python bindings for the Nemo Filemanager.
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-audio-tab
Summary : Audio tag information for Nemo file manager
License : GPL-3.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
Requires : python-mutagen
2015-10-22 19:25:29 +02:00
Requires : python-nemo = %{version}
2015-10-22 01:52:51 +02:00
BuildArch : noarch
%description -n nemo-extension-audio-tab
View audio tag information from the file manager's properties tab.
%package -n nemo-extension-compare
Summary : Context Menu comparison extension for Nemo file manager
License : GPL-3.0+
Group : System/GUI/Other
Requires : meld
Requires : nemo >= %{_version}
Requires : python-gobject
Requires : python-gtk
2015-10-22 19:25:29 +02:00
Requires : python-nemo = %{version}
2015-10-22 01:52:51 +02:00
Requires : python-xdg
2015-12-12 15:33:59 +01:00
# nemo-compare was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-compare = %{version}
Obsoletes : nemo-compare < %{version}
BuildArch : noarch
%description -n nemo-extension-compare
Simple context menu file comparison extension for Nemo, inspired by
the discontinued 'diff-ext' extension. By default it uses 'meld' to
do the comparison and provides " C o m p a r e " , " C o m p a r e t o ~ / f o o / b a r " and
" C o m p a r e L a t e r " in Nemo context menu. Using the configurator tool
you can choose your favourite compare tool for one-on-one,
three-way and multi-compare situations.
%package -n nemo-extension-dropbox
Summary : DropBox support for the Nemo Filemanager
License : GPL-3.0+
Group : System/GUI/Other
Requires : dropbox
Requires : nemo >= %{_version}
2015-10-24 20:37:43 +02:00
Supplements: packageand(dropbox:nemo)
2015-12-12 15:33:59 +01:00
# nemo-dropbox was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-dropbox = %{version}
Obsoletes : nemo-dropbox < %{version}
%description -n nemo-extension-dropbox
2014-11-06 14:43:24 +01:00
Nemo-dropbox adds DropBox support to the Nemo filemanager.
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-emblems
Summary : Change a directory or file emblem in Nemo
License : GPL-3.0
Group : System/GUI/Other
Requires : nemo >= %{_version}
Requires : python-gobject
2015-12-12 15:33:59 +01:00
# nemo-emblems was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-emblems = %{version}
Obsoletes : nemo-emblems < %{version}
BuildArch : noarch
%description -n nemo-extension-emblems
Change a directory or a file emblem in Nemo, the Cinnamon desktop
file manager.
%package -n nemo-extension-fileroller
Summary : Fileroller support for the Nemo Filemanager
License : GPL-3.0+
Group : System/GUI/Other
Requires : file-roller
Requires : nemo >= %{_version}
2015-10-24 20:37:43 +02:00
Supplements: packageand(nemo:file-roller)
2015-12-12 15:33:59 +01:00
# nemo-fileroller was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-fileroller = %{version}
Obsoletes : nemo-fileroller < %{version}
%description -n nemo-extension-fileroller
Nemo-fileroller adds File-roller support to the Nemo file manager.
%package -n nemo-extension-gtkhash
Summary : Nemo extension for computing checksums and more using gtkhash
License : GPL-2.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
2015-12-12 15:33:59 +01:00
# nemo-gtkhash was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Obsoletes : nemo-gtkhash < %{version}
Provides : nemo-gtkhash = %{version}
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_requires
2015-10-22 01:52:51 +02:00
%description -n nemo-extension-gtkhash
2014-11-06 14:43:24 +01:00
The GtkHash extension for nemo which allows users to compute
message digests or checksums using the mhash library.
2015-10-22 01:52:51 +02:00
Currently supported hash functions include MD5, MD6, SHA1, SHA256,
SHA512, RIPEMD, TIGER and WHIRLPOOL.
%package -n nemo-extension-image-converter
Summary : Nemo extension to mass resize or rotate images
License : GPL-2.0+
Group : System/GUI/Other
Requires : ImageMagick
Requires : nemo >= %{_version}
2015-12-12 15:33:59 +01:00
# nemo-image-converter was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-image-converter = %{version}
Obsoletes : nemo-image-converter < %{version}
%description -n nemo-extension-image-converter
This package adds a " R e s i z e I m a g e s . . . " menu item to the context
menu of all images. This opens a dialog where you set the desired
image size and file name. A click on " R e s i z e " finally resizes the
image(s) using ImageMagick's convert tool.
%package -n nemo-extension-media-columns
Summary : Nemo Media Columns
License : GPL-3.0
Group : System/GUI/Other
2015-12-13 18:21:20 +01:00
Requires : exiftool
2015-10-22 01:52:51 +02:00
Requires : nemo >= %{_version}
Requires : python-gobject
Requires : python-imaging
Requires : python-kaa-metadata
Requires : python-mutagen
2015-10-22 19:25:29 +02:00
Requires : python-nemo = %{version}
2015-10-22 01:52:51 +02:00
Requires : python-pypdf
2015-12-12 15:33:59 +01:00
# nemo-media-columns was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-media-columns = %{version}
Obsoletes : nemo-media-columns < %{version}
BuildArch : noarch
%description -n nemo-extension-media-columns
2014-11-06 14:43:24 +01:00
This extension is meant to be used with the Nemo File Manager.
2015-10-22 01:52:51 +02:00
It provides additional columns for the List View related to
2014-11-06 14:43:24 +01:00
media-type files.
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-pastebin
Summary : Pastebin extension for Nemo file manager
License : GPL-2.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
Requires : python-gobject
Requires : python-xdg
2015-12-12 15:33:59 +01:00
# nemo-pastebin was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-pastebin = %{version}
Obsoletes : nemo-pastebin < %{version}
BuildArch : noarch
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_requires
2015-10-22 01:52:51 +02:00
%description -n nemo-extension-pastebin
nemo-pastebin is an extension for the Nemo file manager, which
allows users to send files to pastebins just a right-click away.
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-preview
Summary : A quick previewer for Nemo file manager
License : GPL-2.0+
Group : System/GUI/Other
2015-10-24 20:37:43 +02:00
Requires : gstreamer-plugins-good
2015-10-22 01:52:51 +02:00
Requires : nemo >= %{_version}
2015-12-12 15:33:59 +01:00
# nemo-preview was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Obsoletes : nemo-preview < %{version}
Provides : nemo-preview = %{version}
Provides : nemo-extension-preview-devel = %{version}
%description -n nemo-extension-preview
This is NemoPreview, a quick previewer for Nemo, the Cinnamon
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}
2015-10-22 19:25:29 +02:00
Requires : python-nemo = %{version}
2015-10-24 20:37:43 +02:00
Supplements: packageand(nemo:rabbitvcs)
2015-12-12 15:33:59 +01:00
# nemo-rabbitvcs was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
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
Summary : Nemo extension for filename encoding repair
License : GPL-2.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
2015-12-12 15:33:59 +01:00
# nemo-repairer was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-repairer = %{version}
Obsoletes : nemo-repairer < %{version}
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%description -n nemo-extension-repairer
2014-11-06 14:43:24 +01:00
This is a Nemo extension which repairs filename which uses wrong
encoding in Nemo. This extension provides the context menu for any
file whose filename uses wrong encoding, so that you cannot read the
filename in Nemo.
You can find a candidate for filename in context menu or submenu.
This extension also provides a decoded name for URL encoded filename.
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-seahorse
Summary : OpenPGP encryption/decryption extension for Nemo file manager
License : GPL-2.0+
Group : System/GUI/Other
2015-12-12 15:33:59 +01:00
Requires : nautilus-extension-seahorse >= 3.0
2015-10-22 01:52:51 +02:00
Requires : nemo >= %{_version}
2015-10-24 20:37:43 +02:00
Supplements: packageand(nemo:seahorse)
2015-12-12 15:33:59 +01:00
# nemo-seahorse was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-seahorse = %{version}
Obsoletes : nemo-seahorse < %{version}
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%description -n nemo-extension-seahorse
2014-11-06 14:43:24 +01:00
seahorse nemo is an extension for nemo which allows encryption
and decryption of OpenPGP files using GnuPG
2015-10-22 01:52:51 +02:00
%package -n nemo-extension-share
Summary : Samba share extension for Nemo file manager
License : GPL-2.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
2015-10-22 16:25:02 +02:00
Recommends: samba
2015-10-24 20:37:43 +02:00
Supplements: packageand(nemo:samba)
2015-12-12 15:33:59 +01:00
# nemo-share was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-share = %{version}
Obsoletes : nemo-share < %{version}
%description -n nemo-extension-share
Nemo Share allows you to quickly share a folder from the Cinnamon
Nemo file manager without requiring root access.
%package -n nemo-extension-terminal
Summary : Nemo extension to enable an embedded terminal
License : GPL-3.0+
Group : System/GUI/Other
Requires : nemo >= %{_version}
Requires : python-gobject
2015-10-22 19:25:29 +02:00
Requires : python-nemo = %{version}
2015-12-12 15:33:59 +01:00
# nemo-terminal was last used in openSUSE 13.2.
2015-10-22 01:52:51 +02:00
Provides : nemo-terminal = %{version}
Obsoletes : nemo-terminal < %{version}
BuildArch : noarch
%description -n nemo-extension-terminal
Nemo Terminal is an embedded terminal for Nemo, the Cinnamon file
manager. It embeds a terminal pane into Nemo that is accessible by
hotkey (default F4) and automatically follows the currently active
directory in Nemo.
2013-10-29 09:57:16 +01:00
%prep
2015-10-25 01:33:38 +02:00
%setup -q -n %{name} -%{_version}
2015-10-22 01:52:51 +02:00
%patch0
%patch1
2015-10-25 01:33:38 +02:00
%patch2
2015-12-12 15:33:59 +01:00
%patch3
2015-12-13 18:21:20 +01:00
%patch4
2015-10-22 01:52:51 +02:00
# Remove spurious executable permission.
chmod a-x nemo-audio-tab/COPYING.GPL3 nemo-emblems/COPYING.GPL3
2014-11-06 14:43:24 +01:00
2013-10-29 09:57:16 +01:00
%build
2015-10-22 01:52:51 +02:00
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
pushd " $ d i r "
[ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
if [ -f configure ]; then
%configure \
2015-10-22 02:33:15 +02:00
--disable-static
2015-10-22 01:52:51 +02:00
fi
[ -f Makefile ] && make %{?_smp_mflags}
[ -f setup.py ] && ./setup.py build
popd
2014-11-06 14:43:24 +01:00
done
2015-10-22 19:25:29 +02:00
# For nemo-extension-gtkhash.
2015-10-22 02:33:15 +02:00
pushd nemo-gtkhash
%configure \
--disable-static \
--enable-linux-crypto \
--enable-libcrypto \
%if 0%{?suse_version} >= 1320
--enable-gcrypt \
2015-10-22 08:41:57 +02:00
%else
--disable-gcrypt \
2015-10-22 02:33:15 +02:00
%endif
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
--enable-polarssl \
%endif
--enable-nettle \
--enable-nss \
--enable-mhash \
--enable-nemo
make %{?_smp_mflags}
popd
2015-10-22 01:52:51 +02:00
%install
find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
pushd " $ d i r "
if [ -f Makefile ]; then
%make_install
fi
[ -f setup.py ] && ./setup.py install --root=%{buildroot} --prefix=%{_prefix}
popd
done
2014-11-06 14:43:24 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-audio-tab.
2015-10-24 20:37:43 +02:00
install -Dm 0644 nemo-audio-tab/nemo-extension/nemo-audio-tab.py \
%{buildroot} %{_datadir} /nemo-python/extensions/nemo-audio-tab.py
install -Dm 0755 nemo-audio-tab/nemo-extension/nemo-audio-tab.glade \
%{buildroot} %{_datadir} /nemo-python/extensions/nemo-audio-tab.glade
2013-10-29 09:57:16 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-compare.
2015-10-22 01:52:51 +02:00
# "gtk-preferences icon isn't in hicolor-icon-theme, why not Meld?
sed -i 's/^\(Icon=\).*$/\1meld/' nemo-compare/data/nemo-compare-preferences.desktop
2015-06-05 16:37:00 +02:00
2015-10-22 01:52:51 +02:00
install -Dm 0755 nemo-compare/data/nemo-compare-preferences.desktop \
%{buildroot} %{_datadir} /applications/nemo-compare-preferences.desktop
install -Dm 0755 nemo-compare/src/nemo-compare.py \
%{buildroot} %{_datadir} /nemo-compare/nemo-compare.py
install -Dm 0755 nemo-compare/src/utils.py %{buildroot} %{_datadir} /nemo-compare/utils.py
install -Dm 0755 nemo-compare/src/nemo-compare-preferences.py \
%{buildroot} %{_datadir} /nemo-compare/nemo-compare-preferences.py
install -Dm 0644 nemo-compare/debian/nemo-compare-preferences.1 \
%{buildroot} %{_mandir} /man1/nemo-compare-preferences.1
2015-06-05 16:37:00 +02:00
2015-10-22 01:52:51 +02:00
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-preferences.py %{buildroot} %{_bindir} /nemo-compare-preferences
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%suse_update_desktop_file nemo-compare-preferences System FileManager
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
pushd nemo-compare/po/
ls *.po | while read file; do
mkdir -p %{buildroot} %{_datadir} /locale/${file%.po}/LC_MESSAGES/
msgfmt -f -o %{buildroot} %{_datadir} /locale/${file%.po}/LC_MESSAGES/nemo-compare.mo $file
2014-11-06 14:43:24 +01:00
done
popd
2015-10-22 01:52:51 +02:00
%find_lang nemo-compare
2014-11-06 14:43:24 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-media-columns.
2015-10-22 01:52:51 +02:00
install -Dm 0755 nemo-media-columns/nemo-media-columns.py \
%{buildroot} %{_datadir} /nemo-python/extensions/nemo-media-columns.py
2014-11-06 14:43:24 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-pastebin.
2015-10-22 01:52:51 +02:00
sed -i 's/^\(Exec=nemo-pastebin-configurator\)/\1.py/' %{buildroot} %{_datadir} /applications/nemo-pastebin-configurator.desktop
2014-11-06 14:43:24 +01:00
%suse_update_desktop_file nemo-pastebin-configurator System FileManager
2015-10-22 19:25:29 +02:00
# For python-nemo.
2015-10-22 01:52:51 +02:00
mkdir -p %{buildroot} %{_docdir} /
mv -f %{buildroot} %{_datadir} /doc/nemo-python/ %{buildroot} %{_docdir} /nemo-python/
2014-11-06 14:43:24 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-rabbitvcs.
2015-10-22 01:52:51 +02:00
install -Dm 0644 nemo-rabbitvcs/RabbitVCS.py \
%{buildroot} %{_datadir} /nemo-python/extensions/RabbitVCS.py
2014-11-06 14:43:24 +01:00
2015-10-22 19:25:29 +02:00
# For nemo-extension-terminal.
2014-11-06 14:43:24 +01:00
pushd nemo-terminal
2015-10-22 01:52:51 +02:00
mkdir -p %{buildroot} %{_datadir} /nemo-terminal/
install -Dm 0755 src/nemo_terminal.py \
%{buildroot} %{_datadir} /nemo-python/extensions/nemo_terminal.py
cp -a src/*.xml %{buildroot} %{_datadir} /glib-2.0/schemas/
cp -a pixmap/*.png %{buildroot} %{_datadir} /nemo-terminal/
2014-11-06 14:43:24 +01:00
popd
2015-12-12 15:33:59 +01:00
for ext in emblems gtkhash filename-repairer image-converter pastebin preview share seahorse; do
2015-10-22 01:52:51 +02:00
%find_lang nemo-$ext
done
2015-10-24 20:37:43 +02:00
# Compile Python bytecode.
dirname $(find %{buildroot} %{_datadir} / -type f -name '*.py' ) | sort -u | while read dir; do
%py_compile .
done
2014-11-06 14:43:24 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2015-10-22 19:25:29 +02:00
%post -n python-nemo -p /sbin/ldconfig
%postun -n python-nemo -p /sbin/ldconfig
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-dropbox -p /sbin/ldconfig
%postun -n nemo-extension-dropbox -p /sbin/ldconfig
%post -n nemo-extension-fileroller -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-fileroller -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-gtkhash
2014-11-06 14:43:24 +01:00
/sbin/ldconfig
%glib2_gsettings_schema_post
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-gtkhash
2014-11-06 14:43:24 +01:00
/sbin/ldconfig
%glib2_gsettings_schema_postun
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-image-converter -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-image-converter -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-preview -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-preview -p /sbin/ldconfig
%post -n nemo-extension-pastebin
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_post
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-pastebin
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_postun
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-seahorse -p /sbin/ldconfig
%postun -n nemo-extension-seahorse -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-repairer -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-repairer -p /sbin/ldconfig
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%post -n nemo-extension-share -p /sbin/ldconfig
%postun -n nemo-extension-share -p /sbin/ldconfig
%post -n nemo-extension-terminal
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_post
2015-10-22 01:52:51 +02:00
%postun -n nemo-extension-terminal
2014-11-06 14:43:24 +01:00
%glib2_gsettings_schema_postun
2013-10-29 09:57:16 +01:00
2015-10-22 19:25:29 +02:00
%files -n python-nemo
%defattr (-,root,root)
%doc nemo-python/AUTHORS nemo-python/COPYING nemo-python/debian/changelog
%doc %{_docdir} /nemo-python/
%{_libdir} /nemo/extensions-3.0/libnemo-python.so
%{_libdir} /pkgconfig/nemo-python.pc
%dir %{_datadir} /nemo-python/
%dir %{_datadir} /nemo-python/extensions/
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-audio-tab
2013-10-29 09:57:16 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-audio-tab/COPYING* nemo-audio-tab/debian/changelog
%{_datadir} /nemo-python/extensions/nemo-audio-tab.*
%{python_sitelib} /nemo_audio_tab-*
2013-10-29 09:57:16 +01:00
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-compare -f nemo-compare.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-compare/nemo-compare/COPYING* nemo-compare/debian/changelog
2014-11-06 14:43:24 +01:00
%{_bindir} /nemo-compare-preferences
2015-10-22 01:52:51 +02:00
%{_datadir} /nemo-compare/
2014-11-06 14:43:24 +01:00
%{_datadir} /nemo-python/extensions/nemo-compare.py
%{_datadir} /applications/nemo-compare-preferences.desktop
2015-10-22 01:52:51 +02:00
%{_mandir} /man1/nemo-compare-preferences.1%{?ext_man}
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-dropbox
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-dropbox/AUTHORS nemo-dropbox/COPYING nemo-dropbox/debian/changelog
2014-11-06 14:43:24 +01:00
%{_libdir} /nemo/extensions-3.0/libnemo-dropbox.so
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-emblems -f nemo-emblems.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-emblems/COPYING* nemo-emblems/debian/changelog
2014-11-06 14:43:24 +01:00
%{_datadir} /nemo-python/extensions/nemo-emblems.py
2015-10-22 01:52:51 +02:00
%{python_sitelib} /nemo_emblems-*
2013-10-29 09:57:16 +01:00
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-fileroller
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-fileroller/COPYING nemo-fileroller/debian/changelog
2014-11-06 14:43:24 +01:00
%{_libdir} /nemo/extensions-3.0/libnemo-fileroller.so
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-gtkhash -f nemo-gtkhash.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-gtkhash/AUTHORS nemo-gtkhash/COPYING nemo-gtkhash/debian/changelog
2014-11-06 14:43:24 +01:00
%{_bindir} /gtkhash
%{_libdir} /nemo/extensions-3.0/libgtkhash-properties.so
2015-10-22 01:52:51 +02:00
%{_datadir} /nemo-gtkhash/
%{_datadir} /glib-2.0/schemas/*gtkhash*.gschema.xml
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-image-converter -f nemo-image-converter.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-image-converter/AUTHORS nemo-image-converter/COPYING nemo-image-converter/debian/changelog
2014-11-06 14:43:24 +01:00
%{_libdir} /nemo/extensions-3.0/libnemo-image-converter.so
%{_datadir} /nemo-image-converter/
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-media-columns
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-media-columns/AUTHORS nemo-media-columns/COPYING nemo-media-columns/debian/changelog
2014-11-06 14:43:24 +01:00
%{_datadir} /nemo-python/extensions/nemo-media-columns.py
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-pastebin -f nemo-pastebin.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-pastebin/COPYING nemo-pastebin/debian/changelog
2014-11-06 14:43:24 +01:00
%{_bindir} /nemo-pastebin.py
%{_bindir} /nemo-pastebin-configurator.py
2015-10-22 01:52:51 +02:00
%{_datadir} /nemo-pastebin/
%{python_sitelib} /nemo_pastebin-1.0.0-*
2014-11-06 14:43:24 +01:00
%{_datadir} /applications/nemo-pastebin-configurator.desktop
2015-10-22 01:52:51 +02:00
%{_datadir} /pixmaps/nemo-pastebin.*
2014-11-06 14:43:24 +01:00
%{_datadir} /glib-2.0/schemas/nemo-pastebin.gschema.xml
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-preview -f nemo-preview.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-preview/AUTHORS nemo-preview/COPYING nemo-preview/debian/changelog
2014-11-06 14:43:24 +01:00
%{_bindir} /nemo-preview
%{_libexecdir} /nemo-preview-start
2015-10-22 01:52:51 +02:00
%{_libdir} /nemo-preview/
%{_datadir} /nemo-preview/
2014-11-06 14:43:24 +01:00
%{_datadir} /dbus-1/services/org.nemo.Preview.service
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-rabbitvcs
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-rabbitvcs/AUTHORS nemo-rabbitvcs/COPYING nemo-rabbitvcs/debian/changelog
2014-11-06 14:43:24 +01:00
%{_datadir} /nemo-python/extensions/RabbitVCS.py
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-repairer -f nemo-filename-repairer.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
%doc nemo-repairer/AUTHORS nemo-repairer/COPYING nemo-repairer/COPYING nemo-repairer/README
%{_bindir} /nemo-filename-repairer
%{_libdir} /nemo/extensions-3.0/libnemo-filename-repairer.so
%{_datadir} /nemo-filename-repairer/
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-seahorse -f nemo-seahorse.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-seahorse/COPYING nemo-seahorse/debian/changelog
2014-11-06 14:43:24 +01:00
%{_libdir} /nemo/extensions-3.0/libnemo-seahorse.so
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-share -f nemo-share.lang
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-share/AUTHORS nemo-share/COPYING nemo-share/debian/changelog
2014-11-06 14:43:24 +01:00
%{_libdir} /nemo/extensions-3.0/libnemo-share.so
2015-10-22 01:52:51 +02:00
%{_datadir} /nemo-share/
2014-11-06 14:43:24 +01:00
2015-10-22 01:52:51 +02:00
%files -n nemo-extension-terminal
2014-11-06 14:43:24 +01:00
%defattr (-,root,root)
2015-10-22 01:52:51 +02:00
%doc nemo-terminal/AUTHORS nemo-terminal/COPYING nemo-terminal/debian/changelog
%{_datadir} /nemo-terminal/
2014-11-06 14:43:24 +01:00
%{_datadir} /nemo-python/extensions/nemo_terminal.py
%{_datadir} /glib-2.0/schemas/org.nemo.extensions.nemo-terminal.gschema.xml
%changelog