]> git.pld-linux.org Git - packages/light-locker.git/blob - light-locker.spec
- new
[packages/light-locker.git] / light-locker.spec
1 Summary:        A simple session-locker for lightdm 
2 Name:           light-locker
3 Version:        1.6.0
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        https://github.com/the-cavalry/light-locker/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  23e4f0de0f9d75cd6e7ca79f50e78214
9 URL:            https://github.com/the-cavalry/light-locker
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  ConsoleKit-devel
13 BuildRequires:  dbus-devel
14 BuildRequires:  glib2-devel >= 1:2.25.6
15 BuildRequires:  gtk+3-devel
16 BuildRequires:  intltool
17 BuildRequires:  libtool
18 BuildRequires:  pam-devel
19 BuildRequires:  systemd-devel
20 BuildRequires:  upower-devel
21 BuildRequires:  xorg-lib-libX11-devel
22 BuildRequires:  xorg-lib-libXext-devel
23 BuildRequires:  xorg-lib-libXScrnSaver-devel
24 BuildRequires:  xorg-lib-libXxf86vm-devel
25 BuildRequires:  xfce4-dev-tools
26 Requires:       lightdm
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 light-locker is a simple locker (forked from gnome-screensaver) that
31 aims to have simple, sane, secure defaults and be well integrated with
32 the desktop while not carrying any desktop-specific dependencies.
33 It relies on lightdm for locking and unlocking your session via
34 ConsoleKit/UPower or logind/systemd.
35
36 %prep
37 %setup -q
38
39 %build
40 NOCONFIGURE=1 xdt-autogen
41 %configure \
42         --with-x \
43         --with-mit-ext \
44         --with-dpms-ext \
45         --with-xf86gamma-ext \
46         --with-console-kit \
47         --with-systemd \
48         --with-upower \
49         --enable-settings-backend=gsettings \
50         --enable-late-locking \
51         --enable-lock-on-suspend
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{find_lang} %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS HACKING NEWS README
68 /etc/xdg/autostart/light-locker.desktop
69 %attr(755,root,root) %{_bindir}/light-locker
70 %attr(755,root,root) %{_bindir}/light-locker-command
71 %{_datadir}/glib-2.0/schemas/apps.light-locker.gschema.xml
72 %{_mandir}/man1/light-locker-command.1*
73 %{_mandir}/man1/light-locker.1*
This page took 0.061389 seconds and 3 git commands to generate.