File xtermset.spec of Package xtermset
#
# spec file for package xtermset
#
# Copyright (c) 2013 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 http://bugs.opensuse.org/
#
Name: xtermset
BuildRequires: automake
Summary: A program to change the settings of an xterm
License: GPL-2.0+ and MIT
Group: System/X11/Terminals
Version: 0.5.2
Release: 0
Url: http://sourceforge.net/projects/clts/
Source: http://downloads.sourceforge.net/project/clts/xtermset/%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}.dif
Patch1: %{name}-%{version}-strcat.patch
Patch2: %{name}-%{version}-dash.patch
Patch3: xtermset-automake-1.13.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Xtermset allows you to change the characteristics of an xterm window
from the command line. Most options have the same names as those that
you would give an xterm at startup.
%prep
%setup
%patch0
%patch1
%patch2
%patch3 -p1
%build
aclocal
automake -a
autoconf
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=/usr \
--mandir=%{_mandir}
make
%install
make "DESTDIR=$RPM_BUILD_ROOT" install
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS
/usr/bin/xtermset
%{_mandir}/man?/*
/usr/share/xtermset/
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && rm -rf %{buildroot}
%changelog