]>
Commit | Line | Data |
---|---|---|
71030823 | 1 | Summary: PSI - Jabber client |
2 | Summary(de.UTF-8): PSI - ein Instant Messaging Client-Programm für Jabber | |
3 | Summary(pl.UTF-8): PSI - klient Jabbera | |
4 | Name: psi-plus | |
532f01f4 | 5 | Version: 1.2.80 |
114636f2 | 6 | Release: 1 |
71030823 | 7 | License: GPL v2+ / LGPL v2.1+ |
8 | Group: Applications/Communications | |
bb4d1caf | 9 | Source0: https://github.com/psi-plus/psi-plus-snapshots/archive/%{version}.tar.gz |
532f01f4 | 10 | # Source0-md5: 13f608789fa5b79dc8b1cac977c691b5 |
bb4d1caf | 11 | URL: https://github.com/psi-plus/psi-plus-snapshots |
fe47bf1d AM |
12 | BuildRequires: Qt5Core-devel |
13 | BuildRequires: Qt5Gui-devel | |
14 | BuildRequires: Qt5Network | |
15 | BuildRequires: Qt5Xml | |
71030823 | 16 | BuildRequires: aspell-devel |
bb4d1caf | 17 | BuildRequires: libidn-devel |
71030823 | 18 | BuildRequires: libstdc++-devel |
19 | BuildRequires: openssl-devel >= 0.9.7c | |
fe47bf1d | 20 | BuildRequires: qca-qt5-devel >= 2.0.0 |
71030823 | 21 | BuildRequires: qt4-linguist >= 4.4.0 |
fe47bf1d AM |
22 | BuildRequires: qt5-build >= 4.4.0 |
23 | BuildRequires: qt5-qmake >= 4.4.0 | |
71030823 | 24 | BuildRequires: tar >= 1:1.22 |
25 | BuildRequires: which | |
26 | BuildRequires: xorg-lib-libX11-devel | |
27 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
28 | BuildRequires: xorg-proto-scrnsaverproto-devel | |
29 | BuildRequires: xz >= 1:4.999.7 | |
30 | BuildRequires: zlib-devel | |
31 | Requires: gstreamer-v4l2 | |
fe47bf1d | 32 | Requires: qt-plugin-qca-tls |
71030823 | 33 | Suggests: gpgme >= 1.0.0 |
1e6b34e3 | 34 | Provides: psi = %{version}-%{relase} |
bb4d1caf | 35 | Obsoletes: psi < 0.16 |
71030823 | 36 | Obsoletes: qt-designer-psiwidgets |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | PSI is a communicator for the Jabber open messaging system. It is | |
41 | based on the Qt library. It supports SSL encrypted connections. The | |
42 | default behaviour for SSL was changed so that it looks for SSL | |
43 | certificates in $DATADIR/certs or in ~/.psi/certs. | |
44 | ||
45 | Psi+ is a development branch of Psi IM Jabber client. | |
46 | ||
47 | %description -l de.UTF-8 | |
48 | Psi ist ein Instant Messaging (IM) Client-Programm für das | |
49 | Jabber-Protokoll (XMPP), welches das Qt Toolkit nutzt. | |
50 | ||
51 | %description -l pl.UTF-8 | |
52 | PSI jest komunikatorem dla otwartego systemu wiadomości Jabber. Został | |
53 | stworzony w oparciu o bibliotekę Qt. PSI wspiera połączenia szyfrowane | |
54 | SSL. W stosunku do domyślnego zachowania komunikatora została | |
55 | wprowadzona zmiana, która powoduje, że certyfikaty SSL są poszukiwane | |
56 | w katalogu $DATADIR/certs lub ~/.psi/certs. | |
57 | ||
58 | Psi+ jest rozwojową gałęzią komunikatora Psi IM Jabber. | |
59 | ||
60 | %prep | |
bb4d1caf | 61 | %setup -q -n %{name}-snapshots-%{version} |
71030823 | 62 | |
63 | %build | |
64 | ./configure \ | |
fe47bf1d | 65 | --qtselect=5 \ |
71030823 | 66 | --prefix=%{_prefix} \ |
67 | --datadir=%{_datadir} \ | |
68 | --libdir=%{_libdir} \ | |
bb4d1caf AM |
69 | --enable-webkit \ |
70 | --enable-whiteboarding \ | |
71030823 | 71 | --no-separate-debug-info |
72 | ||
73 | %{__make} | |
74 | ||
71030823 | 75 | %install |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
fe47bf1d | 78 | export QTDIR=%{_libdir}/qt5 |
71030823 | 79 | |
bb4d1caf | 80 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins |
71030823 | 81 | |
82 | %{__make} install \ | |
83 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
84 | ||
71030823 | 85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %files | |
89 | %defattr(644,root,root,755) | |
90 | %doc README | |
91 | %attr(755,root,root) %{_bindir}/psi-plus | |
114636f2 | 92 | %dir %{_libdir}/%{name} |
bb4d1caf | 93 | %dir %{_libdir}/%{name}/plugins |
114636f2 | 94 | %{_datadir}/%{name} |
6032f2b0 | 95 | %{_datadir}/appdata/psi-plus.appdata.xml |
71030823 | 96 | %{_desktopdir}/*.desktop |
97 | %{_iconsdir}/hicolor/*/*/*.png |