File sax3.spec of Package sax3
#
# spec file for package sax3
#
# 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: sax3
Version: 0.1
Release: 0
Summary: A Graphical Configuration Tool for X
License: GPL-3.0
Group: System/X11/Utilities
Url: https://www.ohloh.net/p/sax3
Source: %{name}-%{version}.tar.bz2
Patch0: fix-libyui-include-path.diff
Patch1: fix-std-nametype-issue.diff
BuildRequires: augeas-devel
BuildRequires: cmake
BuildRequires: gcc-c++
%if 0%{?suse_version} > 1220
BuildRequires: libyui-devel
Requires: libyui4
%else
BuildRequires: yast2-libyui-devel
Requires: yast2-libyui
%endif
Requires: augeas
Requires: augeas-lenses
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A graphical utility for configuring X server settings. It can run without X with a graphical interface.
Authors:
_______
Manu Gupta
Michal Hrusecky
%prep
%setup -q
%if 0%{?suse_version} > 1220
%patch0 -p1
%endif
%patch1 -p1
%build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=true \
%ifarch x86_64 ppc64
-DLIB_SUFFIX="64" \
%endif
.
make
%install
%make_install
%files
%defattr(-,root,root)
%doc COPYING.GPL-3.0
%{_sbindir}/sax3*
%{_datadir}/libaugeas0/
%{_datadir}/augeas/
%{_datadir}/sax3
%{_libdir}/libsax3-yuif*
%{_datadir}/applications/sax3.desktop
%{_datadir}/icons/
%_mandir/man1/*
#%_datadir/icons/hicolor/32x32/apps/sax*
%changelog