Compare commits
76 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
626f673e8d |
||
|
|
7b3122737c |
||
|
|
d9be79b453 | ||
|
|
7c0dce3d64 | ||
|
|
65d9493e21 | ||
|
|
c92b4c02c2 |
||
|
|
3345c1effa | ||
|
|
7b9ea9886c |
||
|
|
0959b32972 |
||
|
|
0d98fd8362 | ||
|
|
f022dee127 |
||
|
|
ba0dc67367 |
||
|
|
656a588795 |
||
|
|
83c238c317 |
||
|
|
d6f132c881 | ||
| 3672ba3b51 | |||
|
|
8d129f91cc |
||
|
|
979b564bc3 |
||
|
|
c71d759f2a |
||
|
|
755eb84966 |
||
|
|
6a2e2cbebc | ||
|
|
2dd1425631 |
||
|
|
ece8498317 | ||
|
|
c085568ef0 | ||
|
|
dd870bc995 |
||
|
|
2c21d68f48 |
||
|
|
5a8625ca7e |
||
|
|
313ca390c4 |
||
|
|
9d9eaacd1b |
||
|
|
5405b82ade |
||
|
|
05f2564cc5 | ||
| fb7bf368f6 | |||
|
|
d76f31c399 |
||
|
|
608cec8d10 |
||
|
|
93fb4d2f56 |
||
|
|
ad8db69a91 |
||
|
|
39c21a6c97 |
||
|
|
fcde101efd |
||
|
|
c45e579cff |
||
|
|
aee96642ad |
||
|
|
cdb39906f1 |
||
|
|
5a255adb11 |
||
|
|
7ba867d893 |
||
|
|
1a5df1bb3c |
||
|
|
a57df78225 |
||
|
|
05ce0675ef |
||
|
|
d143639445 |
||
|
|
b542f8a6f9 |
||
|
|
9891fae0a1 |
||
|
|
33d334710c | ||
|
|
69f6e36555 | ||
|
|
0f14e1b4cc | ||
|
|
83ecf2238c |
||
|
|
29cd67e21b |
||
|
|
b43efb79fa |
||
|
|
053b24483d |
||
|
|
4f720c1ff4 |
||
|
|
635a8d9d48 | ||
|
|
2693d84853 | ||
|
|
f57538105b |
||
|
|
0d87425e85 | ||
|
|
187e2f1f78 |
||
|
|
a92676098e |
||
|
|
a96ee958e3 |
||
|
|
03ad5a98b6 |
||
|
|
fd5abe9290 |
||
|
|
5473dfe70a |
||
|
|
578fee31b6 |
||
|
|
692b7c2dff | ||
|
|
6d09b4a005 | ||
| f7ef6c761e | |||
|
|
9c9bcd7844 | ||
|
|
c4f0b62181 | ||
|
|
b231cc7442 | ||
|
|
96405f014a | ||
|
|
2c450d8b63 |
2 changed files with 14 additions and 68 deletions
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
SHA512 (weechat-4.4.3.tar.xz) = 32df8d6021ed63d11646127920197a1f80dfbbec0cdf4e9a282fc789fcd1c270082806c237ab16ebd0c07a94c6d40bc22432211feac638623d6f2a0a59606dcc
|
||||
SHA512 (weechat-4.4.3.tar.xz.asc) = 5097b0b7d97aac926c72057d51a4ea125ad0edcf7159d275b20ec484127c49d0b58b61fa71a91ce954f87dca47651084243f5440aaee5be315af3376e2b7ef1a
|
||||
SHA512 (weechat-4.10.0.tar.xz) = bba7597bbc83ffe6a4bf59dfbdb03d622a1f0c023bc27f1d417610e2ab84dea7ca68e03b0a6de276464bc35e69ff8b733de3f965142938423db978a2abdf98ae
|
||||
SHA512 (weechat-4.10.0.tar.xz.asc) = 8a8dd8e18e3a27c785b54c2ad573e494d1d49b9f98268e208e34767b4ef702c045c4723ddf03527c33088aa81778cddab02a9b8ded3c8fb33cdad72484b44717
|
||||
|
|
|
|||
78
weechat.spec
78
weechat.spec
|
|
@ -1,35 +1,7 @@
|
|||
%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.4.3
|
||||
Version: 4.10.0
|
||||
Release: %autorelease
|
||||
Summary: Portable, fast, light and extensible IRC client
|
||||
Group: Applications/Communications
|
||||
|
|
@ -40,44 +12,33 @@ 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: enchant-devel
|
||||
BuildRequires: enchant2-devel
|
||||
BuildRequires: gcc
|
||||
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-ExtUtils-Embed
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-ExtUtils-Embed
|
||||
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
|
||||
|
||||
|
|
@ -102,42 +63,29 @@ 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
|
||||
%cmake3 \
|
||||
-DPREFIX=%{_prefix} \
|
||||
%cmake \
|
||||
-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}
|
||||
%cmake3_build
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake3_install
|
||||
%cmake_install
|
||||
|
||||
%find_lang %name
|
||||
|
||||
|
||||
%if %{with check}
|
||||
%ctest3 -- -V
|
||||
%endif
|
||||
%check
|
||||
%ctest --verbose
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
|
|
@ -155,13 +103,11 @@ find doc/ -type f -name 'CMakeLists.txt' \
|
|||
%{_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