Group :: Rede/Mensagens instantâneas
RPM: telepathy-salut
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable snapshot
# broken, not ported to Python 3
%def_disable avahi_tests
%def_enable check
Name: telepathy-salut
Version: 0.8.1
Release: alt4.1
Summary: A link-local XMPP connection manager
License: LGPLv2.1+
Group: Networking/Instant messaging
Url: http://telepathy.freedesktop.org/
%if_disabled snapshot
Source: http://telepathy.freedesktop.org/releases/%name/%name-%version.tar.gz
%else
Vcs: https://github.com/TelepathyIM/telepathy-salut.git
Source: %name-%version.tar
%endif
#https://src.fedoraproject.org/rpms/telepathy-salut/blob/master/f/telepathy-salut-0.8.1-python3.patch
Patch: telepathy-salut-0.8.1-fc-python3.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: libtelepathy-glib-devel >= 0.23
BuildRequires: gtk-doc libasyncns-devel libavahi-gobject-devel libdbus-glib-devel
BuildRequires: libsasl2-devel libsoup-devel libxml2-devel valgrind
BuildRequires: libgnutls-devel libgcrypt-devel libsqlite3-devel libcheck-devel libuuid-devel
%{?_enable_check:BuildRequires: /proc dbus-tools-gui
%{?_enable_avahi_tests: python3-module-twisted-web python3-module-twisted-words
BuildRequires: python3-module-avahi python3-module-twisted-core-gui}}
%description
A link-local XMPP connection manager for telepathy.
%prep
%setup
%patch -p1
%build
%configure --disable-static \
%{?_disable_avahi_tests:--disable-avahi-tests} \
PYTHON=%__python3
%make_build
%check
%make check
%install
%makeinstall_std
rm -rf %buildroot%_docdir/%name/
%files
%_libexecdir/%name
%dir %_libdir/telepathy/salut-0
%dir %_libdir/telepathy/salut-0/lib
%_libdir/telepathy/salut-0/lib/*.so
%_man8dir/*
%_datadir/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.salut.service
%_datadir/telepathy/managers/salut.manager
%doc AUTHORS NEWS docs/clique.html
%exclude %_libdir/telepathy/salut-0/lib/*.la
%changelog
…
Todas as alterações você pod ver aqui
# broken, not ported to Python 3
%def_disable avahi_tests
%def_enable check
Name: telepathy-salut
Version: 0.8.1
Release: alt4.1
Summary: A link-local XMPP connection manager
License: LGPLv2.1+
Group: Networking/Instant messaging
Url: http://telepathy.freedesktop.org/
%if_disabled snapshot
Source: http://telepathy.freedesktop.org/releases/%name/%name-%version.tar.gz
%else
Vcs: https://github.com/TelepathyIM/telepathy-salut.git
Source: %name-%version.tar
%endif
#https://src.fedoraproject.org/rpms/telepathy-salut/blob/master/f/telepathy-salut-0.8.1-python3.patch
Patch: telepathy-salut-0.8.1-fc-python3.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: libtelepathy-glib-devel >= 0.23
BuildRequires: gtk-doc libasyncns-devel libavahi-gobject-devel libdbus-glib-devel
BuildRequires: libsasl2-devel libsoup-devel libxml2-devel valgrind
BuildRequires: libgnutls-devel libgcrypt-devel libsqlite3-devel libcheck-devel libuuid-devel
%{?_enable_check:BuildRequires: /proc dbus-tools-gui
%{?_enable_avahi_tests: python3-module-twisted-web python3-module-twisted-words
BuildRequires: python3-module-avahi python3-module-twisted-core-gui}}
%description
A link-local XMPP connection manager for telepathy.
%prep
%setup
%patch -p1
%build
%configure --disable-static \
%{?_disable_avahi_tests:--disable-avahi-tests} \
PYTHON=%__python3
%make_build
%check
%make check
%install
%makeinstall_std
rm -rf %buildroot%_docdir/%name/
%files
%_libexecdir/%name
%dir %_libdir/telepathy/salut-0
%dir %_libdir/telepathy/salut-0/lib
%_libdir/telepathy/salut-0/lib/*.so
%_man8dir/*
%_datadir/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.salut.service
%_datadir/telepathy/managers/salut.manager
%doc AUTHORS NEWS docs/clique.html
%exclude %_libdir/telepathy/salut-0/lib/*.la
%changelog
…
Todas as alterações você pod ver aqui