]> git.pld-linux.org Git - packages/gajim.git/blob - gajim.spec
Version: 1.0.3
[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:        1
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 URL:            http://www.gajim.org/
12 BuildRequires:  gettext-tools
13 BuildRequires:  python3 >= 3.5
14 BuildRequires:  python3-setuptools >= 3.5
15 Requires:       hicolor-icon-theme
16 Requires:       python3-nbxmpp
17 Requires:       python3-pygobject3
18 Suggests:       dbus(org.freedesktop.Notifications)
19 Suggests:       gnome-keyring
20 Suggests:       gnupg2
21 Suggests:       python3-Crypto
22 Suggests:       python3-avahi
23 Suggests:       python3-dbus >= 0.82.1
24 Suggests:       python3-pyOpenSSL >= 0.9
25 Suggests:       python3-pyasn1
26 # sr@Latn vs. sr@latin
27 Conflicts:      glibc-misc < 6:2.7
28 BuildArch:      noarch
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Gajim is a Jabber client written in PyGTK. The goal of Gajim's
33 developers is to provide a full featured and easy to use XMPP client
34 for the GTK+ users. Gajim does not require GNOME to run, eventhough it
35 exists with it nicely.
36
37 %description -l pl.UTF-8
38 Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
39 dostarczenie w pełni funkcjonalnego i łatwego w użyciu klienta XMPP
40 dla użytkowników GTK+. Gajim nie wymaga do działania GNOME, choć
41 działa z nim ładnie.
42
43 %prep
44 %setup -q
45
46 %build
47 %py3_build %{?with_tests:test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %py3_install
53
54 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/nb_NO
55
56 [ -d $RPM_BUILD_ROOT%{_localedir}/sr@latin ] || \
57        mv -f $RPM_BUILD_ROOT%{_localedir}/sr@{Latn,latin}
58 %find_lang %{name}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 %update_icon_cache hicolor
65
66 %postun
67 %update_icon_cache hicolor
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/gajim*
72 %{_desktopdir}/org.gajim.Gajim.desktop
73 %{_mandir}/man1/*.1*
74 %{_iconsdir}/hicolor/*/apps/org.gajim.Gajim.png
75 %{_iconsdir}/hicolor/scalable/apps/org.gajim.Gajim.svg
76 %{_iconsdir}/hicolor/symbolic/apps/org.gajim.Gajim-symbolic.svg
77 %{_datadir}/metainfo/org.gajim.Gajim.appdata.xml
78 %{py3_sitescriptdir}/gajim
79 %{py3_sitescriptdir}/gajim-%{version}-py*.egg-info
This page took 0.040854 seconds and 3 git commands to generate.