/[packages]/obsolete/slimlock/current/SPECS/slimlock.spec
ViewVC logotype

Contents of /obsolete/slimlock/current/SPECS/slimlock.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 660227 - (show annotations) (download)
Wed Aug 6 15:35:51 2014 UTC (10 years, 5 months ago) by wally
File size: 1436 byte(s)
Requires slim and we're going to obsolete it

1 # Obsoleted pkg, don't forget to remove obsoletes if you for some reason
2 # revive this pkg. (08/2014 wally)
3 Obsoletes: slimlock < 0.12-5
4
5 Name: slimlock
6 Version: 0.12
7 Release: %mkrel 4
8 Summary: Unholy screen locker based on SLiM
9 Group: Graphical desktop/Other
10 License: GPLv2
11 Url: https://github.com/dannyn/slimlock
12 #
13 # git clone https://github.com/dannyn/slimlock.git
14 # cd slimlock
15 # git archive --format=tar --prefix=slimlock-0.12/ v0.12 | xz > ../slimlock-0.12.tar.xz
16 #
17 Source0: %{name}-%{version}.tar.xz
18 BuildRequires: pkgconfig(x11)
19 BuildRequires: pkgconfig(xrandr)
20 BuildRequires: pkgconfig(xft)
21 BuildRequires: pkgconfig(fontconfig)
22 BuildRequires: pkgconfig(imlib2)
23 BuildRequires: pam-devel
24 Requires: slim
25
26 %description
27 This is the Frankenstein's monster of screen lockers. Developer had the horrible idea
28 to graft SLiM and slock together to create the screen locker that should have
29 never been.
30
31 Slimlock reads SLiM config files and uses the same interface. If you use
32 SLiM already, then it should work for you automatically.
33
34 %prep
35 %setup -q
36 %apply_patches
37
38 #fix version string
39 sed -i -e 's,^VERSION=.*,VERSION=%{version},' Makefile
40
41 mv README.md README
42
43 %build
44 %setup_compile_flags
45 %make \
46 PREFIX=%{_prefix} \
47 CFGDIR=%{_sysconfdir} \
48 MANDIR=%{_mandir}
49
50 %install
51 %makeinstall_std
52
53 %files
54 %doc README
55 %config(noreplace) %{_sysconfdir}/%{name}.conf
56 %{_sysconfdir}/pam.d/slimlock
57 %{_bindir}/%{name}
58 %{_mandir}/man1/%{name}.1.*

  ViewVC Help
Powered by ViewVC 1.1.30