Compare commits

..

27 commits

Author SHA1 Message Date
LuK1337
1eb6e6a7a7
Update to 4.4.3 2024-10-30 13:52:07 +01:00
LuK1337
243fbd37ec
Update to 4.4.2 2024-09-08 14:56:15 +02:00
LuK1337
54f568197d
Update to 4.4.1 2024-08-19 21:56:36 +02:00
LuK1337
3dc8cbea62
Remove autogenerated license comment 2024-08-02 15:54:03 +02:00
LuK1337
0abe07df71
Fix guile30-devel build guard
It's only available as of Fedora 35.
2024-08-02 15:54:03 +02:00
Peter Robinson
80b82e8b1e
Build against guile 3.0 2024-08-02 15:54:03 +02:00
Miroslav Suchý
4411562d30
convert GPLv3 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-02 15:54:03 +02:00
Fedora Release Engineering
fb0d4652a2
Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-08-02 15:54:02 +02:00
LuK1337
b081ff397b
Update to 4.3.5 2024-07-17 02:24:20 +02:00
LuK1337
fb0594db1b
Update to 4.3.4 2024-07-03 23:01:38 +02:00
LuK1337
5f90452c51
Verify source code with GPG 2024-06-22 23:10:44 +02:00
LuK1337
0e274fa550
Use https for source URL 2024-06-22 23:10:44 +02:00
LuK1337
e9c7e24dc7
Update to 4.3.3 2024-06-22 12:00:22 +02:00
LuK1337
f19dbdee15
Cherry-pick #2132 from upstream
Fixes tests in fedora-41-aarch64 chroot environment.
2024-06-08 10:01:37 +02:00
LuK1337
74e9fd5199
Update to 4.3.2 2024-06-08 10:01:37 +02:00
LuK1337
7952962bc0
Update to 4.3.1 2024-06-08 10:01:37 +02:00
LuK1337
c42c7f761a
Replace local -fPIC patch with an upstrem equivalent 2024-05-28 16:52:40 +02:00
LuK1337
1ad5dcb0e5
Remove unnecessary cmake option
Has been removed since v3.2-rc1.
2024-05-28 16:52:40 +02:00
LuK1337
42b1d5567e
Fix i386 build 2024-05-26 16:01:08 +02:00
LuK1337
4ef1e94a38
Update to 4.3.0 2024-05-26 14:26:14 +02:00
LuK1337
b6dda21653
Update to 4.2.2 2024-04-08 20:02:41 +02:00
LuK1337
d497d56573 Update to 4.2.1 2024-01-22 19:34:02 +01:00
LuK1337
4a35a60c98 Update to 4.1.2 2023-12-04 15:59:01 +01:00
LuK1337
cb8827e43e Update to 4.1.1 2023-10-27 19:53:38 +02:00
LuK1337
0551a8fb90 Update to 4.1.0
* Reenable tests on s390x, because those work now since
  https://github.com/weechat/weechat/pull/2021
* Remove unnecessary cmake/FindPython.cmake edit
* Unset ENABLE_JAVASCRIPT (and remove v8-devel dependency) since it's
  off by default
2023-10-15 23:58:53 +02:00
LuK1337
825059c4bf Update to 4.0.5 2023-09-24 18:52:09 +02:00
LuK1337
0316133846 Revert "Reenable PHP plugins support"
Looks like php-embed is not working properly at the moment.

This reverts commit 1465126ece.
2023-08-24 14:44:16 +02:00
2 changed files with 68 additions and 14 deletions

View file

@ -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

View file

@ -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}