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