File sisctrl.spec of Package sisctrl
#
# spec file for package sisctrl (Version 0.0.20051202)
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: sisctrl
BuildRequires: gtk2-devel pkgconfig update-desktop-files xorg-x11-devel
Url: http://www.winischhofer.net/
License: GPL v2 or later
Group: System/X11/Utilities
AutoReqProv: on
Version: 0.0.20051202
Release: 221
Summary: SiS Display Control Panel
Source: %name-%version.tar.gz
Patch: sisctrl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Utility to set some display properties during server runtime.
Authors:
--------
Thomas Winischhofer <thomas@winischhofer.net>
%define _xorglibdir %(pkg-config --variable prefix x11 || echo /usr/X11R6)/%_lib
%prep
%setup
%patch
%build
autoreconf -fi
./configure --prefix=/usr \
--mandir=%{_mandir} \
--with-xv-path=%{_xorglibdir}
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-, root, root)
/usr/bin/sisctrl
%{_mandir}/man1/sisctrl.1x.gz
%changelog
* Tue Mar 10 2009 sndirsch@suse.de
- define functions, which don't return anything, as void
(bnc #483401)
* Tue Nov 07 2006 sndirsch@suse.de
- added missing return value (Bug #218755)
* Sun Jul 23 2006 sndirsch@suse.de
- fixed build for X.Org 7
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 05 2005 sndirsch@suse.de
- update to 2005-12-02 version
* Wed Nov 30 2005 sndirsch@suse.de
- created package