Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 389f265ec870a0f39cc00c6dac8dc5da > files > 2

teatime-2.4.1-1mdk.src.rpm

Summary:	Teatime applet for GNOME 2
Name:		teatime
Version:	2.4.1
Release:	1mdk
License:	GPL
Group:		Graphical desktop/GNOME
URL:		http://teatime.sourceforge.net/
Source0:	http://teatime.sourceforge.net/teatime_applet_2-%version.tar.bz2
Patch1:		libdirfix-2.4.1.patch.bz2
BuildRoot:	%_tmppath/%name-buildroot
Buildrequires:	libpanel-applet-devel >= 2.6
Buildrequires:	libgstreamer-plugins-devel >= 0.8
Buildrequires:	perl-XML-Parser

%description
This is the GNOME 2 port of the legendary teatime applet. There are big
enhancements like animated, rendered teacups, user configurable drawing times
and some other gimmiks.


%prep
%setup -q -n teatime_applet_2-%version
%patch1 -b .libdirfix


%build
%configure2_5x --disable-schemas-install
%make


%install
rm -rf %buildroot
%makeinstall
%find_lang %name


%clean
rm -rf %buildroot


%post
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/teatime.schemas > /dev/null

%preun
if [ "$1" = "0" ]; then
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/teatime.schemas > /dev/null
fi


%files -f %name.lang
%defattr(0755,root,root,0755)
%{_libdir}/teatime_applet_2
%defattr(0644,root,root,0755) 
%doc AUTHORS ChangeLog COPYING INSTALL README
%{_sysconfdir}/gconf/schemas/*
%{_libdir}/bonobo/servers/*
%{_datadir}/pixmaps/*


%changelog
* Wed Feb 09 2005 Michael Reinsch <mr@uue.org> 2.4.1-1mdk
- new version
- fix wrong libexec dir in makefile
- fix buildrequires
- spec file cleanups

* Mon Jun 28 2004 Götz Waschk <waschk@linux-mandrake.com> 2.4-2mdk
- fix buildrequires

* Sat Jun 26 2004 Michael Reinsch <mr@uue.org> 2.4-1mdk
- initial package