[packages/skyperious] up to 3.2 dev

glen glen at pld-linux.org
Fri Jul 17 10:08:45 CEST 2015


commit 39754e132174f958b51db209cafd72594c3d99e6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon May 12 10:28:46 2014 +0300

    up to 3.2 dev

 desktop.patch   |  8 ++++++++
 skyperious.spec | 19 +++++++++----------
 2 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/skyperious.spec b/skyperious.spec
index 3f05c5e..b01873d 100644
--- a/skyperious.spec
+++ b/skyperious.spec
@@ -1,13 +1,12 @@
 Summary:	Skype SQLite database viewer and merger
 Name:		skyperious
-Version:	3.1
-Release:	0.7
+Version:	3.2
+Release:	0.3
 License:	MIT
 Group:		Applications/Databases
-Source0:	https://github.com/suurjaak/Skyperious/archive/master/%{name}-%{version}.tar.gz
-# Source0-md5:	1a2f6e3b369c435a23ac796915890b60
-Source1:	https://raw.githubusercontent.com/glensc/Skyperious/desktop/packaging/%{name}.desktop
-# Source1-md5:	b6e430c377ca6754c5905fdf94bc1d8e
+Source0:	https://github.com/suurjaak/Skyperious/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	f053b9c8e2821cc67c892893fb9401fb
+Patch0:		desktop.patch
 URL:		https://github.com/suurjaak/Skyperious
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -16,9 +15,9 @@ Requires:	python(sqlite)
 Requires:	python-PIL
 Requires:	python-dateutil
 Requires:	python-pyparsing
-Requires:	python-xlsxwriter
 Suggests:	python-skype
 Suggests:	python-wxPython
+Suggests:	python-xlsxwriter
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,8 +39,8 @@ You can open local Skype SQLite databases and look at their contents:
   older files into the current one
 
 %prep
-%setup -qc
-mv Skyperious-*/* .
+%setup -qn Skyperious-%{version}
+%patch0 -p1
 
 cat <<'EOF' > skyperious.sh
 #!/bin/sh
@@ -57,7 +56,7 @@ cp -a src res %{name}.sh $RPM_BUILD_ROOT%{_appdir}
 ln -s %{_appdir}/%{name}.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
 
 cp -p res/Icon64x64_32bit.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p packaging/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
 
 %py_ocomp $RPM_BUILD_ROOT%{_appdir}
 %py_comp $RPM_BUILD_ROOT%{_appdir}
diff --git a/desktop.patch b/desktop.patch
new file mode 100644
index 0000000..390673f
--- /dev/null
+++ b/desktop.patch
@@ -0,0 +1,8 @@
+--- Skyperious-3.2/packaging/skyperious.desktop~	2014-05-08 22:12:29.000000000 +0300
++++ Skyperious-3.2/packaging/skyperious.desktop	2014-05-10 20:17:01.615195482 +0300
+@@ -5,4 +5,4 @@
+ Exec=skyperious
+ Name=Skyperious
+ Icon=skyperious
+-Categories=Utility;Database;InstantMessaging;Chat;GTK;
++Categories=Utility;Database;InstantMessaging;Chat;GTK;Network;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skyperious.git/commitdiff/6de858808147c86c92084ab575a23c733c7af6c7



More information about the pld-cvs-commit mailing list