Name: gtk-chtheme Version: 0.3.1 Release: 5%{dist} Summary: Gtk+ 2.0 theme preview and selection made slick Group: User Interface/Desktops License: GPLv2+ URL: http://plasmasturm.org/programs/gtk-chtheme/ Source0: http://plasmasturm.org/code/%{name}/%{name}-%{version}.tar.bz2 Source1: %{name}.desktop Patch0: %{name}-nostrip.patch Patch1: %{name}-0.3.1-new-api.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel desktop-file-utils %description As the name suggests, this little program lets you change your Gtk+ 2.0 theme. The aim is to make theme preview and selection as slick as possible. Themes installed on the system are presented for selection and previewed on the fly. A large variety of widgets provides a comprehensive demonstration. %prep %setup -q %patch0 -p0 -b .orig %patch1 -p1 -b .orig %build make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog COPYING %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %attr(644,root,root) %{_mandir}/man1/%{name}.* %changelog * Wed Jul 14 2010 Terje Rosten - 0.3.1-5 - Add patch to build with newer gtk * Thu Jun 17 2010 German A. Racca 0.3.1-4 - Fixed permission of man file * Wed Jun 16 2010 German A. Racca 0.3.1-3 - Rebuild for Fedora 13 * Tue May 04 2010 German A. Racca 0.3.1-2 - Added %%{dist} tag - Added patch for not stripping the binary file * Mon Mar 22 2010 German A. Racca 0.3.1-1 - Initial release of RPM package