Imported Upstream version 0.1.0
[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 libXmu-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 # a make macro should be used here
32 # even a "job based" make if possible
33 # %__make %{?jobs:-j%{jobs}}
34
35 %__make
36
37 %install
38 make DESTDIR=${RPM_BUILD_ROOT} install
39
40 %find_lang %{name}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %post
46
47 %pre
48
49 %preun
50
51 %postun
52
53 # exactly as "%find_lang" macro
54 %files -f %{name}.lang
55 %defattr (-,root,root,-)
56 %doc AUTHORS NEWS README COPYING INSTALL ChangeLog
57 %dir %{_datadir}/lxdm/
58 %{_datadir}/lxdm/*
59 %dir %{_sysconfdir}/lxdm/
60 %{_bindir}/lxdm
61 %{_bindir}/lxdm-binary
62 %{_bindir}/lxdm-greeter-gtk
63 %{_sysconfdir}/lxdm/Xsession
64 %config %{_sysconfdir}/lxdm/lxdm.conf
65 %{_sysconfdir}/pam.d/lxdm
66
67 %changelog
68