|
|
8c83e96 |
%global _hardened_build 1
|
|
|
0231c01 |
%global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$
|
|
|
8c83e96 |
|
|
|
ee1fe90 |
%if %{?_pkgdocdir:1}0
|
|
|
ee1fe90 |
%global _doc %{name}
|
|
|
ee1fe90 |
%else
|
|
|
ee1fe90 |
%global _doc %{name}-%{version}
|
|
|
ee1fe90 |
%global _pkgdocdir %{_docdir}/%{_doc}
|
|
|
ee1fe90 |
%endif
|
|
|
ee1fe90 |
|
|
|
2750bc8 |
Name: weechat
|
|
|
9bfa102 |
Version: 1.4
|
|
|
9bfa102 |
Release: 1%{?dist}
|
|
|
2d2fba6 |
|
|
|
2750bc8 |
Summary: Portable, fast, light and extensible IRC client
|
|
|
e16edd3 |
URL: http://weechat.org
|
|
|
2750bc8 |
Group: Applications/Communications
|
|
|
305de2e |
License: GPLv3
|
|
|
a4e272a |
|
|
|
2d2fba6 |
Source: http://weechat.org/files/src/%{name}-%{version}.tar.bz2
|
|
|
9bfa102 |
# /usr/bin/ld: CMakeFiles/charset.dir/charset.o:
|
|
|
9bfa102 |
# relocation R_X86_64_PC32 against symbol `weechat_charset_plugin'
|
|
|
7c9cee6 |
# can not be used when making a shared object; recompile with -fPIC
|
|
|
7c9cee6 |
Patch0: weechat-1.0.1-plugins-fPIC.patch
|
|
|
5751936 |
|
|
|
b9acb0e |
BuildRequires: asciidoc
|
|
|
b9acb0e |
BuildRequires: ca-certificates
|
|
|
a4e272a |
BuildRequires: cmake
|
|
|
a4e272a |
BuildRequires: docbook-style-xsl
|
|
|
a4e272a |
BuildRequires: enchant-devel
|
|
|
a4e272a |
BuildRequires: gettext
|
|
|
a4e272a |
BuildRequires: gnutls-devel
|
|
|
b9acb0e |
BuildRequires: guile-devel
|
|
|
a4e272a |
BuildRequires: libcurl-devel
|
|
|
a4e272a |
BuildRequires: libgcrypt-devel
|
|
|
a4e272a |
BuildRequires: lua-devel
|
|
|
a4e272a |
BuildRequires: ncurses-devel
|
|
|
a4e272a |
BuildRequires: perl-ExtUtils-Embed
|
|
|
a4e272a |
BuildRequires: perl-devel
|
|
|
a4e272a |
BuildRequires: pkgconfig
|
|
|
a4e272a |
BuildRequires: python-devel
|
|
|
a4e272a |
BuildRequires: ruby
|
|
|
a4e272a |
BuildRequires: ruby-devel
|
|
|
b9acb0e |
BuildRequires: source-highlight
|
|
|
a4e272a |
BuildRequires: tcl-devel
|
|
|
d988788 |
%ifarch %{ix86} x86_64 %{arm}
|
|
|
bfce728 |
BuildRequires: v8-devel
|
|
|
d988788 |
%endif
|
|
|
a4e272a |
BuildRequires: zlib-devel
|
|
|
2750bc8 |
|
|
|
2750bc8 |
%description
|
|
|
2750bc8 |
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
|
|
|
2750bc8 |
extensible IRC client. Everything can be done with a keyboard.
|
|
|
2750bc8 |
It is customizable and extensible with scripts.
|
|
|
2750bc8 |
|
|
|
e16edd3 |
%package devel
|
|
|
e16edd3 |
Summary: Development files for weechat
|
|
|
e16edd3 |
Group: Development/Libraries
|
|
|
b9acb0e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
a4e272a |
Requires: pkgconfig
|
|
|
e16edd3 |
|
|
|
e16edd3 |
%description devel
|
|
|
e16edd3 |
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
|
|
|
e16edd3 |
extensible IRC client. Everything can be done with a keyboard.
|
|
|
e16edd3 |
It is customizable and extensible with scripts.
|
|
|
e16edd3 |
|
|
|
e16edd3 |
This package contains include files and pc file for weechat.
|
|
|
e16edd3 |
|
|
|
a4e272a |
|
|
|
2750bc8 |
%prep
|
|
|
e16edd3 |
%setup -q -n %{name}-%{version}
|
|
|
7c9cee6 |
%patch0 -p1
|
|
|
ee1fe90 |
find doc/ -type f -name 'CMakeLists.txt' \
|
|
|
ee1fe90 |
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
|
|
|
b9acb0e |
|
|
|
a4e272a |
|
|
|
2750bc8 |
%build
|
|
|
17d3ce2 |
mkdir build
|
|
|
17d3ce2 |
pushd build
|
|
|
17d3ce2 |
%cmake \
|
|
|
17d3ce2 |
-DPREFIX=%{_prefix} \
|
|
|
17d3ce2 |
-DLIBDIR=%{_libdir} \
|
|
|
872a3c8 |
-DENABLE_ENCHANT=ON \
|
|
|
b9acb0e |
-DENABLE_DOC=ON \
|
|
|
b9acb0e |
-DENABLE_MAN=ON \
|
|
|
b491abf |
-DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \
|
|
|
17d3ce2 |
..
|
|
|
e16edd3 |
make VERBOSE=1 %{?_smp_mflags}
|
|
|
b9acb0e |
popd
|
|
|
2750bc8 |
|
|
|
a4e272a |
|
|
|
2750bc8 |
%install
|
|
|
2750bc8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
17d3ce2 |
pushd build
|
|
|
2750bc8 |
make install DESTDIR="$RPM_BUILD_ROOT"
|
|
|
17d3ce2 |
popd
|
|
|
2750bc8 |
|
|
|
2750bc8 |
%find_lang %name
|
|
|
2750bc8 |
|
|
|
e16edd3 |
|
|
|
2750bc8 |
%files -f %{name}.lang
|
|
|
b9acb0e |
%doc AUTHORS.asciidoc ChangeLog.asciidoc Contributing.asciidoc
|
|
|
b9acb0e |
%doc COPYING README.asciidoc ReleaseNotes.asciidoc
|
|
|
2750bc8 |
%{_bindir}/%{name}-curses
|
|
|
e254ac6 |
%{_bindir}/%{name}
|
|
|
2750bc8 |
%dir %{_libdir}/%{name}
|
|
|
2750bc8 |
%dir %{_libdir}/%{name}/plugins
|
|
|
2750bc8 |
%{_libdir}/%{name}/plugins/*
|
|
|
745be8b |
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
4e911f3 |
%{_pkgdocdir}/weechat_*.html
|
|
|
2750bc8 |
|
|
|
b9acb0e |
%{_mandir}/man1/weechat.1*
|
|
|
9bfa102 |
%{_mandir}/cs/man1/weechat.1*
|
|
|
b9acb0e |
%{_mandir}/de/man1/weechat.1*
|
|
|
b9acb0e |
%{_mandir}/fr/man1/weechat.1*
|
|
|
b9acb0e |
%{_mandir}/it/man1/weechat.1*
|
|
|
b9acb0e |
%{_mandir}/ja/man1/weechat.1*
|
|
|
b9acb0e |
%{_mandir}/pl/man1/weechat.1*
|
|
|
bfce728 |
%{_mandir}/ru/man1/weechat.1*
|
|
|
b9acb0e |
|
|
|
e16edd3 |
%files devel
|
|
|
e16edd3 |
%dir %{_includedir}/%{name}
|
|
|
1c849d0 |
%{_includedir}/%{name}/weechat-plugin.h
|
|
|
e16edd3 |
%{_libdir}/pkgconfig/*.pc
|
|
|
e16edd3 |
|
|
|
b9acb0e |
|
|
|
2750bc8 |
%changelog
|
|
|
9bfa102 |
* Sun Jan 10 2016 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.4-1
|
|
|
9bfa102 |
- update to upstream release 1.4
|
|
|
9bfa102 |
|
|
|
7b8993b |
* Mon Sep 14 2015 Paul Komkoff <i@stingr.net> - 1.3-2
|
|
|
7b8993b |
- Trying to fix broken build.
|
|
|
7b8993b |
|
|
|
8c89156 |
* Sat Sep 05 2015 Paul Komkoff <i@stingr.net> - 1.3-1
|
|
|
8c89156 |
- new upstream version (#1254000)
|
|
|
8c89156 |
|
|
|
04f4040 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-4
|
|
|
04f4040 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
04f4040 |
|
|
|
0e28a57 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.2-3
|
|
|
0e28a57 |
- Perl 5.22 rebuild
|
|
|
0e28a57 |
|
|
|
d988788 |
* Fri May 22 2015 Dan Horák <dan[at]danny.cz> - 1.2-2
|
|
|
d988788 |
- v8 is available only on selected arches (#1221689)
|
|
|
d988788 |
|
|
|
bfce728 |
* Sun May 10 2015 Paul Komkoff <i@stingr.net> - 1.2-1
|
|
|
bfce728 |
- new upstream version (#1220153)
|
|
|
bfce728 |
|
|
|
0c902bc |
* Sun Mar 8 2015 Paul Komkoff <i@stingr.net> - 1.1.1-1
|
|
|
0c902bc |
- new upstream version (#1181572)
|
|
|
0c902bc |
|
|
|
7c9cee6 |
* Sat Jan 17 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.0.1-3
|
|
|
7c9cee6 |
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
7c9cee6 |
- Build plugins with -fPIC
|
|
|
7c9cee6 |
|
|
|
b491abf |
* Wed Oct 22 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0.1-2
|
|
|
b491abf |
- fix default ca-bundle.crt location (#1151748)
|
|
|
b491abf |
|
|
|
2d2fba6 |
* Sun Sep 28 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0.1-1
|
|
|
2d2fba6 |
- update to upstream release 1.0.1
|
|
|
2d2fba6 |
|
|
|
5751936 |
* Sat Sep 20 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0-3
|
|
|
5751936 |
- patch from upstream to fix FTBFS (#1144761)
|
|
|
5751936 |
|
|
|
ee1fe90 |
* Sat Sep 20 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0-2
|
|
|
ee1fe90 |
- add conditionals for versioned/unversioned documentation directory
|
|
|
ee1fe90 |
|
|
|
b9acb0e |
* Sat Sep 13 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0-1
|
|
|
b9acb0e |
- update to upstream release 1.0
|
|
|
b9acb0e |
- add %%{?_isa} to Requires
|
|
|
b9acb0e |
- add additional BR: asciidoc ca-certificates guile-devel source-highlight
|
|
|
b9acb0e |
- add man page and docs
|
|
|
b9acb0e |
- temporarily add cflags when building on rawhide (fedora 21) due to FTBFS
|
|
|
b9acb0e |
|
|
|
f2d699c |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-6
|
|
|
f2d699c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f2d699c |
|
|
|
183cb4c |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.3-5
|
|
|
183cb4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
183cb4c |
|
|
|
0fe8ad0 |
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 0.4.3-4
|
|
|
0fe8ad0 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
|
|
|
0fe8ad0 |
|
|
|
3466784 |
* Tue Apr 29 2014 Vít Ondruch <vondruch@redhat.com> - 0.4.3-3
|
|
|
3466784 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
|
|
|
3466784 |
|
|
|
208e8ee |
* Wed Apr 09 2014 Russell Golden <niveusluna@niveusluna.org> - 0.4.3-2
|
|
|
208e8ee |
- Build and patch for el6
|
|
|
208e8ee |
- This is a _nasty_ hack intended solely to get the binary working.
|
|
|
208e8ee |
- The binary does seem to work whether or not aspell is enabled.
|
|
|
208e8ee |
|
|
|
8a932ad |
* Sun Feb 16 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.3-1
|
|
|
8a932ad |
- update to upstream release 0.4.3
|
|
|
8a932ad |
|
|
|
872a3c8 |
* Mon Nov 11 2013 Paul Komkoff <i@stingr.net> - 0.4.2-4
|
|
|
872a3c8 |
- enable enchant detection / aspell build.
|
|
|
872a3c8 |
|
|
|
366c19d |
* Fri Nov 08 2013 Russell Golden <niveusluna@niveusluna.org> - 0.4.2-3
|
|
|
366c19d |
- Forgot to remove the patch1 instruction
|
|
|
366c19d |
|
|
|
e33b051 |
* Fri Nov 08 2013 Russell Golden <niveusluna@niveusluna.org> - 0.4.2-2
|
|
|
e33b051 |
- Forgot to remove 0.4.1 from the sources file. (Rawhide only.)
|
|
|
e33b051 |
|
|
|
6722629 |
* Fri Nov 08 2013 Russell Golden <niveusluna@niveusluna.org> - 0.4.2-1
|
|
|
6722629 |
- rename binary from "weechat-curses" to "weechat" (with symbolic link "weechat-curses" for compatibility)
|
|
|
6722629 |
- add secured data (encryption of passwords or private data), new command /secure, new file sec.conf
|
|
|
6722629 |
- search of regular expression in buffer with text emphasis, in prefixes, messages or both
|
|
|
6722629 |
- add option "scroll_beyond_end" for command /window
|
|
|
6722629 |
- add optional buffer context in bar items (for example to display bitlbee nicklist in a root bar)
|
|
|
6722629 |
- new options weechat.look.hotlist_{prefix|suffix}
|
|
|
6722629 |
- new option weechat.look.key_bind_safe to prevent any key binding error from user
|
|
|
6722629 |
- new option weechat.network.proxy_curl to use a proxy when downloading URLs with curl
|
|
|
6722629 |
- display day change message dynamically
|
|
|
6722629 |
- support of wildcards in IRC commands (de)op/halfop/voice
|
|
|
6722629 |
- new option irc.look.notice_welcome_redirect to redirect channel welcome notices to the channel buffer
|
|
|
6722629 |
- new option irc.look.nick_color_hash: new hash algorithm to find nick colors (variant of djb2)
|
|
|
6722629 |
- add info about things defined by a script in the detailed view of script (/script show)
|
|
|
6722629 |
- support of "enchant" library in aspell plugin
|
|
|
6722629 |
- many bugs fixed.
|
|
|
5593c5c |
- no more man page by default
|
|
|
6722629 |
|
|
|
a4e272a |
* Sun Aug 04 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.1-3
|
|
|
a4e272a |
- add BR: libgcrypt-devel
|
|
|
a4e272a |
|
|
|
1b85f18 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
|
|
|
1b85f18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1b85f18 |
|
|
|
745be8b |
* Tue May 28 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.1-1
|
|
|
745be8b |
- update to upstream release 0.4.1
|
|
|
745be8b |
- clean old changelog entries
|
|
|
745be8b |
- fix enchant patch set
|
|
|
745be8b |
- Ruby 2.0 crash now fixed upstream
|
|
|
745be8b |
|
|
|
0231c01 |
* Tue Apr 02 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-7
|
|
|
0231c01 |
- filter out automatically generated Provides that shouldn't be there (#947399)
|
|
|
0231c01 |
|
|
|
8c83e96 |
* Sat Mar 30 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-6
|
|
|
8c83e96 |
- enable _hardened_build as weechat matches the "long running" criteria
|
|
|
8c83e96 |
- remove redundant PIE patch
|
|
|
8c83e96 |
|
|
|
4480689 |
* Fri Mar 29 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-5
|
|
|
4480689 |
- fix crash with Ruby 2.0
|
|
|
4480689 |
|
|
|
31f8cb0 |
* Wed Mar 13 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-4
|
|
|
31f8cb0 |
- rebuild with Ruby 2.0.0
|
|
|
d79ab1e |
- add patch to properly obtain the version of ruby
|
|
|
d79ab1e |
- fix bogus dates in older changelog entries
|
|
|
31f8cb0 |
|
|
|
f7da739 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
|
|
|
f7da739 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f7da739 |
|
|
|
81fbc07 |
* Tue Jan 22 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-2
|
|
|
81fbc07 |
- reimplement enchant support as a separate patch
|
|
|
81fbc07 |
- implement additional enchant support for displaying spelling suggestions
|
|
|
81fbc07 |
in weechat_aspell_get_suggestions(), which is a new function introduced by
|
|
|
81fbc07 |
upstream in 0.4.0
|
|
|
81fbc07 |
|
|
|
17d3ce2 |
* Mon Jan 21 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.4.0-1
|
|
|
17d3ce2 |
- update to upstream release 0.4.0
|
|
|
17d3ce2 |
- add CMAKE options (DPREFIX and DLIBDIR) which negate the need to patch
|
|
|
17d3ce2 |
- remove enchant patches to keep close to upstream
|
|
|
17d3ce2 |
|
|
|
cf5dce2 |
* Sun Dec 02 2012 Paul Komkoff <i@stingr.net> - 0.3.9.2-2
|
|
|
cf5dce2 |
- add zlib-devel dependency for epel6/ppc build
|
|
|
cf5dce2 |
|
|
|
6ff05c4 |
* Sat Dec 1 2012 Paul P. Komkoff Jr <i@stingr.net> - 0.3.9.2-1
|
|
|
6ff05c4 |
- new upstream, long overdue
|
|
|
6ff05c4 |
|
|
|
6b064ab |
* Mon Nov 19 2012 Paul P. Komkoff Jr <i@stingr.net> - 0.3.8-4
|
|
|
6b064ab |
- fix bz#878025
|
|
|
6b064ab |
|
|
|
9fdb945 |
* Fri Nov 09 2012 Paul P. Komkoff Jr <i@stingr.net> - 0.3.8-3
|
|
|
9fdb945 |
- fix bz#875181
|
|
|
9fdb945 |
|
|
|
70c074e |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-2
|
|
|
70c074e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
70c074e |
|
|
|
31410fb |
* Tue Jun 26 2012 Russell Golden <niveusluna@niveusluna.org> - 0.3.8-1
|
|
|
31410fb |
- New upstream version
|
|
|
31410fb |
|
|
|
396d3f1 |
* Fri Mar 16 2012 Paul P. Komkoff Jr <i@stingr.net> - 0.3.7-1
|
|
|
396d3f1 |
- new upstream version
|
|
|
396d3f1 |
|
|
|
28cbd0e |
* Wed Feb 08 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.6-2
|
|
|
28cbd0e |
- Rebuilt for Ruby 1.9.3.
|
|
|
28cbd0e |
|
|
|
a8224d5 |
* Wed Jan 18 2012 Paul P. Komkoff Jr <i@stingr.net> - 0.3.6-1
|
|
|
a8224d5 |
- new upstream version
|
|
|
a8224d5 |
|
|
|
6581c51 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-3
|
|
|
6581c51 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
6581c51 |
|
|
|
311ceb9 |
* Thu Nov 10 2011 Paul P. Komkoff Jr <i@stingr.net> - 0.3.5-2
|
|
|
311ceb9 |
- rebuilt
|
|
|
311ceb9 |
|
|
|
40e8b57 |
* Thu Jun 2 2011 Paul P. Komkoff Jr <i@stingr.net> - 0.3.5-1
|
|
|
40e8b57 |
- new upstream version
|
|
|
40e8b57 |
|
|
|
70ebb3f |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-3
|
|
|
70ebb3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
70ebb3f |
|
|
|
4aabad8 |
* Sat Aug 28 2010 Paul P. Komkoff Jr <i@stingr.net> - 0.3.3-2
|
|
|
4aabad8 |
- fixed cmake config to accept python27
|
|
|
4aabad8 |
|
|
|
9e645df |
* Wed Aug 25 2010 Paul P. Komkoff Jr <i@stingr.net> - 0.3.3-1
|
|
|
9e645df |
- new upstream version
|
|
|
9e645df |
|
|
|
a8f5c95 |
* Tue Jul 27 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.2-3
|
|
|
a8f5c95 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
a8f5c95 |
|
|
|
1ed3b1b |
* Fri May 7 2010 Paul P. Komkoff Jr <i@stingr.net> - 0.3.2-2
|
|
|
1ed3b1b |
- spec file fix
|
|
|
1ed3b1b |
|
|
|
1319ba5 |
* Thu May 6 2010 Paul P. Komkoff Jr <i@stingr.net> - 0.3.2-1
|
|
|
1319ba5 |
- new upstream version
|