public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xfce-theme-manager] rawhide: spec cleanup and modernization
@ 2026-06-15  4:21 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-15  4:21 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15  4:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15  4:21 [rpms/xfce-theme-manager] 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