]> git.pld-linux.org Git - SPECS.git/blob - skyperious.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / skyperious.spec
1 Summary:        Skype SQLite database viewer and merger
2 Name:           skyperious
3 Version:        3.5
4 Release:        0.2
5 License:        MIT
6 Group:          Applications/Databases
7 Source0:        https://github.com/suurjaak/Skyperious/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  56a23e2c330a4ac917b915ed5ff8af3d
9 Patch0:         desktop.patch
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)
15 Requires:       python-PIL
16 Requires:       python-dateutil
17 Requires:       python-pyparsing
18 Suggests:       python-skype
19 Suggests:       python-wxPython
20 Suggests:       python-xlsxwriter
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _appdir %{_datadir}/%{name}
25
26 %description
27 Skyperious is a Skype database viewer and merger, written in Python.
28
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
34   corruption
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
40
41 %prep
42 %setup -qn Skyperious-%{version}
43 %patch0 -p1
44
45 %build
46 %py_build
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 %py_install
51 %py_postclean
52
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}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %update_desktop_database
62
63 %postun
64 %update_desktop_database
65
66 %files
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
77
78 # FIXME: use system fonts
79 %{py_sitescriptdir}/%{name}/res
This page took 0.189487 seconds and 3 git commands to generate.