xautolock/xautolock.spec

Name: xautolock
Summary: Launches a program when your X session has been idle for some time
Version: 2.2
Release: 1
License: GPL
Group: Applications/Internet
URL: http://www.ibiblio.org/pub/Linux/X11/screensavers/
Description: A program that launches a given program when your X session has been idle for a given time.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries


%{?fc4:%define _without_modxorg 1}
%{?el4:%define _without_modxorg 1}
%{?fc3:%define _without_modxorg 1}
%{?fc2:%define _without_modxorg 1}
%{?fc1:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?rh9:%define _without_modxorg 1}
%{?rh7:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}
%{?yd3:%define _without_modxorg 1}

Summary: Launches a program when your X session has been idle for some time
Name: xautolock
Version: 2.2
Release: 1%{?dist}
License: GPL
Group: Applications/Internet
URL: http://www.ibiblio.org/pub/Linux/X11/screensavers/

Source: http://www.ibiblio.org/pub/Linux/X11/screensavers/xautolock-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%{!?_without_modxorg:BuildRequires: libX11-devel, libXScrnSaver-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

%description
A program that launches a given program when
your X session has been idle for a given time.

%prep
%setup
xmkmf

%build
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 xautolock %{buildroot}%{_prefix}/X11R6/bin/xautolock
%{__install} -Dp -m0644 xautolock._man %{buildroot}%{_prefix}/X11R6/man/man1/xautolock.1x

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc %{_prefix}/X11R6/man/man1/xautolock.1x.gz
%{_prefix}/X11R6/bin/xautolock

%changelog
* Sun Jan 13 2008 Dries Verachtert <dries@ulyssis.org> - 2.2-1
- Updated to release 2.2.

* Thu Feb 26 2004 Dries Verachtert <dries@ulyssis.org> 2.1-2
- fixed: man page not installed.
  bug found by Matt Thompson, thanks Matt!

* Wed Feb 25 2004 Dries Verachtert <dries@ulyssis.org> 2.1-1
- first packaging for Fedora Core 1