Compare commits
27 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eb6e6a7a7 |
||
|
|
243fbd37ec |
||
|
|
54f568197d |
||
|
|
3dc8cbea62 |
||
|
|
0abe07df71 |
||
|
|
80b82e8b1e |
||
|
|
4411562d30 |
||
|
|
fb0d4652a2 |
||
|
|
b081ff397b |
||
|
|
fb0594db1b |
||
|
|
5f90452c51 |
||
|
|
0e274fa550 |
||
|
|
e9c7e24dc7 |
||
|
|
f19dbdee15 |
||
|
|
74e9fd5199 |
||
|
|
7952962bc0 |
||
|
|
c42c7f761a |
||
|
|
1ad5dcb0e5 |
||
|
|
42b1d5567e |
||
|
|
4ef1e94a38 |
||
|
|
b6dda21653 |
||
|
|
d497d56573 | ||
|
|
4a35a60c98 | ||
|
|
cb8827e43e | ||
|
|
0551a8fb90 | ||
|
|
825059c4bf | ||
|
|
0316133846 |
2 changed files with 68 additions and 14 deletions
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (weechat-4.10.0.tar.xz) = bba7597bbc83ffe6a4bf59dfbdb03d622a1f0c023bc27f1d417610e2ab84dea7ca68e03b0a6de276464bc35e69ff8b733de3f965142938423db978a2abdf98ae
|
||||
SHA512 (weechat-4.10.0.tar.xz.asc) = 8a8dd8e18e3a27c785b54c2ad573e494d1d49b9f98268e208e34767b4ef702c045c4723ddf03527c33088aa81778cddab02a9b8ded3c8fb33cdad72484b44717
|
||||
SHA512 (weechat-4.4.3.tar.xz) = 32df8d6021ed63d11646127920197a1f80dfbbec0cdf4e9a282fc789fcd1c270082806c237ab16ebd0c07a94c6d40bc22432211feac638623d6f2a0a59606dcc
|
||||
SHA512 (weechat-4.4.3.tar.xz.asc) = 5097b0b7d97aac926c72057d51a4ea125ad0edcf7159d275b20ec484127c49d0b58b61fa71a91ce954f87dca47651084243f5440aaee5be315af3376e2b7ef1a
|
||||
|
|
|
|||
78
weechat.spec
78
weechat.spec
|
|
@ -1,7 +1,35 @@
|
|||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%bcond_without check
|
||||
%else
|
||||
# no cpputest in EL7
|
||||
%bcond_with check
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} < 8
|
||||
%bcond_without docs
|
||||
%else
|
||||
# TODO: package rubygem-asciidoctor
|
||||
%bcond_with docs
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} && 0%{?rhel} < 9
|
||||
%undefine __cmake_in_source_build
|
||||
%endif
|
||||
%global __provides_exclude_from ^%{_libdir}/weechat/plugins/.*$
|
||||
|
||||
%if %{?_pkgdocdir:1}0
|
||||
%if 0%{?rhel}
|
||||
%global _doc %{name}-%{version}
|
||||
%else
|
||||
%global _doc %{name}
|
||||
%endif
|
||||
%else
|
||||
%global _doc %{name}-%{version}
|
||||
%global _pkgdocdir %{_docdir}/%{_doc}
|
||||
%endif
|
||||
|
||||
Name: weechat
|
||||
Version: 4.10.0
|
||||
Version: 4.4.3
|
||||
Release: %autorelease
|
||||
Summary: Portable, fast, light and extensible IRC client
|
||||
Group: Applications/Communications
|
||||
|
|
@ -12,33 +40,44 @@ Source: https://weechat.org/files/src/%{name}-%{version}.tar.xz
|
|||
Source1: https://weechat.org/files/src/%{name}-%{version}.tar.xz.asc
|
||||
Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8
|
||||
|
||||
BuildRequires: gcc
|
||||
%if %{with check}
|
||||
BuildRequires: cpputest-devel
|
||||
BuildRequires: glibc-langpack-en
|
||||
%endif
|
||||
%if %{with docs}
|
||||
BuildRequires: asciidoctor
|
||||
%endif
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: cjson-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cpputest-devel
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: enchant2-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: enchant-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: glibc-langpack-en
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: gnutls-devel
|
||||
%if 0%{?fedora} >= 35 || 0%{?rhel} > 8
|
||||
BuildRequires: guile30-devel
|
||||
%else
|
||||
BuildRequires: guile-devel
|
||||
%endif
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: lua-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: ruby
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: source-highlight
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: cmake3
|
||||
%endif
|
||||
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
|
|
@ -63,29 +102,42 @@ This package contains include files and pc file for weechat.
|
|||
%prep
|
||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
find doc/ -type f -name 'CMakeLists.txt' \
|
||||
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
|
||||
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
%cmake3 \
|
||||
-DPREFIX=%{_prefix} \
|
||||
-DLIBDIR=%{_libdir} \
|
||||
-DENABLE_ENCHANT=ON \
|
||||
-DENABLE_PHP=OFF \
|
||||
%if %{with check}
|
||||
-DENABLE_TESTS=ON \
|
||||
%else
|
||||
-DENABLE_TESTS=OFF \
|
||||
%endif
|
||||
%if %{with docs}
|
||||
-DENABLE_DOC=ON \
|
||||
-DENABLE_DOC_INCOMPLETE=ON \
|
||||
-DENABLE_MAN=ON \
|
||||
%else
|
||||
-DENABLE_DOC=OFF \
|
||||
-DENABLE_MAN=OFF \
|
||||
%endif
|
||||
%{nil}
|
||||
%cmake_build
|
||||
%cmake3_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%cmake3_install
|
||||
|
||||
%find_lang %name
|
||||
|
||||
|
||||
%check
|
||||
%ctest --verbose
|
||||
%if %{with check}
|
||||
%ctest3 -- -V
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
|
|
@ -103,11 +155,13 @@ This package contains include files and pc file for weechat.
|
|||
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/512x512/apps/%{name}.png
|
||||
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
||||
%if 0%{?fedora} || 0%{?rhel} < 8
|
||||
%{_pkgdocdir}/weechat_*.html
|
||||
%{_mandir}/man1/weechat.1*
|
||||
%{_mandir}/*/man1/weechat.1*
|
||||
%{_mandir}/man1/%{name}-headless.1*
|
||||
%{_mandir}/*/man1/%{name}-headless.1*
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/%{name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue