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/xfce-theme-manager] rawhide: spec cleanup and modernization
Date: Mon, 15 Jun 2026 04:21:11 GMT	[thread overview]
Message-ID: <178149727179.1.13591218408523921742.rpms-xfce-theme-manager-94eeb08a711d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/xfce-theme-manager
            Branch : rawhide
            Commit : 94eeb08a711d8c0db2b207012ca2124ed561e28f
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-15T01:07:40-03:00
            Stats  : +10/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xfce-theme-manager/c/94eeb08a711d8c0db2b207012ca2124ed561e28f?branch=rawhide

            Log:
            spec cleanup and modernization

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/xfce-theme-manager.spec b/xfce-theme-manager.spec
index 2a105a7..5e5c07b 100644
--- a/xfce-theme-manager.spec
+++ b/xfce-theme-manager.spec
@@ -1,4 +1,3 @@
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
 
 %global pkgname Xfce-Theme-Manager
 Name:		xfce-theme-manager
@@ -17,9 +16,10 @@ BuildRequires:	gcc-c++
 BuildRequires:	make
 BuildRequires:	pkgconfig(gdk-2.0)
 BuildRequires:	pkgconfig(glib-2.0)
-BuildRequires:	pkgconfig(gtk+-3.0)
+BuildRequires:	pkgconfig(gtk+-2.0)
+BuildRequires:	pkgconfig(libxfconf-0)
+BuildRequires:	pkgconfig(xcursor)
 BuildRequires:	xfce4-dev-tools
-BuildRequires:	xfconf-devel
 
 %description
 A theme manager allowing easy configuration of themes,
@@ -33,11 +33,12 @@ window borders, controls, icons and cursors for Xfce
 #run autoreconf, not needed when upstream moves to  new automake
 autoreconf -v -f -i -I.
 %configure
-make %{?_smp_mflags} xfcethememanager_CFLAGS="%{optflags} -export-dynamic" xfcethememanager_CXXFLAGS="%{optflags} -export-dynamic -Wunused -Wunused-function -Wno-unused-result -fPIC"
+%make_build xfcethememanager_CFLAGS="%{optflags} -export-dynamic" xfcethememanager_CXXFLAGS="%{optflags} -export-dynamic -Wunused -Wunused-function -Wno-unused-result -fPIC"
 
 
 %install
-make install DESTDIR=%{buildroot} docfilesdir="%{_pkgdocdir}"
+%make_install docfilesdir="%{_pkgdocdir}"
+rm -f %{buildroot}%{_pkgdocdir}/gpl-3.0.txt
 desktop-file-install	\
 --delete-original	\
 --dir=%{buildroot}%{_datadir}/applications	\
@@ -52,10 +53,12 @@ desktop-file-install	\
 %{buildroot}/%{_datadir}/applications/%{pkgname}.desktop
 
 %check
-make check
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{pkgname}.desktop
+%make_build check
 
 %files
-%doc ChangeLog* Xfce-Theme-Manager/resources/docs/gpl-3.0.txt
+%license Xfce-Theme-Manager/resources/docs/gpl-3.0.txt
+%doc ChangeLog*
 %{_bindir}/%{name}
 %{_datadir}/applications/%{pkgname}.desktop
 %{_datadir}/pixmaps/%{name}.png

                 reply	other threads:[~2026-06-15  4:21 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=178149727179.1.13591218408523921742.rpms-xfce-theme-manager-94eeb08a711d@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