[gpaste/f20] Update to a newer snapshot
Mohamed ElMorabity
melmorabity at fedoraproject.org
Thu Sep 19 00:10:51 UTC 2013
commit b59e88fdf4273f25e69d68d3a90f625ed7fdd2b1
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date: Thu Sep 19 01:56:15 2013 +0200
Update to a newer snapshot
.gitignore | 1 +
gpaste.spec | 40 +++++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 27 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f4870c8..09ec815 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/gpaste-c93a4ac.tar.xz
/gpaste-3.0.1.tar.xz
/gpaste-3.0.2.tar.xz
+/gpaste-6ab4033.tar.xz
diff --git a/gpaste.spec b/gpaste.spec
index 12c4162..111f20e 100644
--- a/gpaste.spec
+++ b/gpaste.spec
@@ -1,18 +1,25 @@
+%global commit 6ab4033
+%global commit_date 20130918
+
%global alt_name GPaste
Name: gpaste
-Version: 3.0.2
-Release: 2%{?dist}
+Version: 3.5
+Release: 0.1.%{commit_date}git%{commit}%{?dist}
Summary: Clipboard management system
Group: User Interface/Desktops
License: GPLv3+
URL: https://github.com/Keruspe/GPaste
-Source0: http://www.imagination-land.org/files/%{name}-%{version}.tar.xz
+# The source for this package was pulled from upstream's VCS. Use the following
+# commands to generate the tarball:
+# $ git clone https://github.com/Keruspe/GPaste.git
+# $ cd GPaste
+# $ git archive --format=tar --prefix=%{name}-%{commit}/ %{commit} | xz >../%{name}-%{commit}.tar.xz
+Source0: %{name}-%{commit}.tar.xz
+# Source0: http://www.imagination-land.org/files/%{name}-%{version}.tar.xz
-BuildRequires: chrpath
BuildRequires: desktop-file-utils
-BuildRequires: gobject-introspection-devel
BuildRequires: intltool
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gdk-3.0)
@@ -21,6 +28,7 @@ BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-keybindings)
BuildRequires: pkgconfig(gobject-2.0)
+BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(systemd)
@@ -57,7 +65,7 @@ applications that use %{name}.
%package -n gnome-shell-extension-%{name}
Summary: GNOME Shell extension for GPaste
Group: User Interface/Desktops
-Requires: gnome-shell >= 3.4
+Requires: gnome-shell >= 3.9.92
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
@@ -66,7 +74,7 @@ BuildArch: noarch
%package applet
-Summary: GNOME Fallback mode applet for GPaste
+Summary: Tray icon to manage GPaste
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
@@ -75,7 +83,8 @@ Requires: %{name} = %{version}-%{release}
%prep
-%setup -q
+# %setup -q
+%setup -q -n %{name}-%{commit}
%build
@@ -104,14 +113,12 @@ install -pm 0644 data/completions/_%{name} -t $RPM_BUILD_ROOT%{_datadir}/zsh/sit
install -d $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/
mv $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-applet.desktop $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/
-# Skip validation because of AutostartCondition key
-desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-applet.desktop || true
-desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
+%find_lang %{alt_name}
-# Remove rpath
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_libdir}/*.so.* $RPM_BUILD_ROOT%{_libexecdir}/%{name}/*
-%find_lang %{alt_name}
+%check
+desktop-file-validate $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gpaste-applet.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
%post libs -p /sbin/ldconfig
@@ -167,10 +174,13 @@ fi
%changelog
+* Wed Sep 18 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.5-0.1.20130918git6ab4033
+- Update to a newer snapshot
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-* Sun Jun 02 2013 Mohamed El Morabity <pikachu.2014 at gmail.com> - 3.0.2-1
+* Sun Jun 02 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.0.2-1
- Update to 3.0.2
* Fri May 10 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 3.0.1-2
diff --git a/sources b/sources
index 96fb20d..0a584d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-06371311e234fc002df3e119508bd061 gpaste-3.0.2.tar.xz
+9fe1384bd9f325af57049c0a0e6891ec gpaste-6ab4033.tar.xz
More information about the scm-commits
mailing list