public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Christian Dersch <lupinix@mailbox.org>
To: git-commits@fedoraproject.org
Subject: [rpms/quassel] epel10.3: migrate to Qt5, spec fixes
Date: Wed, 07 Oct 2026 20:29:17 GMT [thread overview]
Message-ID: <179140495757.1.2171694691769411686.rpms-quassel-35a36782c775@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/quassel
Branch : epel10.3
Commit : 35a36782c77534344e7e8689f8e76e15e4bcf493
Author : Christian Dersch <lupinix@mailbox.org>
Date : 2016-04-23T22:34:03+02:00
Stats : +51/-47 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/quassel/c/35a36782c77534344e7e8689f8e76e15e4bcf493?branch=epel10.3
Log:
migrate to Qt5, spec fixes
---
diff --git a/quassel.spec b/quassel.spec
index 46bab3d..ef19953 100755
--- a/quassel.spec
+++ b/quassel.spec
@@ -4,21 +4,32 @@
Name: quassel
Summary: A modern distributed IRC system
Version: 0.12.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2 or GPLv3
-Group: Applications/Internet
URL: http://quassel-irc.org/
Source0: http://quassel-irc.org/pub/quassel-%{version}.tar.bz2
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Buildrequires: cmake
+BuildRequires: dbusmenu-qt5-devel
BuildRequires: desktop-file-utils
-buildRequires: kdebase-workspace-devel
-BuildRequires: kde-filesystem
+BuildRequires: extra-cmake-modules
+BuildRequires: kf5-kconfigwidgets-devel
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-knotifications-devel
+BuildRequires: kf5-knotifyconfig-devel
+BuildRequires: kf5-ktextwidgets-devel
+BuildRequires: kf5-kwidgetsaddons-devel
+BuildRequires: kf5-kwindowsystem-devel
+BuildRequires: kf5-kxmlgui-devel
+BuildRequires: kf5-rpm-macros
BuildRequires: openssl-devel
-BuildRequires: qt4-devel
-BuildRequires: qt4-webkit-devel
+BuildRequires: phonon-qt5-devel
+BuildRequires: qca-qt5-devel
+BuildRequires: qt5-linguist
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtscript-devel
+BuildRequires: qt5-qtwebkit-devel
BuildRequires: systemd
BuildRequires: firewalld-filesystem
@@ -45,21 +56,19 @@ text-based IRC client such as WeeChat, but graphical
%package common
Summary: Quassel common/shared files
-Group: Applications/Internet
# not strictly required, but helps this get pulled out when
# someone removes %%name or %%name-client
Requires: %{name}-gui = %{version}-%{release}
# put here for convenience, instead of all subpkgs which
# provide %%{name}-gui
-%{?_kde4_version:Requires: kdelibs4 >= %{_kde4_version}}
-%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
+#%{?_kde4_version:Requires: kdelibs4 >= %{_kde4_version}}
+#%{?_qt4_version:Requires: qt4 >= %{_qt4_version}}
BuildArch: noarch
%description common
%{summary}.
%package core
Summary: Quassel core component
-Group: Applications/Internet
# Required for the quassel user.
Requires(pre): shadow-utils
@@ -73,7 +82,6 @@ server, and allows for multiple clients to connect
%package client
Summary: Quassel client
-Group: Applications/Internet
Provides: %{name}-gui = %{version}-%{release}
Requires: %{name}-common = %{version}-%{release}
%description client
@@ -86,48 +94,43 @@ Quassel client
%build
mkdir build
pushd build
-%{cmake_kde4} .. -DWANT_MONO=1 -DWITH_KDE=1
+%{cmake_kf5} .. -DWANT_MONO=1 -DUSE_QT5=1 -DWITH_KDE=1
popd
make %{?_smp_mflags} -C build
%install
-rm -rf $RPM_BUILD_ROOT
-
-make install/fast DESTDIR=${RPM_BUILD_ROOT} -C build
+make install/fast DESTDIR=%{buildroot} -C build
# unpackaged files
-rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/quassel.png
+rm -f %{buildroot}/%{_datadir}/pixmaps/quassel.png
# Install quassel.conf for systemd file
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
-install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/
+mkdir -p %{buildroot}/%{_sysconfdir}
+install -m 0644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/
# Install systemd service file
-install -d -m 0755 $RPM_BUILD_ROOT%{_unitdir}
-install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/
+install -d -m 0755 %{buildroot}/%{_unitdir}
+install -p -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/
# Install firewalld service definition
-install -d -m 0755 $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
-install -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_prefix}/lib/firewalld/services/
+install -d -m 0755 %{buildroot}/%{_prefix}/lib/firewalld/services/
+install -p -m 0644 %{SOURCE3} %{buildroot}/%{_prefix}/lib/firewalld/services/
# Home directory for quassel user
-install -d -m 0750 $RPM_BUILD_ROOT%{quassel_data_dir}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -d -m 0750 %{buildroot}/%{quassel_data_dir}
%post common
-touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || :
+touch --no-create %{_kf5_iconsdir}/hicolor &> /dev/null || :
%postun common
if [ $1 -eq 0 ] ; then
- touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null
- gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+ touch --no-create %{_kf5_iconsdir}/hicolor &> /dev/null
+ gtk-update-icon-cache %{_kf5_iconsdir}/hicolor &> /dev/null || :
fi
%posttrans common
-gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
+gtk-update-icon-cache %{_kf5_iconsdir}/hicolor &> /dev/null || :
# Core pre/post macros.
@@ -151,34 +154,35 @@ exit 0
%systemd_postun_with_restart quasselcore.service
%files
-%defattr(-,root,root,-)
-%{_kde4_bindir}/quassel
-%{_kde4_datadir}/applications/kde4/quassel.desktop
+%{_kf5_bindir}/quassel
+%{_kf5_datadir}/applications/quassel.desktop
%files common
-%defattr(-,root,root,-)
-%doc COPYING README
-%doc gpl-2.0.txt gpl-3.0.txt
-%{_kde4_appsdir}/quassel/
-%{_kde4_iconsdir}/hicolor/*/*/*
+%doc README
+%license COPYING gpl-2.0.txt gpl-3.0.txt
+%{_kf5_datadir}/knotifications5/quassel.notifyrc
+%{_kf5_datadir}/quassel/
+%{_kf5_datadir}/icons/hicolor/*/*/*
%files core
-%defattr(-,root,root,-)
-%doc COPYING README
-%doc gpl-2.0.txt gpl-3.0.txt
-%{_kde4_bindir}/quasselcore
+%doc README
+%license COPYING gpl-2.0.txt gpl-3.0.txt
+%{_kf5_bindir}/quasselcore
%dir %attr(-,quassel,quassel) %{quassel_data_dir}
%{_unitdir}/quasselcore.service
%config(noreplace) %{_sysconfdir}/quassel.conf
%{_prefix}/lib/firewalld/services/quassel.xml
%files client
-%defattr(-,root,root,-)
-%{_kde4_bindir}/quasselclient
-%{_kde4_datadir}/applications/kde4/quasselclient.desktop
+%{_kf5_bindir}/quasselclient
+%{_kf5_datadir}/applications/quasselclient.desktop
%changelog
+* Sat Apr 23 2016 Christian Dersch <lupinix@mailbox.org> - 0.12.3-5
+- migrated to Qt5
+- modernized spec
+
* Mon Mar 21 2016 Ben Rosser <rosser.bjr@gmail.com> 0.12.3-4
- Use attr macro instead of chown to install quassel user homedir, that's much safer
- BuildRequires firewalld-filesystem, so the post script actually works, whoops
@@ -305,7 +309,7 @@ exit 0
* Fri Apr 24 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.4.1-1
- New upstream release
-* Tue Apr 13 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.4.0-2
+* Tue Apr 14 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.4.0-2
- Enabled KDE integration
* Fri Feb 20 2009 Steven M. Parirsh <tuxbrewr@fedoraproject.org> 0.4.0-1
reply other threads:[~2026-10-07 20:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179140495757.1.2171694691769411686.rpms-quassel-35a36782c775@fedoraproject.org \
--to=lupinix@mailbox.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox