Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
vlock
vlock.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vlock.spec of Package vlock
# # spec file for package vlock (Version 2.2.3) # # Copyright (c) 2010 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: vlock BuildRequires: pam-devel Version: 2.2.3 Release: 1 PreReq: permissions AutoReqProv: on Group: System/Console License: GPL-2.0+ Url: http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html Summary: It allows you to lock your console display Source: %{name}-%{version}.tar.gz Source1: %{name}.pamd Patch0: vlock-2.2.2-security.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is vlock, the Linux Virtual Console locking program. It allows you to lock one or all of the sessions of your Linux console display. Authors: -------- Frank Benkstein <frank-vlock@benkstein.net> %prep %setup -q %patch0 %build # not a real configure script, can't use macro :-/ ./configure --prefix=%{_prefix} --libdir=%{_libdir} make %{?_smp_mflags} CFLAGS="%{optflags} -W -pedantic -std=gnu99" %install install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/vlock install -D -m 0755 vlock %{buildroot}%{_bindir}/vlock install -D -m 2755 vlock-main %{buildroot}%{_sbindir}/vlock-main install -D -m 0644 man/vlock.1 %{buildroot}%{_mandir}/man1/vlock.1 install -D -m 0644 man/vlock-plugins.5 %{buildroot}%{_mandir}/man5/vlock-plugins.5 install -D -m 0644 man/vlock-main.8 %{buildroot}%{_mandir}/man8/vlock-main.8 install -D -m 0755 modules/all.so %{buildroot}%{_libdir}/vlock/modules/all.so install -D -m 0755 modules/new.so %{buildroot}%{_libdir}/vlock/modules/new.so install -D -m 0755 modules/nosysrq.so %{buildroot}%{_libdir}/vlock/modules/nosysrq.so %post %set_permissions %{_sbindir}/vlock-main %verifyscript %verify_permissions -e %{_sbindir}/vlock-main %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc COPYING ChangeLog PLUGINS README README.X11 SECURITY TODO %doc %{_mandir}/man?/* %{_bindir}/vlock %attr(0755,-,-) %{_sbindir}/vlock-main %config %{_sysconfdir}/pam.d/vlock %dir %{_libdir}/vlock %dir %{_libdir}/vlock/modules %{_libdir}/vlock/modules/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor