public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mousepad] rawhide: spec cleanup and modernization
Date: Thu, 11 Jun 2026 17:23:05 GMT [thread overview]
Message-ID: <178119858510.1.6536905000449779253.rpms-mousepad-ab27d54a1acc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mousepad
Branch : rawhide
Commit : ab27d54a1acc4b9f4f93c9a41f7e5ed4330d1c12
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-09T18:18:03-03:00
Stats : +20/-52 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mousepad/c/ab27d54a1acc4b9f4f93c9a41f7e5ed4330d1c12?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/mousepad.spec b/mousepad.spec
index 4128a9f..c4071fc 100644
--- a/mousepad.spec
+++ b/mousepad.spec
@@ -8,23 +8,22 @@ Version: 0.7.0
Release: %autorelease
Summary: Simple text editor for Xfce desktop environment
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
-URL: https://git.xfce.org/apps/mousepad/about/
-Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.xz
+URL: https://gitlab.xfce.org/apps/mousepad
+Source: https://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.xz
-BuildRequires: make
-BuildRequires: gcc
-BuildRequires: xfce4-dev-tools
-BuildRequires: gettext
-BuildRequires: meson
-BuildRequires: desktop-file-utils
-BuildRequires: gtksourceview4-devel
BuildRequires: dbus-glib-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gcc
+BuildRequires: gettext
BuildRequires: glib2-devel
-BuildRequires: libappstream-glib
BuildRequires: gspell-devel
+BuildRequires: gtksourceview4-devel
+BuildRequires: libappstream-glib
+BuildRequires: make
+BuildRequires: meson
BuildRequires: polkit-devel
+BuildRequires: xfce4-dev-tools
%if %{with xfce4kbd}
BuildRequires: libxfce4ui-devel
%endif
@@ -44,7 +43,7 @@ features:
* Complete support for UTF-8 text
* Cut/Copy/Paste and Select All text
* Search and Replace
- * Font selecton
+ * Font selection
* Word Wrap
* Character coding selection
* Auto character coding detection (UTF-8 and some codesets)
@@ -58,7 +57,6 @@ features:
%package -n libmousepad0
Summary: Mousepad plugin provider
-Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libmousepad0
@@ -67,10 +65,9 @@ A plugin provider for the Mousepad text editor
%package devel
Summary: Development files for Mousepad
-Group: Development/Libraries
Requires: libmousepad0 >= %{version}
-%Description devel
+%description devel
Development files for Mousepad plugin development
%prep
@@ -85,42 +82,13 @@ Development files for Mousepad plugin development
%find_lang %{name}
-desktop-file-install \
- --remove-category="Application" \
- --delete-original \
- --dir=%{buildroot}%{_datadir}/applications \
- %{buildroot}/%{_datadir}/applications/org.xfce.%{name}.desktop
-
-desktop-file-install \
- --remove-category="Application" \
- --delete-original \
- --dir=%{buildroot}%{_datadir}/applications \
- %{buildroot}/%{_datadir}/applications/org.xfce.%{name}-settings.desktop
-
-mkdir -p %{buildroot}%{_metainfodir}
-appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.appdata.xml
-
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
-
-%if 0%{?el7}
-%post
-update-desktop-database &> /dev/null ||:
-
-%postun
-update-desktop-database &> /dev/null ||:
-if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-fi
-
-%post -n libmousepad0 -p /sbin/ldconfig
-
-%postun -n libmousepad0 -p /sbin/ldconfig
-
-%posttrans
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-%endif
+desktop-file-edit --remove-category="Application" %{buildroot}%{_datadir}/applications/org.xfce.%{name}.desktop
+desktop-file-edit --remove-category="Application" %{buildroot}%{_datadir}/applications/org.xfce.%{name}-settings.desktop
+
+%check
+%meson_test
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml
%files -f %{name}.lang
%doc AUTHORS NEWS
@@ -135,7 +103,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_libdir}/%{name}/plugins
%files -n libmousepad0
-%{_libdir}/libmousepad.*
+%{_libdir}/libmousepad.so.*
%files devel
%{_libdir}/libmousepad.so
reply other threads:[~2026-06-11 17:23 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=178119858510.1.6536905000449779253.rpms-mousepad-ab27d54a1acc@fedoraproject.org \
--to=filiperosset@fedoraproject.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