]> git.pld-linux.org Git - SPECS.git/blob - slock.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / slock.spec
1 Summary:        slock - a simple X display locker
2 Name:           slock
3 Version:        1.1
4 Release:        1
5 License:        MIT
6 Group:          Applications
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)
11
12 %description
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.
16
17 %prep
18 %setup -q
19
20 %build
21 cat << 'EOF' >> config.mk
22 PREFIX=%{_prefix}
23 CFLAGS:=%{rpmcflags} $(filter-out -Os,$(CFLAGS))
24 LDFLAGS:=%{rpmldflags} $(LDFLAGS)
25 EOF
26
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install \
33         DESTDIR=$RPM_BUILD_ROOT
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc README
41 %attr(4755,root,root) %{_bindir}/slock
42 #%{_mandir}/man1/slock.1*
This page took 0.324818 seconds and 3 git commands to generate.