代码拉取完成,页面将自动刷新
%global _doc %{name}-%{version}
Name: weechat
Version: 4.5.1
Release: 1
Summary: Portable, fast, light and extensible IRC client
URL: https://weechat.org
License: GPL-3.0-or-later
Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: asciidoctor
BuildRequires: ca-certificates
BuildRequires: cmake
BuildRequires: cjson-devel
BuildRequires: docbook-style-xsl
BuildRequires: enchant-devel
BuildRequires: gettext
BuildRequires: pkgconfig(gnutls) >= 3.3.0
BuildRequires: guile-devel
BuildRequires: pkgconfig(libcurl) >= 7.47.0
BuildRequires: pkgconfig(libgcrypt)
BuildRequires: lua-devel
BuildRequires: ncurses-devel
BuildRequires: perl-ExtUtils-Embed
BuildRequires: perl-devel
BuildRequires: python3-devel
BuildRequires: ruby
BuildRequires: ruby-devel
BuildRequires: source-highlight
BuildRequires: tcl-devel
BuildRequires: zstd-devel
Requires: hicolor-icon-theme
%description
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.
%package devel
Summary: Development files for weechat
Requires: %{name}%{?_isa} = %{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.
%prep
%autosetup -p1 -n %{name}-%{version}
find doc/ -type f -name 'CMakeLists.txt' \
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
%build
%cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DLIBDIR=%{_libdir} \
-DENABLE_ENCHANT=ON \
-DENABLE_PYTHON3=ON \
-DENABLE_PHP=OFF \
-DENABLE_DOC=ON \
-DENABLE_MAN=ON \
-DENABLE_JAVASCRIPT=OFF \
-DENABLE_DOC_INCOMPLETE=ON \
-DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \
%cmake_build
%install
%cmake_install
%find_lang %name --with-man
%find_lang %name-headless --with-man
%files -f %{name}.lang -f %name-headless.lang
%doc AUTHORS.md CHANGELOG.md CONTRIBUTING.md
%doc README.md UPGRADING.md
%license COPYING
%{_bindir}/%{name}-curses
%{_bindir}/%{name}
%{_bindir}/%{name}-headless
%{_libdir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_docdir}/weechat-%{version}/weechat_*.html
%{_mandir}/man1/*
%files devel
%{_includedir}/%{name}
%{_libdir}/pkgconfig/*.pc
%changelog
* Mon Dec 23 2024 Funda Wang <[email protected]> - 4.5.1-1
- update to 4.5.1
* Mon Dec 02 2024 Funda Wang <[email protected]> - 4.4.4-1
- update to 4.4.4
* Tue Nov 05 2024 Funda Wang <[email protected]> - 4.4.3-2
- adopt to new cmake macro
* Thu Oct 31 2024 Funda Wang <[email protected]> - 4.4.3-1
- update to 4.4.3
* Mon Sep 09 2024 Funda Wang <[email protected]> - 4.4.2-1
- update to 4.4.2
* Tue Aug 20 2024 Funda Wang <[email protected]> - 4.4.1-1
- update to 4.4.1
* Sat Aug 17 2024 Funda Wang <[email protected]> - 4.4.0-1
- update to 4.4.0
* Fri Aug 16 2024 Funda Wang <[email protected]> - 4.3.6-1
- update to 4.3.6
* Wed Nov 15 2023 ouuleilei <[email protected]> - 4.1.1-1
- Upgrade to 4.1.1
* Wed May 24 2023 chaozhangm <[email protected]> - 3.8-1
- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。