Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
2345f776c1 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:08:47 +00:00
94eeb08a71 spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-15 01:07:40 -03:00
4c01087c81 opt-in to packit for rawhide
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-15 01:02:14 -03:00
cd47117aa1 simplify .gitignore file
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-06-15 01:01:54 -03:00
Filipe Rosset
0f917c197e add check session to spec file 2026-02-23 13:26:10 -03:00
3 changed files with 32 additions and 14 deletions

10
.gitignore vendored
View file

@ -1,8 +1,2 @@
/Xfce-Theme-Manager-0.1.20.tar.gz
/Xfce-Theme-Manager-0.2.3.tar.gz
/Xfce-Theme-Manager-0.2.4.tar.gz
/Xfce-Theme-Manager-0.3.3.tar.gz
/Xfce-Theme-Manager-0.3.5.tar.gz
/Xfce-Theme-Manager-0.3.6.tar.gz
/xfce-theme-manager-0.3.8.tar.gz
/Xfce-Theme-Manager-0.3.9.tar.gz
/xfce-theme-manager-*.tar.gz
/Xfce-Theme-Manager-*.tar.gz

19
.packit.yaml Normal file
View file

@ -0,0 +1,19 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: xfce-theme-manager.spec
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_committers: ['packit','all_admins']
dist_git_branches:
- fedora-rawhide

View file

@ -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 \
@ -51,9 +52,13 @@ desktop-file-install \
--set-name="Xfce Theme Manager" \
%{buildroot}/%{_datadir}/applications/%{pkgname}.desktop
%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