]> git.pld-linux.org Git - packages/telepathy-gabble.git/blobdiff - telepathy-gabble.spec
rebuild with openssl 3.0.0
[packages/telepathy-gabble.git] / telepathy-gabble.spec
index 9c06a1cf995871d9e694b9e825134f54fc5976de..ac0ee3251d52d2daa84a0d79259ff0e675b06c2e 100644 (file)
@@ -1,34 +1,38 @@
 Summary:       A Telepathy connection manager for Jabber/XMPP
 Summary(pl.UTF-8):     Zarządca połączeń Telepathy dla Jabbera/XMPP
 Name:          telepathy-gabble
-# NOTE: 0.11.x is development branch
-Version:       0.10.5
-Release:       3
-License:       LGPL
+Version:       0.18.4
+Release:       5
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://telepathy.freedesktop.org/releases/telepathy-gabble/%{name}-%{version}.tar.gz
-# Source0-md5: 6d3e07354fb6d3ea5f8375e7cf776a27
-URL:           http://telepathy.freedesktop.org/wiki/
+Source0:       https://telepathy.freedesktop.org/releases/telepathy-gabble/%{name}-%{version}.tar.gz
+# Source0-md5: 64334f42b1822dbc22b823f22f9e968f
+Patch0:                %{name}-openssl-1.1.0.patch
+URL:           https://telepathy.freedesktop.org/components/telepathy-gabble/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake >= 1:1.11
+BuildRequires: cyrus-sasl-devel
 BuildRequires: dbus-devel >= 1.1.0
 BuildRequires: dbus-glib-devel >= 0.82
-BuildRequires: glib2-devel >= 1:2.24.0
-BuildRequires: gnutls-devel >= 2.8.2
+BuildRequires: glib2-devel >= 1:2.44
 BuildRequires: libnice-devel >= 0.0.11
 BuildRequires: libsoup-devel >= 2.4.0
 BuildRequires: libtool
-BuildRequires: libuuid-devel
+BuildRequires: libxml2-devel
 BuildRequires: libxslt-progs
+BuildRequires: openssl-devel >= 0.9.8g
 BuildRequires: pkgconfig
-BuildRequires: python
-BuildRequires: telepathy-glib-devel >= 0.12.0
-BuildRequires: which
+BuildRequires: python >= 1:2.5
+BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel
+BuildRequires: telepathy-glib-devel >= 0.19.9
+BuildRequires: which
 Requires:      ca-certificates
 Requires:      dbus >= 1.1.0
 Requires:      dbus-glib >= 0.82
-Requires:      telepathy-glib >= 0.12.0
+Requires:      glib2 >= 1:2.44
+Requires:      libnice >= 0.0.11
+Requires:      telepathy-glib >= 0.19.9
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,6 +43,9 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
 
 %prep
 %setup -q
+%patch0 -p1
+
+%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' plugins/telepathy-gabble-xmpp-console
 
 %build
 %{__libtoolize}
@@ -48,7 +55,9 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
 %{__automake}
 %configure \
        --disable-silent-rules \
-       --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt
+       --disable-static \
+       --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt \
+       --with-tls=openssl
 %{__make}
 
 %install
@@ -57,22 +66,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/gabble-0/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/gabble-0/plugins/*.la
+# private libraries, API not exported
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/telepathy/gabble-0/lib/lib{gabble-plugins,wocky}.{so,la}
+# packaged as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/telepathy-gabble
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
-
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_libdir}/telepathy-gabble
+%doc AUTHORS ChangeLog NEWS README docs/*.html
+%attr(755,root,root) %{_bindir}/telepathy-gabble-xmpp-console
+%attr(755,root,root) %{_libexecdir}/telepathy-gabble
 %dir %{_libdir}/telepathy
 %dir %{_libdir}/telepathy/gabble-0
-%attr(755,root,root) %{_libdir}/telepathy/gabble-0/*.so
+%dir %{_libdir}/telepathy/gabble-0/lib
+%attr(755,root,root) %{_libdir}/telepathy/gabble-0/lib/libgabble-plugins-%{version}.so
+%attr(755,root,root) %{_libdir}/telepathy/gabble-0/lib/libwocky-telepathy-gabble-%{version}.so
+%dir %{_libdir}/telepathy/gabble-0/plugins
+%attr(755,root,root) %{_libdir}/telepathy/gabble-0/plugins/libconsole.so
+%attr(755,root,root) %{_libdir}/telepathy/gabble-0/plugins/libgateways.so
 %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.gabble.service
 %{_datadir}/telepathy/managers/gabble.manager
-%{_mandir}/man8/*.8*
+%{_mandir}/man8/telepathy-gabble.8*
This page took 0.032097 seconds and 4 git commands to generate.