[nemo-extensions] update to latest git
leigh123linux
leigh123linux at fedoraproject.org
Tue Oct 21 18:45:28 UTC 2014
commit 29f5e413c7b6636ce79b89a607ce6f76392c2c39
Author: leigh123linux <leigh123linux at googlemail.com>
Date: Tue Oct 21 19:45:22 2014 +0100
update to latest git
nemo-extensions.spec | 64 +++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 55 insertions(+), 9 deletions(-)
---
diff --git a/nemo-extensions.spec b/nemo-extensions.spec
index 2c600f3..f0fd9c2 100644
--- a/nemo-extensions.spec
+++ b/nemo-extensions.spec
@@ -1,17 +1,17 @@
-#global _internal_version 6c86726
+%global _internal_version ed31dbd
Name: nemo-extensions
-Version: 2.2.x
-Release: 6%{?dist}
+Version: 2.3.x
+Release: 0.1.git%{_internal_version}%{?dist}
Summary: Extensions for Nemo
License: GPLv2+ and LGPLv2
URL: http://cinnamon.linuxmint.com
# To generate tarball
# wget https://github.com/linuxmint/nemo-extensions/tarball/%%{_internal_version} -O nemo-extensions-%%{version}.git%%{_internal_version}.tar.gz
-Source0: http://leigh123linux.fedorapeople.org/pub/nemo-extensions/source/nemo-extensions-%{version}.tar.gz
+Source0: http://leigh123linux.fedorapeople.org/pub/nemo-extensions/source/nemo-extensions-%{version}.git%{_internal_version}.tar.gz
+#Source0: http://leigh123linux.fedorapeople.org/pub/nemo-extensions/source/nemo-extensions-%{version}.tar.gz
-Patch0: gjs_changes.patch
BuildRequires: nemo-devel
BuildRequires: python-distutils-extra
@@ -31,6 +31,7 @@ BuildRequires: webkitgtk3-devel
BuildRequires: clutter-gtk-devel
BuildRequires: clutter-gst2-devel
BuildRequires: gtksourceview3-devel
+BuildRequires: perl(XML::Parser)
%description
Extensions for Nemo
@@ -67,6 +68,7 @@ This package contains the file-roller extension for the Nemo.
%package -n nemo-python
Summary: Python bindings for Nemo
License: GPLv2+
+Requires: nemo
Requires: pygobject3-base
%description -n nemo-python
@@ -81,13 +83,13 @@ Requires: nemo-python = %{version}-%{release}
Python bindings for Nemo
%package -n nemo-terminal
-Summary: Nemo Terminal is a terminal embedded in Nemo
+Summary: Embedded terminal window for Nemo
License: GPLv3+
Requires: vte
Requires: nemo-python
%description -n nemo-terminal
-Nemo Terminal is a terminal embedded in Nemo
+Embedded terminal window for Nemo
%package -n nemo-preview
Summary: A quick previewer for Nemo
@@ -103,9 +105,24 @@ some text files, and possibly others in the future.
To activate the preview, left-click the file and hit space.
The preview can be closed by hitting space again, or escape.
+%package -n nemo-emblems
+Summary: Emblem support for nemo
+License: GPLv3+
+Requires: nemo-python
+
+%description -n nemo-emblems
+Restores the emblems functionality that used to be in GNOME 2.
+
+%package -n nemo-image-converter
+Summary: Nemo extension to mass resize images
+Requires: ImageMagick
+License: GPLv3+
+
+%description -n nemo-image-converter
+Adds a "Resize Images..." menu item to the context menu. This opens a dialog where you set the desired image size and file name.
+
%prep
-%setup -q
-%patch0 -p1
+%setup -q -n linuxmint-nemo-extensions-%{_internal_version}
%build
pushd nemo-pastebin
@@ -138,6 +155,11 @@ intltoolize -f
make V=1 %{?_smp_mflags}
popd
+pushd nemo-image-converter
+%configure
+make V=1 %{?_smp_mflags}
+popd
+
%install
rm -rf %{buildroot}
pushd nemo-pastebin
@@ -171,6 +193,15 @@ pushd nemo-preview
%make_install
popd
+pushd nemo-emblems
+install -pm 0644 nemo-extension/nemo-emblems.py %{buildroot}/%{_datadir}/nemo-python/extensions/
+chmod -x COPYING.GPL3
+popd
+
+pushd nemo-image-converter
+%make_install
+popd
+
# remove useless libtool archive files
rm %{buildroot}/%{_libdir}/nemo/extensions-3.0/libnemo-*.la
rm %{buildroot}/%{_libdir}/nemo/extensions-3.0/libnemo-*.a
@@ -182,6 +213,7 @@ desktop-file-install \
%{buildroot}/%{_datadir}/applications/nemo-pastebin-configurator.desktop
%find_lang nemo-preview
+%find_lang nemo-image-converter
%postun -n nemo-pastebin
if [ $1 -eq 0 ] ; then
@@ -241,7 +273,21 @@ fi
%{_datadir}/nemo-preview/
%{_datadir}/dbus-1/services/org.nemo.Preview.service
+%files -n nemo-emblems
+%doc nemo-emblems/COPYING.GPL3
+%{_datadir}/nemo-python/extensions/nemo-emblems.py
+
+%files -n nemo-image-converter -f nemo-image-converter.lang
+%doc nemo-image-converter/COPYING
+%{_libdir}/nemo/extensions-3.0/libnemo-image-converter.so
+%{_datadir}/nemo-image-converter/
+
%changelog
+* Tue Oct 21 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.3.x-0.1.gited31dbd
+- update to latest git
+- add nemo-emblems
+- add nemo-image-converter
+
* Sun Oct 19 2014 Leigh Scott <leigh123linux at googlemail.com> - 2.2.x-6
- patch nemo-preview for gjs changes (bz 1154111)
More information about the scm-commits
mailing list