7 Star 0 Fork 4

src-openEuler/weechat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
weechat.spec 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2024-12-23 17:38 . 4.5.1
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/weechat.git
[email protected]:src-openeuler/weechat.git
src-openeuler
weechat
weechat
master

搜索帮助