1 Summary: slock - a simple X display locker
7 Source0: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz
8 # Source0-md5: e3b25abdfd54c81562de4d63d3565be7
9 URL: http://tools.suckless.org/slock
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 This is the simplest X screen locker we are aware of. It is stable and
14 quite a lot of people in our community are using it every day when
15 they are out with friends or fetching some food from the local pub.
21 cat << 'EOF' >> config.mk
23 CFLAGS:=%{rpmcflags} $(filter-out -Os,$(CFLAGS))
24 LDFLAGS:=%{rpmldflags} $(LDFLAGS)
30 rm -rf $RPM_BUILD_ROOT
33 DESTDIR=$RPM_BUILD_ROOT
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
41 %attr(4755,root,root) %{_bindir}/slock
42 #%{_mandir}/man1/slock.1*