Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 4e541a35f8f025636e165eb2a0b349a9 > files > 7

weechat-0.4.1-7.2.mga5.src.rpm

Summary:	Portable, fast, light and extensible IRC client
Name:		weechat
Version:	0.4.1
%define subrel	2
Release:	%mkrel 7
Source0:	http://www.weechat.org/files/src/%{name}-%{version}.tar.bz2
Patch0:		weechat-combined.patch
Patch1:		weechat-0.4.1-enchant.patch
Patch3:		weechat-0.4.0-ruby-version.patch
Patch4:		CVE-2017-8073.patch
Patch5:		weechat-0.3.8-CVE-2017-14727.patch
License:	GPLv3
Group:		Networking/IRC
Url:		http://www.weechat.org/
BuildRequires:	cmake
BuildRequires:	ncurses-devel
BuildRequires:	curl-devel
# need for utf8 support
BuildRequires:	ncursesw-devel
BuildRequires:	perl-devel
# Ruby & Python are really needed for the build, tks lbd
BuildRequires:	python-devel
BuildRequires:	ruby-devel
Buildrequires:	lua5.1-devel
BuildRequires:	enchant-devel
BuildRequires:	gettext
BuildRequires:	docbook-style-xsl
BuildRequires:	gnutls-devel
BuildRequires:	libgcrypt-devel
BuildRequires:	tcl-devel
BuildRequires:	guile-devel
Obsoletes:	%{name}-gtk

%description
WeeChat (Wee Enhanced Environment for Chat) is a fast, light and extensible
chat client designed for many platforms.
 
Main features are: 
- modular: a lightweight core with plugins around
- multi-protocols: IRC and Jabber (other soon)
- extensible: C plugins and scripts (Perl, Python, Ruby, Lua and Tcl)
- free software: released under GPLv3 license
- fully documented: user's guide, API, FAQ,.. translated in many languages 

%files -f %{name}.lang
%doc AUTHORS ChangeLog COPYING NEWS README
%doc doc/en/weechat_faq.en.txt doc/en/weechat_quickstart.en.txt doc/en/weechat_scripting.en.txt
%doc doc/en/weechat_user.en.txt
%{_bindir}/%{name}
%{_bindir}/%{name}-curses
%{_mandir}/man1/%{name}*
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
%{_libdir}/%{name}/plugins/alias.so
%{_libdir}/%{name}/plugins/fifo.so
%{_libdir}/%{name}/plugins/irc.so
%{_libdir}/%{name}/plugins/logger.so
%{_libdir}/%{name}/plugins/relay.so
%{_libdir}/%{name}/plugins/rmodifier.so
%{_libdir}/%{name}/plugins/script.so
%{_libdir}/%{name}/plugins/xfer.so
%{_iconsdir}/hicolor/32x32/apps/%{name}.png

#--------------------------------------------------------------------

%package perl
Group:		Networking/IRC
Summary: 	Weechat perl plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description perl
This package allow weechat to use perl scripts

%files perl
%{_libdir}/%{name}/plugins/perl.so

#--------------------------------------------------------------------

%package python
Group:		Networking/IRC
Summary:	Weechat python plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description python
This package allow weechat to use python scripts

%files python
%{_libdir}/%{name}/plugins/python.so

#--------------------------------------------------------------------

%package guile
Group:          Networking/IRC
Summary:        Weechat guile plugins
Requires:       %{name} = %{version}

%description guile
This package allow weechat to use guile scripts

%files guile
%{_libdir}/%{name}/plugins/guile.so

#--------------------------------------------------------------------

%package tcl
Group:		Networking/IRC
Summary:	Weechat tcl plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description tcl
This package allow weechat to use tcl scripts

%files tcl
%{_libdir}/%{name}/plugins/tcl.so

#--------------------------------------------------------------------

%package ruby
Group:		Networking/IRC
Summary:	Weechat ruby plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description ruby
This package allow weechat to use ruby scripts

%files ruby
%{_libdir}/%{name}/plugins/ruby.so

#--------------------------------------------------------------------

%package lua
Group:		Networking/IRC
Summary:	Weechat lua plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description lua
This package allow weechat to use lua scripts

%files lua
%{_libdir}/%{name}/plugins/lua.so

#--------------------------------------------------------------------

%package charset
Group:		Networking/IRC
Summary:	Weechat charset plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description charset
This package allow weechat to use charset

%files charset
%{_libdir}/%{name}/plugins/charset.so

#--------------------------------------------------------------------

%package aspell
Group:		Networking/IRC
Summary:	Weechat spell check plugins
Requires:	%{name} = %{version}
Conflicts:	%{name} < 0.3.6

%description aspell
This package allow weechat to use spell checker feature.

%files aspell
%{_libdir}/%{name}/plugins/aspell.so

#--------------------------------------------------------------------

%package  devel
Summary:	Development files for weechat
Group:		Development/C
Requires:	%{name} = %{version}-%{release}

%description devel
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
extensible IRC client. Everything can be done with a keyboard.
It is customizable and extensible with scripts.

This package contains include files and pc file for weechat.

%files devel
%{_includedir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc

#--------------------------------------------------------------------

%prep
%setup -q
%autopatch -p1

%build
# hack to avoid a glibc 2.20 macro called strndup that messes up the compile
export CFLAGS="%{optflags} -D_HAVE_STRING_ARCH_strndup"
%cmake -DLIBDIR=%{_libdir}
%make_build

%install
%make_install -C build

(
cd %{buildroot}%{_bindir}
ln -s %{name}-curses %{name}
)

%find_lang %{name}


%changelog
* Fri Oct 06 2017 mrambo3501 <mrambo3501> 0.4.1-7.2.mga5
+ Revision: 1169595
- Add debian patch which fixes CVE-2017-14727 mga#21802

* Sat Jun 24 2017 wally <wally> 0.4.1-7.1.mga5
+ Revision: 1108288
- add upstream patch to fix CVE-2017-8073 (mga#20756)

* Wed Oct 15 2014 umeabot <umeabot> 0.4.1-7.mga5
+ Revision: 740101
- Second Mageia 5 Mass Rebuild

* Tue Oct 07 2014 tv <tv> 0.4.1-6.mga5
+ Revision: 737421
- rebuild for missing pythoneggs deps

  + umeabot <umeabot>
    - Mageia 5 Mass Rebuild

* Sat Oct 19 2013 umeabot <umeabot> 0.4.1-4.mga4
+ Revision: 535875
- Mageia 4 Mass Rebuild

* Sat Sep 21 2013 fwang <fwang> 0.4.1-3.mga4
+ Revision: 482772
- there is no info files

* Sat Sep 21 2013 fwang <fwang> 0.4.1-2.mga4
+ Revision: 482719
- update file list
- sync with fedora patch
- rebuild for ruby 2.0

* Fri Jun 28 2013 dams <dams> 0.4.1-1.mga4
+ Revision: 448076
- new version 0.4.1
- clean specfile

* Mon Jan 14 2013 umeabot <umeabot> 0.3.9.2-2.mga3
+ Revision: 385674
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Nov 30 2012 fwang <fwang> 0.3.9.2-1.mga3
+ Revision: 323338
- new version 0.3.9.2

* Sun Nov 11 2012 fwang <fwang> 0.3.9.1-1.mga3
+ Revision: 316952
- update file list
- disable aspell support
- new version 0.3.9.1
- enable aspell

* Wed Sep 12 2012 fwang <fwang> 0.3.8-1.mga3
+ Revision: 292576
- sync patch from fedora
- use lua 5.1
- add br
- new version 0.3.8

* Fri Dec 16 2011 fwang <fwang> 0.3.6-3.mga2
+ Revision: 182527
- update summary
- rediff enchant patches

* Fri Dec 16 2011 fwang <fwang> 0.3.6-2.mga2
+ Revision: 182381
- conflicts with older package

* Fri Dec 16 2011 fwang <fwang> 0.3.6-1.mga2
+ Revision: 182369
- update file list
- new version 0.3.6
- rebuild for new gnutls

* Wed Jul 06 2011 fwang <fwang> 0.3.5-2.mga2
+ Revision: 119166
- rebuild for new tcl

* Wed Jul 06 2011 dams <dams> 0.3.5-1.mga2
+ Revision: 119113
- add patch
- update to 0.3.5
- rediff patch
- update BR
- clean spec

* Sun May 08 2011 grenoya <grenoya> 0.3.0-1.mga1
+ Revision: 96453
- add patch from Fedora for python2.7
- imported package weechat


* Sat Sep 26 2009 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.0-1mdv2010.0
+ Revision: 449359
- Fix devel group
- Fix BuildRequires
- Fix typo
- Add cmake as BuildRequire
- Fix and apply patches
- Update to weechat 0.3.0
- Fix URL and Source0

* Sat Jun 13 2009 Frederik Himpe <fhimpe@mandriva.org> 0.2.6.3-1mdv2010.0
+ Revision: 385761
- Update to new version 0.2.6.3
- Remove gnutls patch: not needed anymore

* Thu Jun 04 2009 Funda Wang <fundawang@mandriva.org> 0.2.6.2-1mdv2010.0
+ Revision: 382602
- New version 0.2.6.2
- build with gnutls 2.8

* Thu Mar 19 2009 Frederik Himpe <fhimpe@mandriva.org> 0.2.6.1-1mdv2009.1
+ Revision: 358015
- BuildRequires gtk+2 in any case if autoreconf is run,
  disable gtk+ build with a configure option
- BuildRequires gettext-devel
- Update to version 0.2.6.1 (fixes CVE-2009-0661)

* Thu Dec 25 2008 Michael Scherer <misc@mandriva.org> 0.2.6-5mdv2009.1
+ Revision: 318502
- rebuild for new python

* Sat Aug 09 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2.6-4mdv2009.0
+ Revision: 269671
- rebuild early 2009.0 package (before pixel changes)

* Mon May 26 2008 Olivier Thauvin <nanardon@mandriva.org> 0.2.6-3mdv2009.0
+ Revision: 211436
- enable build over libncursesw

* Mon Jan 14 2008 Olivier Thauvin <nanardon@mandriva.org> 0.2.6-2mdv2008.1
+ Revision: 151704
- rebuild for perl 5.10

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Oct 17 2007 Olivier Thauvin <nanardon@mandriva.org> 0.2.6-1mdv2008.1
+ Revision: 99790
- 0.2.6

* Tue Jun 19 2007 Olivier Thauvin <nanardon@mandriva.org> 0.2.5-1mdv2008.0
+ Revision: 41483
- 0.2.5


* Thu Jan 11 2007 Lenny Cartier <lenny@mandriva.com> 0.2.3-2mdv2007.0
+ Revision: 107474
- Buildrequires
- Update to 0.2.3

* Tue Dec 12 2006 Michael Scherer <misc@mandriva.org> 0.1.9-2mdv2007.1
+ Revision: 95678
- rebuild for new python

  + Olivier Thauvin <nanardon@mandriva.org>
    - Import weechat