]> git.pld-linux.org Git - SPECS.git/blob - telepathy-gabble.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / telepathy-gabble.spec
1 Summary:        A Telepathy connection manager for Jabber/XMPP
2 Summary(pl.UTF-8):      Zarządca połączeń Telepathy dla Jabbera/XMPP
3 Name:           telepathy-gabble
4 Version:        0.18.4
5 Release:        4
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        https://telepathy.freedesktop.org/releases/telepathy-gabble/%{name}-%{version}.tar.gz
9 # Source0-md5:  64334f42b1822dbc22b823f22f9e968f
10 Patch0:         %{name}-openssl-1.1.0.patch
11 URL:            https://telepathy.freedesktop.org/components/telepathy-gabble/
12 BuildRequires:  autoconf >= 2.59
13 BuildRequires:  automake >= 1:1.11
14 BuildRequires:  cyrus-sasl-devel
15 BuildRequires:  dbus-devel >= 1.1.0
16 BuildRequires:  dbus-glib-devel >= 0.82
17 BuildRequires:  glib2-devel >= 1:2.44
18 BuildRequires:  libnice-devel >= 0.0.11
19 BuildRequires:  libsoup-devel >= 2.4.0
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel
22 BuildRequires:  libxslt-progs
23 BuildRequires:  openssl-devel >= 0.9.8g
24 BuildRequires:  pkgconfig
25 BuildRequires:  python >= 1:2.5
26 BuildRequires:  sed >= 4.0
27 BuildRequires:  sqlite3-devel
28 BuildRequires:  telepathy-glib-devel >= 0.19.9
29 BuildRequires:  which
30 Requires:       ca-certificates
31 Requires:       dbus >= 1.1.0
32 Requires:       dbus-glib >= 0.82
33 Requires:       glib2 >= 1:2.44
34 Requires:       libnice >= 0.0.11
35 Requires:       telepathy-glib >= 0.19.9
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 A connection manager to connect Telepathy to Jabber/XMPP.
40
41 %description -l pl.UTF-8
42 Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' plugins/telepathy-gabble-xmpp-console
49
50 %build
51 %{__libtoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-silent-rules \
58         --disable-static \
59         --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt \
60         --with-tls=openssl
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/gabble-0/plugins/*.la
70 # private libraries, API not exported
71 %{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/gabble-0/lib/lib{gabble-plugins,wocky}.{so,la}
72 # packaged as %doc
73 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/telepathy-gabble
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README docs/*.html
81 %attr(755,root,root) %{_bindir}/telepathy-gabble-xmpp-console
82 %attr(755,root,root) %{_libexecdir}/telepathy-gabble
83 %dir %{_libdir}/telepathy
84 %dir %{_libdir}/telepathy/gabble-0
85 %dir %{_libdir}/telepathy/gabble-0/lib
86 %attr(755,root,root) %{_libdir}/telepathy/gabble-0/lib/libgabble-plugins-%{version}.so
87 %attr(755,root,root) %{_libdir}/telepathy/gabble-0/lib/libwocky-telepathy-gabble-%{version}.so
88 %dir %{_libdir}/telepathy/gabble-0/plugins
89 %attr(755,root,root) %{_libdir}/telepathy/gabble-0/plugins/libconsole.so
90 %attr(755,root,root) %{_libdir}/telepathy/gabble-0/plugins/libgateways.so
91 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.gabble.service
92 %{_datadir}/telepathy/managers/gabble.manager
93 %{_mandir}/man8/telepathy-gabble.8*
This page took 0.18015 seconds and 3 git commands to generate.