[gpaste] Update to a newer snapshot

Mohamed ElMorabity melmorabity at fedoraproject.org
Sun Apr 7 22:03:25 UTC 2013


commit e5d2a3dfb3591db9a94aab87c68de41245c8064e
Author: Mohamed El Morabity <melmorabity at fedoraproject.org>
Date:   Mon Apr 8 00:03:05 2013 +0200

    Update to a newer snapshot

 .gitignore  |    1 +
 gpaste.spec |   28 +++++++++++++++++++++-------
 sources     |    2 +-
 3 files changed, 23 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 85cbaa6..8068cb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@
 /gpaste-2.9.1.tar.xz
 /v2.99.1.tar.gz
 /gpaste-2.99.2.tar.xz
+/gpaste-c93a4ac.tar.xz
diff --git a/gpaste.spec b/gpaste.spec
index 1b10e10..09f6e9f 100644
--- a/gpaste.spec
+++ b/gpaste.spec
@@ -1,14 +1,22 @@
+%global commit c93a4ac
+%global commit_date 20130331
+
 %global alt_name GPaste
 
 Name:           gpaste
 Version:        2.99.2
-Release:        1%{?dist}
+Release:        2.%{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
 
 BuildRequires:  chrpath
 BuildRequires:  desktop-file-utils
@@ -28,6 +36,7 @@ BuildRequires:  pkgconfig(xi)
 BuildRequires:  pkgconfig(xtst)
 BuildRequires:  vala-tools
 Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
+Requires:       control-center-filesystem
 
 %description
 gpasted is a clipboard management daemon with DBus interface. gpaste is its CLI
@@ -73,10 +82,11 @@ Requires:       %{name} = %{version}-%{release}
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{commit}
 
 
 %build
+[ -f autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
 %configure \
   --disable-schemas-compile \
   --disable-silent-rules \
@@ -92,8 +102,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 
 # Install bash/zsh completion support
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
-install -pm 0644 data/completions/%{name} -t $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/
+install -d $RPM_BUILD_ROOT%{_datadir}/bash-completion/completion/
+install -pm 0644 data/completions/%{name} -t $RPM_BUILD_ROOT%{_datadir}/bash-completion/completion/
 install -d $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/
 install -pm 0644 data/completions/_%{name} -t $RPM_BUILD_ROOT%{_datadir}/zsh/site-functions/
 
@@ -134,12 +144,12 @@ fi
 %{_datadir}/applications/%{name}-settings.desktop
 %{_datadir}/dbus-1/services/*.service
 %{_datadir}/glib-2.0/schemas/*.xml
+%{_datadir}/gnome-control-center/keybindings/*.xml
 %{_datadir}/zsh/
 %{_mandir}/man1/%{name}.1.*
-%{_sysconfdir}/bash_completion.d/
+%{_datadir}/bash-completion/
 %{_prefix}/lib/systemd/user/gpasted.service
 
-
 %files libs
 %{_libdir}/girepository-1.0/%{alt_name}-1.0.typelib
 %{_libdir}/*.so.*
@@ -164,6 +174,10 @@ fi
 
 
 %changelog
+* Sun Apr 07 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.99.2-2.20130331gitc93a4ac
+- Update to a newer snapshot
+- Move bash completion script to /usr/share/bash-completion/completion/
+
 * Mon Jan 28 2013 Mohamed El Morabity <melmorabity at fedoraproject.org> - 2.99.2-1
 - Update to 2.99.2
 - Drop patch gpaste-2.99.1-fix_gpaste-settings
diff --git a/sources b/sources
index 57b57ae..884936d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cf739f3d2b44d20b8f55fa790752aa87  gpaste-2.99.2.tar.xz
+1c5fc5e7462297badffd9484109553fd  gpaste-c93a4ac.tar.xz


More information about the scm-commits mailing list