openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages tzclock.spec
      Pages: < 1 >  DOWNLOAD      
Name:          tzclock
Version:       2.7.4
Release:       1mamba
Summary:       A GTK/Cairo based Clock to display the time around the world.
Group:         Graphical Desktop/Applications/Utilities
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
URL:           http://tzclock.org/
Source:        http://tzclock.org/releases/tzclock-%{version}.tar.bz2
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libcairo-devel
BuildRequires: libglib-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libpango-devel
BuildRequires: libpopt-devel
BuildRequires: libSM-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig
BuildRequires: qsvg2png
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
An analog Clock that can display the time around the world.
It supports multiple faces showing different time zones.
There is also a stopwatch that is accurate to a tenth of a
second and a simple alarm. Nearly everything can be customized.

%prep

%setup -q

%build
%configure
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall

for i in 16 22 24 32 36 48 64 72 96 128 192 ; do
	mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
	qsvg2png ${i} TzClock.svg \
	%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/TzClock.png
done
cp %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/TzClock.png %{buildroot}%{_datadir}/pixmaps/TzClock.png

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_bindir}/TzClock
%{_bindir}/screenSize
%{_datadir}/applications/TzClock.desktop
%{_datadir}/icons/hicolor/*x*/apps/TzClock.png
%{_datadir}/pixmaps/TzClock.png
%{_datadir}/pixmaps/TzClock.svg
%{_mandir}/man1/TzClock.1.gz
%doc AUTHORS COPYING

%changelog
* Tue Mar 24 2009 gil <puntogil@...> 2.7.4-1mamba
- package created by autospec