]>
Commit | Line | Data |
---|---|---|
beebb597 | 1 | Summary: A Jabber client written in PyGTK |
266c3a3e | 2 | Summary(pl.UTF-8): Klient Jabbera napisany w PyGTK |
5852d9d2 | 3 | Name: gajim |
3eec3b54 | 4 | Version: 1.0.3 |
fea05f02 | 5 | Release: 6 |
835b18c9 | 6 | Epoch: 1 |
028985b1 | 7 | License: GPL v3+ |
5852d9d2 | 8 | Group: Applications/Communications |
3eec3b54 JK |
9 | Source0: http://gajim.org/downloads/1.0/%{name}-%{version}.tar.bz2 |
10 | # Source0-md5: 08091dafd70c092711dca73991e8aee4 | |
01386673 | 11 | Patch0: ca-certificates.patch |
5852d9d2 | 12 | URL: http://www.gajim.org/ |
2e1d65f8 | 13 | BuildRequires: gettext-tools |
3eec3b54 | 14 | BuildRequires: python3 >= 3.5 |
595ff8ef JB |
15 | BuildRequires: python3-setuptools >= 1:3.5 |
16 | BuildRequires: rpm-pythonprov | |
17 | BuildRequires: rpmbuild(macros) >= 1.714 | |
01386673 | 18 | Requires: ca-certificates |
8da50e8c | 19 | Requires: hicolor-icon-theme |
3eec3b54 | 20 | Requires: python3-nbxmpp |
79c37177 | 21 | Requires: python3-pyOpenSSL >= 0.12 |
3eec3b54 | 22 | Requires: python3-pygobject3 |
42ae6b6a | 23 | Suggests: dbus(org.freedesktop.Notifications) |
6b3dde59 SP |
24 | Suggests: gnome-keyring |
25 | Suggests: gnupg2 | |
3eec3b54 JK |
26 | Suggests: python3-Crypto |
27 | Suggests: python3-avahi | |
28 | Suggests: python3-dbus >= 0.82.1 | |
3eec3b54 | 29 | Suggests: python3-pyasn1 |
3eec3b54 | 30 | BuildArch: noarch |
5852d9d2 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
beebb597 JB |
34 | Gajim is a Jabber client written in PyGTK. The goal of Gajim's |
35 | developers is to provide a full featured and easy to use XMPP client | |
36 | for the GTK+ users. Gajim does not require GNOME to run, eventhough it | |
37 | exists with it nicely. | |
5852d9d2 | 38 | |
934b1af7 JR |
39 | %description -l pl.UTF-8 |
40 | Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest | |
41 | dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP | |
42 | dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć | |
43 | działa z nim ładnie. | |
5852d9d2 | 44 | |
45 | %prep | |
3a4972ac | 46 | %setup -q |
01386673 | 47 | %patch0 -p1 |
5852d9d2 | 48 | |
49 | %build | |
3eec3b54 | 50 | %py3_build %{?with_tests:test} |
5852d9d2 | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
3eec3b54 | 55 | %py3_install |
4c0e8663 | 56 | |
77a064a3 JB |
57 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb} |
58 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/sr@{Latn,latin} | |
6b3dde59 | 59 | |
006ce781 | 60 | %find_lang %{name} |
61 | ||
5852d9d2 | 62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
8da50e8c MB |
65 | %post |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %postun | |
69 | %update_icon_cache hicolor | |
70 | ||
006ce781 | 71 | %files -f %{name}.lang |
5852d9d2 | 72 | %defattr(644,root,root,755) |
028985b1 | 73 | %attr(755,root,root) %{_bindir}/gajim* |
3eec3b54 | 74 | %{_desktopdir}/org.gajim.Gajim.desktop |
77a064a3 | 75 | %{_mandir}/man1/gajim*.1* |
3eec3b54 JK |
76 | %{_iconsdir}/hicolor/*/apps/org.gajim.Gajim.png |
77 | %{_iconsdir}/hicolor/scalable/apps/org.gajim.Gajim.svg | |
78 | %{_iconsdir}/hicolor/symbolic/apps/org.gajim.Gajim-symbolic.svg | |
79 | %{_datadir}/metainfo/org.gajim.Gajim.appdata.xml | |
80 | %{py3_sitescriptdir}/gajim | |
81 | %{py3_sitescriptdir}/gajim-%{version}-py*.egg-info |