File sisctrl.spec of Package sisctrl

#
# spec file for package sisctrl (Version 0.0.20051202)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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:        GNU General Public License (GPL) - all versions
Group:          System/X11/Utilities
Autoreqprov:    on
Version:        0.0.20051202
Release:        30
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 -n sisctrl
* 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
openSUSE Build Service is sponsored by