X-Git-Url: https://git.pld-linux.org/?p=packages%2Firssi.git;a=blobdiff_plain;f=irssi.spec;h=7a1152e26012911679ae688eb2404f802b3323fa;hp=7cf26f7481dc753192ffd13c25ded1fb0a61d41d;hb=0c8a4783b92d1f7190a9266d3abf0085c1f60d21;hpb=36c9fd1f138191530c664422cad5f612acebd2f6 diff --git a/irssi.spec b/irssi.spec index 7cf26f7..7a1152e 100644 --- a/irssi.spec +++ b/irssi.spec @@ -1,3 +1,5 @@ +# TODO: +# - color_support_for_gui_entry needs update or to eb removed # # Conditional build: %bcond_without perl # without perl support @@ -8,19 +10,18 @@ %define idea_ver 0.1.46 %define xmpp_ver 0.53 -%define irssi_perl_version 20170103 -%{?with_perl:%include /usr/lib/rpm/macros.perl} +%define irssi_perl_version 20190829 Summary: Irssi is a IRC client Summary(fr.UTF-8): Irssi est un client IRC Summary(hu.UTF-8): Irssi egy IRC kliens Summary(pl.UTF-8): Irssi - wygodny w użyciu klient IRC Name: irssi -Version: 1.0.0 -Release: 1 +Version: 1.2.2 +Release: 2 License: GPL Group: Applications/Communications Source0: https://github.com/irssi/irssi/releases/download/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 0c702b85dbf8b45df0e618b5f8b06d31 +# Source0-md5: 062049c73ad2dd54b614e80d0137b737 Source1: %{name}.desktop Source2: %{name}.png # NXDOMAIN @@ -34,7 +35,7 @@ Patch1: %{name}-home_etc.patch Patch2: %{name}-idea-listlen.patch Patch3: %{name}-gcc4.patch Patch4: %{name}-dynamic.patch -Patch5: %{name}-invalid_free.patch + Patch6: %{name}-color_support_for_gui_entry.patch Patch7: %{name}-libs-nopoison.patch Patch8: am.patch @@ -47,7 +48,10 @@ BuildRequires: gettext-tools # for idea only BuildRequires: glib-devel BuildRequires: glib2-devel >= 2.24.0 +BuildRequires: libgcrypt-devel >= 1.2.0 +BuildRequires: libotr-devel >= 4.1.0 BuildRequires: libtool +BuildRequires: libutf8proc-devel %{?with_xmpp:BuildRequires: loudmouth-devel} BuildRequires: ncurses-devel >= 5.0 BuildRequires: openssl-devel >= 0.9.7d @@ -117,8 +121,8 @@ Ten pakiet zawiera wtyczkę do Irssi z obsługą XMPP. %if %{with dynamic} %patch4 -p1 %endif -%patch5 -p1 -%patch6 -p0 + +#%patch6 -p0 %patch7 -p1 echo 'AC_DEFUN([AM_PATH_GLIB],[:])' > glib1.m4 @@ -150,6 +154,7 @@ fi --with-textui \ --with-proxy \ --with-modules \ + --with-otr \ %{?with_perl:--with-perl=yes} \ %{?with_perl:--with-perl-lib=vendor} \ %{!?with_perl:--with-perl=no} \ @@ -219,6 +224,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libdir}/irssi %dir %{_libdir}/irssi/modules %attr(755,root,root) %{_libdir}/irssi/modules/libirc_proxy.so* +%attr(755,root,root) %{_libdir}/irssi/modules/libotr_core.so* %if %{with dynamic} %attr(755,root,root) %{_libdir}/libirssi*.so.* %endif