forked from pool/nemo-extensions
OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo-extensions?expand=0&rev=14
This commit is contained in:
parent
8311ce58e1
commit
a15d808878
@ -8,6 +8,7 @@ Wed Oct 21 14:05:01 UTC 2015 - sor.alexei@meowr.ru
|
|||||||
- Remove nemo-extensions metapackage.
|
- Remove nemo-extensions metapackage.
|
||||||
- Add nemo-dropbox_no-dropbox-bin.patch: strip dropbox binary
|
- Add nemo-dropbox_no-dropbox-bin.patch: strip dropbox binary
|
||||||
installation, and make nemo-extension-dropbox depend on dropbox.
|
installation, and make nemo-extension-dropbox depend on dropbox.
|
||||||
|
- Generate Python bytecode.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 2 23:20:29 UTC 2015 - stefan@fam-elser.de
|
Tue Jun 2 23:20:29 UTC 2015 - stefan@fam-elser.de
|
||||||
|
@ -24,7 +24,7 @@ Summary: Set of extensions for Nemo, the Cinnamon file manager
|
|||||||
License: GPL-3.0+ and GPL-3.0
|
License: GPL-3.0+ and GPL-3.0
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Url: https://github.com/linuxmint/nemo-extensions
|
Url: https://github.com/linuxmint/nemo-extensions
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: https://github.com/linuxmint/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM nemo-seahorse_gpg-2.1.patch stefan@fam-elser.de -- Add patch for GPG 2.1.
|
# 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
|
Patch0: nemo-seahorse_gpg-2.1.patch
|
||||||
# PATCH-FIX-OPENSUSE nemo-dropbox_no-dropbox-bin.patch sor.alexei@meowr.ru -- Strip dropbox binary installation.
|
# PATCH-FIX-OPENSUSE nemo-dropbox_no-dropbox-bin.patch sor.alexei@meowr.ru -- Strip dropbox binary installation.
|
||||||
@ -41,6 +41,7 @@ BuildRequires: mhash-devel
|
|||||||
BuildRequires: nemo-devel
|
BuildRequires: nemo-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distutils-extra
|
BuildRequires: python-distutils-extra
|
||||||
BuildRequires: python-gtk-devel
|
BuildRequires: python-gtk-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
@ -124,6 +125,7 @@ License: GPL-3.0+
|
|||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Requires: dropbox
|
Requires: dropbox
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
|
Supplements: packageand(dropbox:nemo)
|
||||||
# nemo-dropbox is last seen in openSUSE 13.2.
|
# nemo-dropbox is last seen in openSUSE 13.2.
|
||||||
Provides: nemo-dropbox = %{version}
|
Provides: nemo-dropbox = %{version}
|
||||||
Obsoletes: nemo-dropbox < %{version}
|
Obsoletes: nemo-dropbox < %{version}
|
||||||
@ -152,6 +154,7 @@ License: GPL-3.0+
|
|||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Requires: file-roller
|
Requires: file-roller
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
|
Supplements: packageand(nemo:file-roller)
|
||||||
# nemo-fileroller is last seen in openSUSE 13.2.
|
# nemo-fileroller is last seen in openSUSE 13.2.
|
||||||
Provides: nemo-fileroller = %{version}
|
Provides: nemo-fileroller = %{version}
|
||||||
Obsoletes: nemo-fileroller < %{version}
|
Obsoletes: nemo-fileroller < %{version}
|
||||||
@ -234,6 +237,7 @@ allows users to send files to pastebins just a right-click away.
|
|||||||
Summary: A quick previewer for Nemo file manager
|
Summary: A quick previewer for Nemo file manager
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
|
Requires: gstreamer-plugins-good
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
# nemo-preview is last seen in openSUSE 13.2.
|
# nemo-preview is last seen in openSUSE 13.2.
|
||||||
Obsoletes: nemo-preview < %{version}
|
Obsoletes: nemo-preview < %{version}
|
||||||
@ -251,7 +255,7 @@ Group: System/GUI/Other
|
|||||||
Requires: dbus-1-python
|
Requires: dbus-1-python
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
Requires: python-nemo = %{version}
|
Requires: python-nemo = %{version}
|
||||||
Supplements: packageand(rabbitvcs:nemo)
|
Supplements: packageand(nemo:rabbitvcs)
|
||||||
# nemo-rabbitvcs is last seen in openSUSE 13.2.
|
# nemo-rabbitvcs is last seen in openSUSE 13.2.
|
||||||
Obsoletes: nemo-rabbitvcs < %{version}
|
Obsoletes: nemo-rabbitvcs < %{version}
|
||||||
Provides: nemo-rabbitvcs = %{version}
|
Provides: nemo-rabbitvcs = %{version}
|
||||||
@ -283,6 +287,8 @@ Summary: OpenPGP encryption/decryption extension for Nemo file manager
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
|
Requires: seahorse
|
||||||
|
Supplements: packageand(nemo:seahorse)
|
||||||
# nemo-seahorse is last seen in openSUSE 13.2.
|
# nemo-seahorse is last seen in openSUSE 13.2.
|
||||||
Provides: nemo-seahorse = %{version}
|
Provides: nemo-seahorse = %{version}
|
||||||
Obsoletes: nemo-seahorse < %{version}
|
Obsoletes: nemo-seahorse < %{version}
|
||||||
@ -297,6 +303,7 @@ License: GPL-2.0+
|
|||||||
Group: System/GUI/Other
|
Group: System/GUI/Other
|
||||||
Requires: nemo >= %{_version}
|
Requires: nemo >= %{_version}
|
||||||
Recommends: samba
|
Recommends: samba
|
||||||
|
Supplements: packageand(nemo:samba)
|
||||||
# nemo-share is last seen in openSUSE 13.2.
|
# nemo-share is last seen in openSUSE 13.2.
|
||||||
Provides: nemo-share = %{version}
|
Provides: nemo-share = %{version}
|
||||||
Obsoletes: nemo-share < %{version}
|
Obsoletes: nemo-share < %{version}
|
||||||
@ -375,14 +382,10 @@ find . -type d -maxdepth 1 -mindepth 1 | while read dir; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# For nemo-extension-audio-tab.
|
# For nemo-extension-audio-tab.
|
||||||
for file in nemo-audio-tab.{py,glade}; do
|
install -Dm 0644 nemo-audio-tab/nemo-extension/nemo-audio-tab.py \
|
||||||
install -Dm 0644 nemo-audio-tab/nemo-extension/$file %{buildroot}%{_datadir}/nemo-python/extensions/$file
|
%{buildroot}%{_datadir}/nemo-python/extensions/nemo-audio-tab.py
|
||||||
done
|
install -Dm 0755 nemo-audio-tab/nemo-extension/nemo-audio-tab.glade \
|
||||||
|
%{buildroot}%{_datadir}/nemo-python/extensions/nemo-audio-tab.glade
|
||||||
# For nemo-extension-audio-tab.
|
|
||||||
for file in nemo-audio-tab.{py,glade}; do
|
|
||||||
install -Dm 0755 nemo-audio-tab/nemo-extension/$file %{buildroot}%{_datadir}/nemo-python/extensions/$file
|
|
||||||
done
|
|
||||||
|
|
||||||
# For nemo-extension-compare.
|
# For nemo-extension-compare.
|
||||||
# "gtk-preferences icon isn't in hicolor-icon-theme, why not Meld?
|
# "gtk-preferences icon isn't in hicolor-icon-theme, why not Meld?
|
||||||
@ -447,6 +450,11 @@ for ext in emblems gtkhash filename-repairer image-converter pastebin preview sh
|
|||||||
%find_lang nemo-$ext
|
%find_lang nemo-$ext
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Compile Python bytecode.
|
||||||
|
dirname $(find %{buildroot}%{_datadir}/ -type f -name '*.py') | sort -u | while read dir; do
|
||||||
|
%py_compile .
|
||||||
|
done
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n python-nemo -p /sbin/ldconfig
|
%post -n python-nemo -p /sbin/ldconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user