File cairo-clock.spec of Package cairo-clock

# spec file for package cairo-clock (Version 0.3.4)
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via

Name:           cairo-clock
Summary:        Cairo-rendered on-screen clock
Version:        0.3.4
Release:        1
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM cairo-clock-fix-ldflags.patch deb#624922 -- Taken from Debian, fix "unrecognized option '--export-dynamic'"
Patch0:         cairo-clock-fix-ldflags.patch
# Note: src/cairo-clock.c has a link to the GPL (unversioned) on; when the file was created, that link was pointing to GPL-2.0, not GPL-3.0
License:        GPL-2.0
Group:          Amusements/Toys/Clocks
BuildRequires:  fdupes
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  librsvg2-devel
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

It is an analog clock displaying the system-time. It leverages the
new visual features offered by a compositing manager to produce a
time display with pretty-pixels.


%setup -q
%patch0 -p1

%__make %{?jobs:-j%jobs}

rm -f %{buildroot}%{_libdir}/*.la
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name} X-SuSE-DesktopUtility
%fdupes %{buildroot}%{_datadir}/%{name}

rm -rf %{buildroot}



%doc %{_mandir}/man1/%{name}.1%{?ext_man}

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by