]> 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 1ead800a2c72e59788a25f0b51df5943db525c28..ac0ee3251d52d2daa84a0d79259ff0e675b06c2e 100644 (file)
@@ -1,29 +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
-Version:       0.9.10
-Release:       1
-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: a4c1ace3be4b1ac49430517c8c1f42f1
-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.9
+BuildRequires: automake >= 1:1.11
+BuildRequires: cyrus-sasl-devel
 BuildRequires: dbus-devel >= 1.1.0
-BuildRequires: dbus-glib-devel >= 0.78
-BuildRequires: glib2-devel >= 1:2.22.0
-BuildRequires: gnutls-devel >= 2.8.2
+BuildRequires: dbus-glib-devel >= 0.82
+BuildRequires: glib2-devel >= 1:2.44
+BuildRequires: libnice-devel >= 0.0.11
 BuildRequires: libsoup-devel >= 2.4.0
 BuildRequires: libtool
+BuildRequires: libxml2-devel
 BuildRequires: libxslt-progs
+BuildRequires: openssl-devel >= 0.9.8g
 BuildRequires: pkgconfig
-BuildRequires: python
-BuildRequires: telepathy-glib-devel >= 0.7.37
+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.78
-Requires:      telepathy-glib >= 0.7.37
+Requires:      dbus-glib >= 0.82
+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
@@ -34,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}
@@ -42,7 +54,10 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
 %{__autoheader}
 %{__automake}
 %configure \
-       --with-wocky-tls=gnutls
+       --disable-silent-rules \
+       --disable-static \
+       --with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt \
+       --with-tls=openssl
 %{__make}
 
 %install
@@ -51,20 +66,28 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/telepathy-gabble
+%{__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/*
+%{_mandir}/man8/telepathy-gabble.8*
This page took 0.068348 seconds and 4 git commands to generate.