File gromit.spec of Package gromit

# spec file for package gromit (version 20041213)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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:           gromit
Version:        20041213
Release:        1
License:        GPL-2.0+
Summary:        Tool to make annotations on the screen
Group:          Amusements/Toys/Other
Source0:        %{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE gromit-cflags.patch -- Use CFLAGS when compiling
Patch0:         gromit-cflags.patch
# PATCH-FIX-UPSTREAM gromit-no-DISABLE_DEPRECATED.patch -- Remove *_DISABLE_DEPRECATED flags to fix build
Patch1:         gromit-no-DISABLE_DEPRECATED.patch
# PATCH-FIX-UPSTREAM gromit-link-x11.patch -- Link to libX11 and libm to fix build
Patch2:         gromit-link-x11.patch
BuildRequires:  gtk2-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Gromit (GRaphics Over MIscellaneous Things) is a small tool to make
annotations on the screen.

It is useful for recording presentations.

%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

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

install -m 755 -D %{name} %{buildroot}%{_bindir}/%{name}

%{__rm} -rf %{buildroot}

%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING gromitrc gromitrc_gsr README