[sparkleshare] Update to 1.2.0
Nikos Roussos
comzeradd at fedoraproject.org
Tue Sep 23 12:40:43 UTC 2014
commit 406f0bb040b62bfaf004ef8d7d98d73ca19244e3
Author: Nikos Roussos <nikos at roussos.cc>
Date: Tue Sep 23 15:40:45 2014 +0300
Update to 1.2.0
.gitignore | 1 +
sources | 2 +-
sparkleshare-1.2.0-appdata.patch | 11 +++++++++++
sparkleshare.spec | 31 ++++++++++++++++---------------
4 files changed, 29 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f1723cb..023e638 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
/sparkleshare-linux-0.9.9.tar.gz
/sparkleshare-linux-1.0.0.tar.gz
/sparkleshare-linux-1.1.0-tar.gz
+/sparkleshare-c1ed43e6c9ef83d90c21027175dec348a14ec65e.tar.gz
diff --git a/sources b/sources
index 240bac4..0e0b164 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6007f579a8a8ba1b32cec95ebc57b971 sparkleshare-linux-1.1.0-tar.gz
+45534882844c501b0fa2f7b52b0a6d60 sparkleshare-c1ed43e6c9ef83d90c21027175dec348a14ec65e.tar.gz
diff --git a/sparkleshare-1.2.0-appdata.patch b/sparkleshare-1.2.0-appdata.patch
new file mode 100644
index 0000000..c9acd39
--- /dev/null
+++ b/sparkleshare-1.2.0-appdata.patch
@@ -0,0 +1,11 @@
+--- SparkleShare-c1ed43e6c9ef83d90c21027175dec348a14ec65e/SparkleShare/Linux/sparkleshare.appdata.xml.orig 2013-10-08 13:42:23.000000000 +0300
++++ SparkleShare-c1ed43e6c9ef83d90c21027175dec348a14ec65e/SparkleShare/Linux/sparkleshare.appdata.xml 2013-11-14 13:29:44.356799787 +0200
+@@ -22,5 +22,8 @@
+ </ul>
+ <p>Have fun!</p>
+ </description>
++ <screenshots>
++ <screenshot type="default" width="682" height="433">https://comzeradd.fedorapeople.org/screenshots/sparkleshare1.png</screenshot>
++ </screenshots>
+ <url type="homepage">http://www.sparkleshare.org/</url>
+ </application>
diff --git a/sparkleshare.spec b/sparkleshare.spec
index 45c0dea..e26dd9b 100644
--- a/sparkleshare.spec
+++ b/sparkleshare.spec
@@ -1,15 +1,16 @@
+%global commit c1ed43e6c9ef83d90c21027175dec348a14ec65e
+
Name: sparkleshare
-Version: 1.1.0
-Release: 6%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
Summary: Easy file sharing based on git repositories
License: GPLv3
URL: http://www.sparkleshare.org/
-Source0: https://bitbucket.org/hbons/sparkleshare/downloads/%{name}-linux-%{version}-tar.gz
-Source1: %{name}.appdata.xml
+Source0: https://github.com/hbons/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
# Temporary fix on .desktop for Software Center
# https://github.com/hbons/SparkleShare/pull/1393
-Patch0: %{name}-%{version}-desktop.patch
+Patch0: %{name}-%{version}-appdata.patch
BuildRequires: mono-devel
BuildRequires: ndesk-dbus-devel
@@ -17,8 +18,11 @@ BuildRequires: ndesk-dbus-glib-devel
BuildRequires: notify-sharp-devel
BuildRequires: desktop-file-utils
BuildRequires: intltool
+BuildRequires: libtool
BuildRequires: nant
BuildRequires: webkit-sharp-devel
+BuildRequires: webkitgtk-devel
+BuildRequires: gnome-sharp-devel
BuildRequires: gettext
BuildRequires: gvfs-devel
Requires: git >= 1.7.12
@@ -39,11 +43,12 @@ system and synchronized elsewhere.
%prep
-%setup -q
+%setup -qn SparkleShare-%{commit}
%patch0 -p1 -b .orig
%build
+./autogen.sh
%configure --prefix=/usr
GMCS_FLAGS=-codepage:utf8 make
@@ -53,7 +58,9 @@ make install DESTDIR=%{buildroot}
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-invite-opener.desktop
mkdir -p %{buildroot}%{_datarootdir}/appdata/
-install -m 644 %{SOURCE1} %{buildroot}%{_datarootdir}/appdata/%{name}.appdata.xml
+install -m 644 \
+ %{_builddir}/SparkleShare-%{commit}/SparkleShare/Linux/%{name}.appdata.xml \
+ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%post
@@ -93,14 +100,8 @@ fi
%changelog
-* Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Fri Aug 08 2014 Nikos Roussos <comzeradd at fedoraproject.org> 1.1.0-5
-- Fix screenshot url on appdata file.
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+* Tue Sep 23 2014 Nikos Roussos <comzeradd at fedoraproject.org> 1.2.0-1
+- Update to 1.2.0
* Thu Sep 19 2013 Nikos Roussos <comzeradd at fedoraproject.org> 1.1.0-3
- Add appdata file.
More information about the scm-commits
mailing list