Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 3f2eb0aaea84a7fcc1c0a521b0ad5785 > files > 5

gtk-chtheme-0.3.1-6.fc13.src.rpm

Name:		gtk-chtheme
Version:	0.3.1
Release:	6%{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}

# Fix permission of man file
find %{buildroot}%{_mandir}/man1/%{name}.* -type f | xargs chmod 0644 || true

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.*

%changelog
* Thu Jul 15 2010 German A. Racca <gracca@gmail.com> - 0.3.1-6
- Fixed permission of man file the right way

* Wed Jul 14 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.3.1-5
- Add patch to build with newer gtk

* Thu Jun 17 2010 German A. Racca <gracca@gmail.com> 0.3.1-4
- Fixed permission of man file

* Wed Jun 16 2010 German A. Racca <gracca@gmail.com> 0.3.1-3
- Rebuild for Fedora 13

* Tue May 04 2010 German A. Racca <gracca@gmail.com> 0.3.1-2
- Added %%{dist} tag
- Added patch for not stripping the binary file

* Mon Mar 22 2010 German A. Racca <gracca@gmail.com> 0.3.1-1
- Initial release of RPM package