Compare commits

..

No commits in common. "rawhide" and "f44" have entirely different histories.

3 changed files with 14 additions and 32 deletions

10
.gitignore vendored
View file

@ -1,2 +1,8 @@
/xfce-theme-manager-*.tar.gz
/Xfce-Theme-Manager-*.tar.gz
/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

View file

@ -1,19 +0,0 @@
# 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,3 +1,4 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%global pkgname Xfce-Theme-Manager
Name: xfce-theme-manager
@ -16,10 +17,9 @@ BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pkgconfig(gdk-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: xfce4-dev-tools
BuildRequires: xfconf-devel
%description
A theme manager allowing easy configuration of themes,
@ -33,12 +33,11 @@ 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_build xfcethememanager_CFLAGS="%{optflags} -export-dynamic" xfcethememanager_CXXFLAGS="%{optflags} -export-dynamic -Wunused -Wunused-function -Wno-unused-result -fPIC"
make %{?_smp_mflags} xfcethememanager_CFLAGS="%{optflags} -export-dynamic" xfcethememanager_CXXFLAGS="%{optflags} -export-dynamic -Wunused -Wunused-function -Wno-unused-result -fPIC"
%install
%make_install docfilesdir="%{_pkgdocdir}"
rm -f %{buildroot}%{_pkgdocdir}/gpl-3.0.txt
make install DESTDIR=%{buildroot} docfilesdir="%{_pkgdocdir}"
desktop-file-install \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
@ -52,13 +51,9 @@ 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
%license Xfce-Theme-Manager/resources/docs/gpl-3.0.txt
%doc ChangeLog*
%doc ChangeLog* Xfce-Theme-Manager/resources/docs/gpl-3.0.txt
%{_bindir}/%{name}
%{_datadir}/applications/%{pkgname}.desktop
%{_datadir}/pixmaps/%{name}.png