]>
Commit | Line | Data |
---|---|---|
a62121f1 | 1 | Summary: Link-local XMPP connection manager for the Telepathy |
d4a2cb3f | 2 | Summary(pl.UTF-8): Zarządca połączeń XMPP link-local dla Telepathy |
a62121f1 | 3 | Name: telepathy-salut |
d7f309a1 | 4 | Version: 0.8.1 |
3254662b | 5 | Release: 4 |
b917de6d | 6 | License: LGPL v2.1+ |
a62121f1 | 7 | Group: Libraries |
3e948a95 | 8 | Source0: https://telepathy.freedesktop.org/releases/telepathy-salut/%{name}-%{version}.tar.gz |
d7f309a1 | 9 | # Source0-md5: 7516e6f6fa56a61054413a03642b938d |
3254662b | 10 | Patch0: %{name}-openssl-1.1.0.patch |
3e948a95 | 11 | URL: https://telepathy.freedesktop.org/components/telepathy-salut/ |
a62121f1 | 12 | BuildRequires: autoconf >= 2.59 |
ff899957 | 13 | BuildRequires: automake >= 1:1.9 |
a62121f1 | 14 | BuildRequires: avahi-glib-devel |
9a889b5b | 15 | BuildRequires: avahi-gobject-devel |
b917de6d | 16 | BuildRequires: cyrus-sasl-devel >= 2 |
ff899957 | 17 | BuildRequires: dbus-devel >= 1.1.0 |
a62121f1 | 18 | BuildRequires: dbus-glib-devel >= 0.61 |
b917de6d JB |
19 | BuildRequires: glib2-devel >= 1:2.28 |
20 | BuildRequires: gtk-doc >= 1.17 | |
21 | BuildRequires: gtk-doc-automake >= 1.17 | |
22 | BuildRequires: libsoup-devel >= 2.4 | |
a62121f1 | 23 | BuildRequires: libtool |
ff899957 | 24 | BuildRequires: libuuid-devel |
a62121f1 MB |
25 | BuildRequires: libxml2-devel >= 1:2.6.28 |
26 | BuildRequires: libxslt-progs | |
ff899957 | 27 | BuildRequires: openssl-devel >= 0.9.8g |
a62121f1 | 28 | BuildRequires: pkgconfig |
b917de6d JB |
29 | BuildRequires: python >= 1:2.5 |
30 | BuildRequires: python-modules >= 1:2.5 | |
ff899957 | 31 | BuildRequires: sqlite3-devel |
b917de6d JB |
32 | BuildRequires: telepathy-glib-devel >= 0.17.1 |
33 | Requires: dbus-glib >= 0.61 | |
34 | Requires: dbus-libs >= 1.1.0 | |
35 | Requires: glib2 >= 1:2.28 | |
36 | Requires: openssl >= 0.9.8g | |
37 | Requires: telepathy-glib >= 0.17.1 | |
a62121f1 MB |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39 | ||
40 | %description | |
41 | This package provides Link-local XMPP functionality for Telepathy. | |
42 | ||
d4a2cb3f JB |
43 | %description -l pl.UTF-8 |
44 | Ten pakiet udostępnia funkcjonalność XMPP link-local dla Telepathy. | |
45 | ||
a62121f1 MB |
46 | %prep |
47 | %setup -q | |
3254662b | 48 | %patch0 -p1 |
a62121f1 MB |
49 | |
50 | %build | |
51 | %{__libtoolize} | |
52 | %{__aclocal} -I m4 | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
ff899957 | 56 | %configure \ |
b917de6d JB |
57 | --disable-avahi-tests \ |
58 | --disable-static \ | |
ff899957 | 59 | --with-tls=openssl |
a62121f1 MB |
60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
9b426b9d JB |
65 | # -j1 because of some race when installing libsalut-plugins.so and relinking its dependencies |
66 | %{__make} -j1 install \ | |
a62121f1 MB |
67 | DESTDIR=$RPM_BUILD_ROOT |
68 | ||
b917de6d JB |
69 | # private shared libraries, .la file/.so symlink not needed |
70 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/salut-0/lib/lib{salut-plugins,wocky}.{la,so} | |
71 | # packaged as %doc | |
72 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/telepathy-salut/clique.html | |
73 | ||
a62121f1 MB |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
b917de6d JB |
79 | %doc AUTHORS ChangeLog NEWS README docs/clique.html |
80 | %attr(755,root,root) %{_libexecdir}/telepathy-salut | |
3e948a95 JB |
81 | # dir shared with telepathy-gabble |
82 | %dir %{_libdir}/telepathy | |
b917de6d JB |
83 | %dir %{_libdir}/telepathy/salut-0 |
84 | %dir %{_libdir}/telepathy/salut-0/lib | |
85 | %attr(755,root,root) %{_libdir}/telepathy/salut-0/lib/libsalut-plugins-%{version}.so | |
86 | %attr(755,root,root) %{_libdir}/telepathy/salut-0/lib/libwocky-telepathy-salut-%{version}.so | |
a62121f1 MB |
87 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.salut.service |
88 | %{_datadir}/telepathy/managers/salut.manager | |
b917de6d | 89 | %{_mandir}/man8/telepathy-salut.8* |