|
|
|
@ -1,30 +1,50 @@
|
|
|
|
|
%if 0%{?rhel} < 10
|
|
|
|
|
%bcond_without otr
|
|
|
|
|
%else
|
|
|
|
|
%bcond_with otr
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
|
|
|
|
|
|
|
|
|
Summary: Modular text mode IRC client with Perl scripting
|
|
|
|
|
Name: irssi
|
|
|
|
|
Version: 1.2.2
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
Version: 1.4.5
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
License: gpl-2.0-or-later AND gpl-2.0-only AND gfdl-1.1-or-later AND licenseref-fedora-public-domain AND hpnd-markus-kuhn
|
|
|
|
|
URL: http://irssi.org/
|
|
|
|
|
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: irssi-config.h
|
|
|
|
|
BuildRequires: ncurses-devel openssl-devel zlib-devel
|
|
|
|
|
BuildRequires: pkgconfig glib2-devel perl-devel perl-generators perl(ExtUtils::Embed)
|
|
|
|
|
BuildRequires: autoconf automake libtool utf8proc-devel libotr-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Source1: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
|
|
|
|
Source2: gpgkey-7EE65E3082A5FB06AC7C368D00CCB587DDBEF0E1.asc
|
|
|
|
|
Source3: irssi-config.h
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: pkgconf-pkg-config
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::Embed)
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: utf8proc-devel
|
|
|
|
|
%if %{with otr}
|
|
|
|
|
BuildRequires: libotr-devel
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Requires: perl(lib)
|
|
|
|
|
Requires: perl(Symbol)
|
|
|
|
|
|
|
|
|
|
# rhbz#1773190
|
|
|
|
|
Obsoletes: irc-otr
|
|
|
|
|
# https://github.com/irssi/irssi/pull/1183
|
|
|
|
|
Patch: irssi-1.2.2-ctrl-space-fix.patch
|
|
|
|
|
# https://github.com/irssi/irssi/issues/1374
|
|
|
|
|
Patch0: irssi-1.4.1-botti-perl-link-fix.patch
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development package for irssi
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconf-pkg-config
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Irssi is a modular IRC client with Perl scripting. Only text-mode
|
|
|
|
@ -40,39 +60,38 @@ being maintained.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .ctrl-space-fix
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -i
|
|
|
|
|
autoreconf -fi
|
|
|
|
|
%configure --with-textui \
|
|
|
|
|
--with-proxy \
|
|
|
|
|
--with-bot \
|
|
|
|
|
--with-perl=yes \
|
|
|
|
|
--with-perl=module \
|
|
|
|
|
--with-perl-lib=vendor \
|
|
|
|
|
--enable-true-color \
|
|
|
|
|
--with-otr=yes
|
|
|
|
|
%{?with_otr:--with-otr=yes} \
|
|
|
|
|
%{!?with_otr:--with-otr=no}
|
|
|
|
|
|
|
|
|
|
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
|
mv irssi-config.h irssi-config-$(getconf LONG_BIT).h
|
|
|
|
|
cp -p %{SOURCE1} irssi-config.h
|
|
|
|
|
cp -p %{SOURCE3} irssi-config.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%makeinstall PERL_INSTALL_ROOT=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
|
|
|
|
%make_install
|
|
|
|
|
install -p irssi-config-$(getconf LONG_BIT).h $RPM_BUILD_ROOT%{_includedir}/%{name}/irssi-config-$(getconf LONG_BIT).h
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/lib*.*a
|
|
|
|
|
rm -Rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
|
|
|
|
|
find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name '*.bs' -a -empty -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -a -name .packlist -exec rm {} ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc docs/*.txt docs/*.html AUTHORS COPYING NEWS README.md TODO
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
|
|
|
@ -87,22 +106,79 @@ chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/irssi/
|
|
|
|
|
%{_libdir}/pkgconfig/irssi-1.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-12
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.4.5-5
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4.5-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 1.4.5-3
|
|
|
|
|
- Converted license to SPDX
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 1.4.5-1
|
|
|
|
|
- New version
|
|
|
|
|
Resolves: rhbz#2241891
|
|
|
|
|
|
|
|
|
|
* Thu Aug 18 2023 Boudhayan Bhattacharya <bbhtt.zn0i8@slmail.me> - 1.4.4-5
|
|
|
|
|
- Add irssi perl-ntype patch for perl>=5.38
|
|
|
|
|
Resolves rhbz#2232750
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.4-3
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Todd Zullinger <tmz@pobox.com> - 1.4.4-2
|
|
|
|
|
- verify upstream source signature
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Kalev Lember <klember@redhat.com> - 1.4.4-1
|
|
|
|
|
- Update to 1.4.4
|
|
|
|
|
|
|
|
|
|
* Thu Mar 2 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 1.4.3-3
|
|
|
|
|
- Added libotr conditionals for RHEL
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Oct 31 2022 Kalev Lember <klember@redhat.com> - 1.4.3-1
|
|
|
|
|
- Update to 1.4.3
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 17 2022 Kalev Lember <klember@redhat.com> - 1.4.2-1
|
|
|
|
|
- Update to 1.4.2
|
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 1.4.1-1
|
|
|
|
|
- New version
|
|
|
|
|
Resolves: rhbz#2095992
|
|
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.3-6
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.2.3-4
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
* Wed Jul 28 2021 Florian Weimer <fweimer@redhat.com> - 1.2.2-11
|
|
|
|
|
- Rebuild to pick up OpenSSL 3.0 Beta ABI (#1984097)
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-10
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.3-2
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.2-9
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Sun Apr 11 2021 Kalev Lember <klember@redhat.com> - 1.2.3-1
|
|
|
|
|
- Update to 1.2.3
|
|
|
|
|
- Drop old irc-otr obsoletes
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -402,7 +478,7 @@ chmod -R u+w $RPM_BUILD_ROOT%{perl_vendorarch}
|
|
|
|
|
- Release bump
|
|
|
|
|
|
|
|
|
|
* Sun Sep 17 2006 Dams <anvil[AT]livna.org> - 0.8.10-6.a
|
|
|
|
|
- Bumped release
|
|
|
|
|
- Bumped release
|
|
|
|
|
|
|
|
|
|
* Sun Sep 17 2006 Dams <anvil[AT]livna.org> - 0.8.10-5.a
|
|
|
|
|
- Updated to 0.8.10a
|
|
|
|
|