%global pkgname Xfce-Theme-Manager Name: xfce-theme-manager Version: 0.1.19 Release: 1%{?dist} Summary: A theme manager for Xfce License: GPLv3 URL: http://xfce-look.org/content/show.php?content=149647 Source0: http://echevemaster.fedorapeople.org/%{name}/%{pkgname}-%{version}.tar.gz Patch1: xfce-theme-manager-strip.patch BuildRequires: pkgconfig(gdk-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libxfce4ui-1) BuildRequires: desktop-file-utils BuildRequires: cairo-devel %description A theme manager allowing easy configuration of themes, window borders, controls, icons and cursors for Xfce %prep %setup -q -n %{pkgname}-%{version} %patch1 -p1 %build make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} PREFIX=%{_prefix} desktop-file-install \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ --remove-key=Categories \ --add-category=GTK \ --add-category=Settings \ --add-category=DesktopSettings \ --add-category=X-XFCE-SettingsDialog \ --add-category=X-XFCE-PersonalSettings \ --add-category=X-XFCE \ --set-name="Xfce Theme Manager" \ %{buildroot}/%{_datadir}/applications/%{pkgname}.desktop find %{buildroot} -name 'xfce-theme-manager' | xargs chmod 0755 %files %doc README* ChangeLog* gpl-3.0.txt %{_bindir}/%{name} %{_datadir}/applications/%{pkgname}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Sun Nov 18 2012 Eduardo Echeverria - 0.1.19-1 - Update to version 0.1.19 with license included * Mon Nov 12 2012 Eduardo Echeverria - 0.1.18-1 - Initial packaging