diff --git a/README.en.md b/README.en.md index eb355eb29ffb966737f1137ec886643b03ff955c..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/README.en.md +++ b/README.en.md @@ -1,36 +0,0 @@ -# weechat - -#### Description -WeeChat, the extensible chat client. - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index 1ec3e3e9a43a254220e4ba9a3e7dd66014431192..d525bcc24e3dd0b2f8d8bd7ba8be0ab9677306cd 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,46 @@ # weechat -#### 介绍 +### 介绍 WeeChat, the extensible chat client. -#### 软件架构 -软件架构说明 +### 软件架构 +官方文档 [https://weechat.org/files/doc/stable/weechat_dev.en.html](https://weechat.org/files/doc/stable/weechat_dev.en.html) -#### 安装教程 +### 安装教程 -1. xxxx -2. xxxx -3. xxxx +dnf安装 +> dnf install weechat -#### 使用说明 +yum安装 +> yum install weechat -1. xxxx -2. xxxx -3. xxxx +weechat的扩展支持很多种脚本语言,python/perl/lua等,所以-如果需要对应的插件-自然需要安装对应的包 -#### 参与贡献 + +### 使用说明 + +官网:[weechat](https://weechat.org/) + +项目地址: [weechat github](https://github.com/weechat) + +终端: +> weechat + +退出 +> /exit + +帮助 +> /help + +irc 加入某个频道, 如#openeuler +> /join #openeuler + +weechat quickstart: [https://weechat.org/files/doc/stable/weechat_quickstart.en.html](https://weechat.org/files/doc/stable/weechat_quickstart.en.html) + +### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request - - -#### 码云特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 -5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/weechat-v2.6.zip b/weechat-v2.6.zip new file mode 100644 index 0000000000000000000000000000000000000000..2896537fd33534711f7b8bea414f7ba7c8f35dc4 Binary files /dev/null and b/weechat-v2.6.zip differ diff --git a/weechat.spec b/weechat.spec new file mode 100644 index 0000000000000000000000000000000000000000..6f6086d9135bed93c4f40154e348559a54f242af --- /dev/null +++ b/weechat.spec @@ -0,0 +1,100 @@ +%define version 2.6 + +Name: weechat +Version: %version +Release: 1%{?dist} +Summary: WeeChat, the extensible chat client. + +License: GPL-3.0 +URL: https://weechat.org +Source0: weechat-v%{version}.zip + +#compile +BuildRequires: cmake gcc make gdb + +#dependencies +BuildRequires: curl-devel zlib-devel gettext-devel rubygem-asciidoctor +BuildRequires: gnutls-devel libgcrypt-devel +BuildRequires: ncurses-devel + +%description +WeeChat is a fast, light and extensible chat client, with a text-based user interface. +WeeChat is: + modular: a lightweight core with optional plugins + multi-protocols architecture (mainly IRC) + multi-platforms: Linux, Unix, BSD, GNU Hurd, Haiku, macOS and Windows (Bash/Ubuntu and Cygwin). + extensible with C, Python, Perl, Ruby, Lua, Tcl, Scheme, Javascript and PHP + fully documented and translated into several languages + a free program released under the terms of the GNU General Public License version 3 + an active project with a large community for scripts. + +WeeChat is designed to be light and extensible: a lightweight core with optional plugins. +Plugins and scripts can be dynamically loaded and unloaded at any time. + Almost everything is a plugin, for example: + Internet Relay Chat (IRC) protocol + API for script languages (Python, Perl, Ruby, Lua, Tcl, Scheme, Javascript, PHP) + IRC proxy and remote interface (relay) + Scripts manager + Alias, aspell, charset, logger, etc. + +%prep +%autosetup + +%build +mkdir build +cd build + +%cmake -DLIBDIR=%{_libdir} -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON .. +%make_build + +%install +rm -rf $RPM_BUILD_ROOT +cd build +%make_install + + +%files +%{_bindir}/weechat +%{_bindir}/weechat-curses +%{_bindir}/weechat-headless + +%{_includedir}/weechat/weechat-plugin.h +%{_libdir}/pkgconfig/weechat.pc +%{_libdir}/weechat + +%{_datadir}/icons/hicolor/32x32/apps/weechat.png +%{_datadir}/locale/cs/LC_MESSAGES/weechat.mo +%{_datadir}/locale/de/LC_MESSAGES/weechat.mo +%{_datadir}/locale/es/LC_MESSAGES/weechat.mo +%{_datadir}/locale/fr/LC_MESSAGES/weechat.mo +%{_datadir}/locale/hu/LC_MESSAGES/weechat.mo +%{_datadir}/locale/it/LC_MESSAGES/weechat.mo +%{_datadir}/locale/ja/LC_MESSAGES/weechat.mo +%{_datadir}/locale/pl/LC_MESSAGES/weechat.mo +%{_datadir}/locale/pt/LC_MESSAGES/weechat.mo +%{_datadir}/locale/pt_BR/LC_MESSAGES/weechat.mo +%{_datadir}/locale/ru/LC_MESSAGES/weechat.mo +%{_datadir}/locale/tr/LC_MESSAGES/weechat.mo + +%doc %{_datadir}/doc/weechat + +%{_mandir}/cs/man1/weechat-headless.1.gz +%{_mandir}/cs/man1/weechat.1.gz +%{_mandir}/de/man1/weechat-headless.1.gz +%{_mandir}/de/man1/weechat.1.gz +%{_mandir}/fr/man1/weechat-headless.1.gz +%{_mandir}/fr/man1/weechat.1.gz +%{_mandir}/it/man1/weechat-headless.1.gz +%{_mandir}/it/man1/weechat.1.gz +%{_mandir}/ja/man1/weechat-headless.1.gz +%{_mandir}/ja/man1/weechat.1.gz +%{_mandir}/man1/weechat-headless.1.gz +%{_mandir}/man1/weechat.1.gz +%{_mandir}/pl/man1/weechat-headless.1.gz +%{_mandir}/pl/man1/weechat.1.gz +%{_mandir}/ru/man1/weechat-headless.1.gz +%{_mandir}/ru/man1/weechat.1.gz + +%changelog +* Tue Sep 1 2020 co - 2.6-1 +- init