Adding upstream version 0.4.1.
[debian/lxdm.git] / lxdm.spec.in
1 # on SuSE based distros that's allow compilation
2 # without root rights, on other distros that's just
3 # a comment, you should keep it.
4 # norootforbuild
5
6 Name: lxdm
7 Version: @PACKAGE_VERSION@
8 Release: 1
9 Summary: Light weight X11 display manager
10 License: GPL
11 Group: User Interface/X
12 URL: http://lxde.sourceforge.net/
13 Source0: lxdm-%{version}.tar.gz
14
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
16
17 BuildRequires: gtk2-devel pam-devel intltool
18
19 %description
20 Light weight X11 display manager
21
22 %prep
23 %setup -q
24
25 %build
26 export CFLAGS="$RPM_OPT_FLAGS"
27 export CXXFLAGS="$RPM_OPT_FLAGS"
28
29 %configure
30
31 %__make
32
33 %install
34 make DESTDIR=${RPM_BUILD_ROOT} install
35 cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
36 rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
37 cd -
38
39 %find_lang %{name}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %post
45
46 %pre
47
48 %preun
49
50 %postun
51
52 %files -f %{name}.lang
53 %defattr (-,root,root,-)
54 %doc AUTHORS NEWS README COPYING INSTALL ChangeLog
55 %dir %{_datadir}/lxdm/
56 %{_datadir}/lxdm/*
57 %dir %{_sysconfdir}/lxdm/
58 %{_sbindir}/lxdm
59 %{_sbindir}/lxdm-binary
60 %{_bindir}/lxdm-config
61 %{_libexecdir}/lxdm-greeter-gtk
62 %{_libexecdir}/lxdm-greeter-gdk
63 %{_libexecdir}/lxdm-numlock
64 %{_sysconfdir}/lxdm/Xsession
65 %config %{_sysconfdir}/lxdm/lxdm.conf
66 %{_sysconfdir}/pam.d/lxdm
67
68 %changelog
69