]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
Release 6 (by relup.sh)
[packages/gajim.git] / gajim.spec
1 Summary:        A Jabber client written in PyGTK
2 Summary(pl.UTF-8):      Klient Jabbera napisany w PyGTK
3 Name:           gajim
4 Version:        1.0.3
5 Release:        2
6 Epoch:          1
7 License:        GPL v3+
8 Group:          Applications/Communications
9 Source0:        http://gajim.org/downloads/1.0/%{name}-%{version}.tar.bz2
10 # Source0-md5:  08091dafd70c092711dca73991e8aee4
11 Patch0:         ca-certificates.patch
12 URL:            http://www.gajim.org/
13 BuildRequires:  gettext-tools
14 BuildRequires:  python3 >= 3.5
15 BuildRequires:  python3-setuptools >= 3.5
16 Requires:       ca-certificates
17 Requires:       hicolor-icon-theme
18 Requires:       python3-nbxmpp
19 Requires:       python3-pyOpenSSL >= 0.12
20 Requires:       python3-pygobject3
21 Suggests:       dbus(org.freedesktop.Notifications)
22 Suggests:       gnome-keyring
23 Suggests:       gnupg2
24 Suggests:       python3-Crypto
25 Suggests:       python3-avahi
26 Suggests:       python3-dbus >= 0.82.1
27 Suggests:       python3-pyasn1
28 # sr@Latn vs. sr@latin
29 Conflicts:      glibc-misc < 6:2.7
30 BuildArch:      noarch
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
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.
38
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.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %py3_build %{?with_tests:test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %py3_install
56
57 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/nb_NO
58
59 [ -d $RPM_BUILD_ROOT%{_localedir}/sr@latin ] || \
60        mv -f $RPM_BUILD_ROOT%{_localedir}/sr@{Latn,latin}
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 %update_icon_cache hicolor
68
69 %postun
70 %update_icon_cache hicolor
71
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/gajim*
75 %{_desktopdir}/org.gajim.Gajim.desktop
76 %{_mandir}/man1/*.1*
77 %{_iconsdir}/hicolor/*/apps/org.gajim.Gajim.png
78 %{_iconsdir}/hicolor/scalable/apps/org.gajim.Gajim.svg
79 %{_iconsdir}/hicolor/symbolic/apps/org.gajim.Gajim-symbolic.svg
80 %{_datadir}/metainfo/org.gajim.Gajim.appdata.xml
81 %{py3_sitescriptdir}/gajim
82 %{py3_sitescriptdir}/gajim-%{version}-py*.egg-info
This page took 0.041052 seconds and 3 git commands to generate.