Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
45c9de90a0 | ||
|
|
19c2466b49 | ||
|
|
4275d9696f | ||
|
|
8c674f3e8a | ||
|
|
a863101d73 |
2 changed files with 4 additions and 19 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (weechat-4.0.4.tar.xz) = ddd150dad253cf4d9bc96122d2d3951c696b19f796a7cbf159edc258d4b18f1b2544b7b62362e7b59d6b3ff3e756de3ce4aaff83b02d3fe2d1cb614162965efd
|
SHA512 (weechat-4.1.2.tar.xz) = 9df8b43a7210f06cece1d28fcf8559885a0d5590b5691f63205b215417f132e4d74f4af18b572daae2679d5cf574b61538a7067e03087be10e831fee4f55e115
|
||||||
|
|
|
||||||
21
weechat.spec
21
weechat.spec
|
|
@ -1,11 +1,6 @@
|
||||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
%ifnarch s390x
|
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
%else
|
%else
|
||||||
# some tests fail on s390x
|
|
||||||
%bcond_with check
|
|
||||||
%endif
|
|
||||||
%else
|
|
||||||
# no cpputest in EL7
|
# no cpputest in EL7
|
||||||
%bcond_with check
|
%bcond_with check
|
||||||
%endif
|
%endif
|
||||||
|
|
@ -34,7 +29,7 @@
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: weechat
|
Name: weechat
|
||||||
Version: 4.0.4
|
Version: 4.1.2
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Portable, fast, light and extensible IRC client
|
Summary: Portable, fast, light and extensible IRC client
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
|
|
@ -74,8 +69,6 @@ BuildRequires: lua-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: perl-ExtUtils-Embed
|
BuildRequires: perl-ExtUtils-Embed
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: php-embedded
|
|
||||||
BuildRequires: php-devel
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: ruby
|
BuildRequires: ruby
|
||||||
|
|
@ -83,13 +76,6 @@ BuildRequires: ruby-devel
|
||||||
BuildRequires: source-highlight
|
BuildRequires: source-highlight
|
||||||
BuildRequires: tcl-devel
|
BuildRequires: tcl-devel
|
||||||
BuildRequires: libzstd-devel
|
BuildRequires: libzstd-devel
|
||||||
%ifarch %{ix86} x86_64 %{arm}
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1338728
|
|
||||||
# https://github.com/weechat/weechat/issues/360
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} < 8
|
|
||||||
BuildRequires: v8-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
BuildRequires: cmake3
|
BuildRequires: cmake3
|
||||||
|
|
@ -120,14 +106,13 @@ This package contains include files and pc file for weechat.
|
||||||
find doc/ -type f -name 'CMakeLists.txt' \
|
find doc/ -type f -name 'CMakeLists.txt' \
|
||||||
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
|
-exec sed -i -e 's#${PROJECT_NAME}#%{_doc}#g' '{}' \;
|
||||||
|
|
||||||
sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_version}/' cmake/FindPython.cmake
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake3 \
|
%cmake3 \
|
||||||
-DPREFIX=%{_prefix} \
|
-DPREFIX=%{_prefix} \
|
||||||
-DLIBDIR=%{_libdir} \
|
-DLIBDIR=%{_libdir} \
|
||||||
-DENABLE_ENCHANT=ON \
|
-DENABLE_ENCHANT=ON \
|
||||||
|
-DENABLE_PHP=OFF \
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
-DENABLE_TESTS=ON \
|
-DENABLE_TESTS=ON \
|
||||||
%else
|
%else
|
||||||
|
|
@ -135,12 +120,12 @@ sed -i 's/NAMES python3.7/NAMES python%{python3_version}m python%{python3_versio
|
||||||
%endif
|
%endif
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
-DENABLE_DOC=ON \
|
-DENABLE_DOC=ON \
|
||||||
|
-DENABLE_DOC_INCOMPLETE=ON \
|
||||||
-DENABLE_MAN=ON \
|
-DENABLE_MAN=ON \
|
||||||
%else
|
%else
|
||||||
-DENABLE_DOC=OFF \
|
-DENABLE_DOC=OFF \
|
||||||
-DENABLE_MAN=OFF \
|
-DENABLE_MAN=OFF \
|
||||||
%endif
|
%endif
|
||||||
-DENABLE_JAVASCRIPT=OFF \
|
|
||||||
-DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \
|
-DCA_FILE=/etc/pki/tls/certs/ca-bundle.crt \
|
||||||
%{nil}
|
%{nil}
|
||||||
%cmake3_build
|
%cmake3_build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue