public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/lterm] rawhide: spec cleanup and modernization
Date: Tue, 09 Jun 2026 03:29:29 GMT [thread overview]
Message-ID: <178097576948.1.417884070706915496.rpms-lterm-b402a44b7ca8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/lterm
Branch : rawhide
Commit : b402a44b7ca8c768c6673e233280106f0485ae18
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-06-09T00:19:51-03:00
Stats : +27/-16 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/lterm/c/b402a44b7ca8c768c6673e233280106f0485ae18?branch=rawhide
Log:
spec cleanup and modernization
---
diff --git a/.gitignore b/.gitignore
index c4a8d8b..7c7cb13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/lterm-1.5.1.tar.gz
+/lterm-*.tar.gz
diff --git a/lterm.spec b/lterm.spec
index f6816e5..35294fb 100644
--- a/lterm.spec
+++ b/lterm.spec
@@ -1,22 +1,23 @@
-%define _legacy_common_support 1
+%global _legacy_common_support 1
Name: lterm
Version: 1.5.1
-Release: 23%{?dist}
+Release: 24%{?dist}
Summary: Terminal and multi protocol client
# Automatically converted from old format: GPLv2 - review is highly recommended.
License: GPL-2.0-only
URL: http://%{name}.sourceforge.net/
-Source0: https://sourceforge.net/projects/%{name}/files/1.5/%{name}-%{version}.tar.gz
-Patch0: lterm-c99.patch
-Patch1: lterm-c99-2.patch
-Patch2: lterm-c99-3.patch
-Patch3: lterm-c99-4.patch
-Patch4: lterm-c99-5.patch
-Patch5: lterm-c99-6.patch
-Patch6: lterm-c99-7.patch
-Patch7: lterm-c99-8.patch
-Patch8: lterm-c99-9.patch
+Source: https://sourceforge.net/projects/%{name}/files/1.5/%{name}-%{version}.tar.gz
+
+Patch: lterm-c99.patch
+Patch: lterm-c99-2.patch
+Patch: lterm-c99-3.patch
+Patch: lterm-c99-4.patch
+Patch: lterm-c99-5.patch
+Patch: lterm-c99-6.patch
+Patch: lterm-c99-7.patch
+Patch: lterm-c99-8.patch
+Patch: lterm-c99-9.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -24,8 +25,8 @@ BuildRequires: gtk2-devel
BuildRequires: vte-devel
BuildRequires: openssl-devel
BuildRequires: libssh-devel
-BuildRequires: desktop-file-utils
-BuildRequires: make
+BuildRequires: desktop-file-utils
+BuildRequires: make
%description
It is mainly used as SSH/Telnet client
@@ -36,6 +37,7 @@ It is mainly used as SSH/Telnet client
%build
export CFLAGS="${CFLAGS} -std=gnu99"
%configure --with-gtk2
+%make_build
%install
%make_install
@@ -46,16 +48,25 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
+# Remove mime database files generated by update-mime-database during make install.
+# Fedora's shared-mime-info file triggers will regenerate the database on the target system.
+rm -rf %{buildroot}%{_datadir}/mime/{XMLnamespaces,aliases,generic-icons,globs,globs2,icons,magic,mime.cache,subclasses,treemagic,types,version,application}
+
+%check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%license COPYING
%doc README TODO
%{_bindir}/%{name}
%{_datadir}/%{name}/
-%{_datadir}/mime/*
+%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/applications/%{name}.desktop
%changelog
+* Tue Jun 09 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.5.1-24
+- spec cleanup and modernization
+
* Mon Feb 23 2026 Filipe Rosset <rosset.filipe@gmail.com> - 1.5.1-23
- Fix FTBFS rhbz#2434799
reply other threads:[~2026-06-09 3: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=178097576948.1.417884070706915496.rpms-lterm-b402a44b7ca8@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--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