1 Summary: Skype SQLite database viewer and merger
6 Group: Applications/Databases
7 Source0: https://github.com/suurjaak/Skyperious/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: 56a23e2c330a4ac917b915ed5ff8af3d
10 URL: https://github.com/suurjaak/Skyperious
11 BuildRequires: rpm-pythonprov
12 BuildRequires: rpmbuild(macros) >= 1.713
13 Requires: desktop-file-utils
14 Requires: python(sqlite)
16 Requires: python-dateutil
17 Requires: python-pyparsing
18 Suggests: python-skype
19 Suggests: python-wxPython
20 Suggests: python-xlsxwriter
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _appdir %{_datadir}/%{name}
27 Skyperious is a Skype database viewer and merger, written in Python.
29 You can open local Skype SQLite databases and look at their contents:
30 - search across all messages and contacts
31 - browse chat history and export as HTML, see chat statistics
32 - import contacts from a CSV file to your Skype contacts
33 - view any database table and export their data, fix database
35 - change, add or delete data in any table
36 - execute direct SQL queries and
37 - synchronize messages in two Skype databases: keep chat history
38 up-to-date on different computers, or restore missing messages from
39 older files into the current one
42 %setup -qn Skyperious-%{version}
49 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
54 cp -p res/Icon64x64_32bit.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
55 cp -p dist/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
58 rm -rf $RPM_BUILD_ROOT
61 %update_desktop_database
64 %update_desktop_database
67 %defattr(644,root,root,755)
68 %doc README.md CHANGELOG.md LICENSE.md
69 %attr(755,root,root) %{_bindir}/skyperious
70 %dir %{py_sitescriptdir}/%{name}
71 %{py_sitescriptdir}/%{name}/*.py[co]
72 %{py_sitescriptdir}/%{name}/third_party
73 %{py_sitescriptdir}/%{name}/skyperious.ini
74 %{py_sitescriptdir}/Skyperious-%{version}-py*.egg-info
75 %{_desktopdir}/%{name}.desktop
76 %{_pixmapsdir}/%{name}.png
78 # FIXME: use system fonts
79 %{py_sitescriptdir}/%{name}/res