[gpaste] Update to 0.1.3

Mohamed ElMorabity melmorabity at fedoraproject.org
Sat Sep 3 14:54:10 UTC 2011


commit 5ec10c9812231ca2cbec8cf43c2bfd01950e3556
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Sat Sep 3 16:55:11 2011 +0200

    Update to 0.1.3

 .gitignore                           |    1 +
 gpaste-0.99-remove_applet_refs.patch |   82 ------------------------------
 gpaste-1.3-remove_applet_refs.patch  |   92 ++++++++++++++++++++++++++++++++++
 gpaste.spec                          |   19 +++++--
 sources                              |    2 +-
 5 files changed, 107 insertions(+), 89 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5d7dd3c..000be52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /gpaste-17dd47.tar.xz
 /gpaste-1.2.tar.xz
+/gpaste-1.3.tar.xz
diff --git a/gpaste-1.3-remove_applet_refs.patch b/gpaste-1.3-remove_applet_refs.patch
new file mode 100644
index 0000000..d02a4f0
--- /dev/null
+++ b/gpaste-1.3-remove_applet_refs.patch
@@ -0,0 +1,92 @@
+diff -up gpaste-1.3/completions/_gpaste.orig gpaste-1.3/completions/_gpaste
+--- gpaste-1.3/completions/_gpaste.orig	2011-08-23 12:51:48.000000000 +0200
++++ gpaste-1.3/completions/_gpaste	2011-09-03 12:26:32.627517373 +0200
+@@ -11,7 +11,6 @@ _describe 'gpaste command' '(
+ 	start:start\ the\ daemon
+ 	daemon:alias\ for\ start
+ 	quit:shutdown\ the\ daemon
+-	applet:launch\ the\ applet
+ 	settings:launch\ the\ configuration\ tool
+ 	preferences:alias\ for\ settings
+ 	version:display\ the\ version
+diff -up gpaste-1.3/completions/gpaste.orig gpaste-1.3/completions/gpaste
+--- gpaste-1.3/completions/gpaste.orig	2011-08-23 12:50:17.000000000 +0200
++++ gpaste-1.3/completions/gpaste	2011-09-03 12:26:44.771516585 +0200
+@@ -3,7 +3,7 @@ _gpaste()
+     local cur opts
+     COMPREPLY=()
+     cur="${COMP_WORDS[${COMP_CWORD}]}"
+-    opts="add set delete empty start daemon quit applet preferences settings version -v --version help -h --help -f --file"
++    opts="add set delete empty start daemon quit preferences settings version -v --version help -h --help -f --file"
+     COMPREPLY=( $(compgen -W "$opts" -- $cur ) )
+ }
+ 
+diff -up gpaste-1.3/data/gpaste.pod.orig gpaste-1.3/data/gpaste.pod
+--- gpaste-1.3/data/gpaste.pod.orig	2011-07-14 00:56:08.000000000 +0200
++++ gpaste-1.3/data/gpaste.pod	2011-09-03 14:28:14.174046075 +0200
+@@ -52,10 +52,6 @@ Start tracking clipboard changes
+ 
+ Stop tracking clipboard changes
+ 
+-=item B<gpaste applet>
+-
+-Launch the applet
+-
+ =item B<gpaste settings>
+ 
+ Launch the configuration tool
+@@ -70,44 +66,4 @@ Display the help
+ 
+ =back
+ 
+-=head1 APPLET USAGE
+-
+-=over 8
+-
+-=back
+-
+-=head2 B<left clic>
+-
+-Display the history, the first element is the one in the clipboard
+-
+-=over 8
+-
+-=item B<left clic>
+-
+-Select the item
+-
+-=item B<right clic>
+-
+-Delete the item
+-
+-=back
+-
+-=head2 B<right clic>
+-
+-Display the options
+-
+-=over 8
+-
+-=item B<Settings>
+-
+-Launch the configuration tool
+-
+-=item B<Empty history>
+-
+-Empty the history
+-
+-=item B<Quit>
+-
+-Exit the applet
+-
+ =cut
+diff -up gpaste-1.3/README.orig gpaste-1.3/README
+--- gpaste-1.3/README.orig	2011-07-10 18:08:40.000000000 +0200
++++ gpaste-1.3/README	2011-09-03 12:25:08.442522804 +0200
+@@ -1,6 +1,5 @@
+ gpasted is a clipboard management daemon with DBus interface
+ gpaste is its CLI client
+ gpaste settings is a tool to edit gpasted settings
+-gpaste applet is a tray icon to manage gpasted
+ There is also a gnome-shell native applet
+ 
diff --git a/gpaste.spec b/gpaste.spec
index 44b92b6..f5f54eb 100644
--- a/gpaste.spec
+++ b/gpaste.spec
@@ -1,8 +1,7 @@
-%global commit 17dd47
 %global alt_name GPaste
 
 Name:           gpaste
-Version:        1.2
+Version:        1.3
 Release:        1%{?dist}
 Summary:        Clipboard management system
 
@@ -10,11 +9,13 @@ Group:          User Interface/Desktops
 License:        GPLv3+
 URL:            https://github.com/Keruspe/GPaste
 Source0:        https://github.com/downloads/Keruspe/%{alt_name}/%{name}-%{version}.tar.xz
-Patch0:         %{name}-0.99-remove_applet_refs.patch
+# Patch to remove references to the non-used GNOME applet in documentation and
+# completion files
+Patch0:         %{name}-1.3-remove_applet_refs.patch
 
+BuildRequires:  desktop-file-utils
 BuildRequires:  gtk3-devel
 BuildRequires:  intltool
-BuildRequires:  vala
 
 %description
 gpasted is a clipboard management daemon with DBus interface. gpaste is its CLI
@@ -53,6 +54,8 @@ install -pm 0644 completions/%{name} -t $RPM_BUILD_ROOT%{_sysconfdir}/bash_compl
 install -d $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/
 install -pm 0644 completions/_%{name} -t $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/
 
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
+
 %find_lang %{alt_name}
 
 
@@ -70,18 +73,22 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %doc AUTHORS ChangeLog COPYING NEWS README TODO
 %{_bindir}/%{name}
 %{_libexecdir}/%{name}/
+%{_datadir}/applications/%{name}-settings.desktop
 %{_datadir}/dbus-1/services/*.service
 %{_datadir}/glib-2.0/schemas/*.xml
 %{_datadir}/zsh/
 %{_mandir}/man1/%{name}.1.*
-%{_sysconfdir}/bash_completion.d
+%{_sysconfdir}/bash_completion.d/
 
 
 %files -n gnome-shell-extension-%{name}
-%{_datadir}/gnome-shell/extensions/GPaste at gnome.org/
+%{_datadir}/gnome-shell/extensions/GPaste at gnome-shell-extensions.gnome.org/
 
 
 %changelog
+* Sat Sep 03 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 1.3-1
+- Update to 1.3
+
 * Sun Jul 10 2011 Mohamed El Morabity <melmorabity at fedoraproject.org> - 1.2-1
 - Update to 1.2
 
diff --git a/sources b/sources
index 31b3006..523e5b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-155532ac19f0444f66c544b5ef8f1827  gpaste-1.2.tar.xz
+d13df6d46e16d5ba992b3b29436b2fbf  gpaste-1.3.tar.xz


More information about the scm-commits mailing list