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