public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sakura] rawhide: spec cleanup and modernization
@ 2026-06-14 1:38 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-14 1:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sakura
Branch : rawhide
Commit : edb38442b6815d67342cd496260db2093004ee71
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-13T22:38:52-03:00
Stats : +10/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/sakura/c/edb38442b6815d67342cd496260db2093004ee71?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/sakura.spec b/sakura.spec
index 8dd66ea..13d66cf 100644
--- a/sakura.spec
+++ b/sakura.spec
@@ -1,6 +1,3 @@
-%global optflags %{optflags} -flto=auto
-%global build_ldflags %{build_ldflags} -flto
-
Name: sakura
Version: 3.8.9
Release: %autorelease
@@ -10,13 +7,17 @@ Summary: Terminal emulator based on GTK and VTE
License: GPL-2.0-only
URL: https://launchpad.net/sakura
Source0: https://launchpad.net/sakura/trunk/%{version}/+download/sakura-%{version}.tar.bz2
+
BuildRequires: gcc
BuildRequires: gcc-c++
+BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: pcre2-devel
+BuildRequires: perl-podlators
BuildRequires: pkgconfig(glib-2.0) >= 2.20
BuildRequires: pkgconfig(gtk+-3.0)
-BuildRequires: vte291-devel
-BuildRequires: cmake desktop-file-utils gettext /usr/bin/pod2man
-BuildRequires: pcre2-devel
+BuildRequires: pkgconfig(vte-2.91)
%description
Sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator
@@ -28,9 +29,7 @@ have a decent terminal emulator.
%autosetup
%build
-find . -type f -name CMakeCache.txt -exec rm -rf {} \;
-%cmake -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
- -DCMAKE_NM=/usr/bin/gcc-nm CMAKE_C_FLAGS="%{optflags}" -Wno-dev
+%cmake
%cmake_build
@@ -47,7 +46,8 @@ rm -rf %{buildroot}%{_datadir}/doc/
%check
-ctest .
+%ctest
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-14 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 1:38 [rpms/sakura] rawhide: spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox