public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/weechat] epel10: Move PHP plugin to subpackage
@ 2026-09-17 14:19 LuK1337
0 siblings, 0 replies; only message in thread
From: LuK1337 @ 2026-09-17 14:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/weechat
Branch : epel10
Commit : 1fd667897e8cdefc8e863820eb3a04ca00ce93bf
Author : LuK1337 <priv.luk@gmail.com>
Date : 2026-09-17T16:13:58+02:00
Stats : +38/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/weechat/c/1fd667897e8cdefc8e863820eb3a04ca00ce93bf?branch=epel10
Log:
Move PHP plugin to subpackage
Makes it possible to swap system PHP packages. Ideally other plugins
would receive the same treatment, but not today.
---
diff --git a/weechat.spec b/weechat.spec
index 9fdac3c..24c9868 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -47,23 +47,29 @@ BuildRequires: zlib-devel
Requires: hicolor-icon-theme
-%description
+%global _description %{expand:
WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
extensible IRC client. Everything can be done with a keyboard.
-It is customizable and extensible with scripts.
+It is customizable and extensible with scripts.}
+
+%description %{_description}
%package devel
Summary: Development files for weechat
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
-%description devel
-WeeChat (Wee Enhanced Environment for Chat) is a portable, fast, light and
-extensible IRC client. Everything can be done with a keyboard.
-It is customizable and extensible with scripts.
+%description devel %{_description}
This package contains include files and pc file for weechat.
+%package php
+Summary: PHP plugin for weechat
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description php %{_description}
+
+This package provides the PHP plugin for weechat.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
@@ -104,7 +110,28 @@ This package contains include files and pc file for weechat.
%{_bindir}/%{name}-curses
%{_bindir}/%{name}
%{_bindir}/%{name}-headless
-%{_libdir}/%{name}
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/plugins
+%{_libdir}/%{name}/plugins/alias.so
+%{_libdir}/%{name}/plugins/buflist.so
+%{_libdir}/%{name}/plugins/charset.so
+%{_libdir}/%{name}/plugins/exec.so
+%{_libdir}/%{name}/plugins/fifo.so
+%{_libdir}/%{name}/plugins/fset.so
+%{_libdir}/%{name}/plugins/guile.so
+%{_libdir}/%{name}/plugins/irc.so
+%{_libdir}/%{name}/plugins/logger.so
+%{_libdir}/%{name}/plugins/lua.so
+%{_libdir}/%{name}/plugins/perl.so
+%{_libdir}/%{name}/plugins/python.so
+%{_libdir}/%{name}/plugins/relay.so
+%{_libdir}/%{name}/plugins/ruby.so
+%{_libdir}/%{name}/plugins/script.so
+%{_libdir}/%{name}/plugins/spell.so
+%{_libdir}/%{name}/plugins/tcl.so
+%{_libdir}/%{name}/plugins/trigger.so
+%{_libdir}/%{name}/plugins/typing.so
+%{_libdir}/%{name}/plugins/xfer.so
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
@@ -123,6 +150,10 @@ This package contains include files and pc file for weechat.
%{_includedir}/%{name}/weechat-plugin.h
%{_libdir}/pkgconfig/*.pc
+%ifnarch %{ix86}
+%files php
+%{_libdir}/%{name}/plugins/php.so
+%endif
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-17 14:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 14:19 [rpms/weechat] epel10: Move PHP plugin to subpackage LuK1337
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox