Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 055764b9448ede4ced1faebdd379f096 > files > 8

slim-1.3.1-2mdv2010.1.src.rpm

Summary:	Simple login manager
Name:		slim
Version:	1.3.1
Release:	%mkrel 2
Group:		System/X11
License:	GPLv2+
URL:		http://slim.berlios.de
Source0:	http://download.berlios.de/slim/%{name}-%{version}.tar.bz2
Source1:	%{name}.pam
Source2:	25%{name}.conf
Patch0:		%{name}-1.3.1-makefile.patch
Patch1:		%{name}-1.3.1-config.patch
Patch2:		%{name}-1.3.0-libgen.patch
Patch3:		slim-1.3.1-gcc4.4.patch
BuildRequires:	libxmu-devel
BuildRequires:	libxft-devel
BuildRequires:	libxrender-devel
BuildRequires:	libpng-devel
BuildRequires:	libjpeg-devel
BuildRequires:	freetype-devel
BuildRequires:	fontconfig-devel
BuildRequires:	pkgconfig
BuildRequires:	gettext
BuildRequires:	pam-devel
Requires:	pam >= 0.80
Requires:	mandriva-theme
Provides:	dm
BuildRoot:	%{_tmppath}/%{name}-%{version}--buildroot

%description
SLiM (Simple Login Manager) is a Desktop-independent graphical 
login manager for X11.
 
It aims to be light and simple, although completely configurable 
through themes and an option file; is suitable for machines on which 
remote login functionalities are not needed.

Features included:
 
* PNG and XFT support for alpha transparency and antialiased fonts
* External themes support
* Configurable runtime options: X server, login / shutdown / reboot commands
* Single (GDM-like) or double (XDM-like) input control
* Can load predefined user at startup
* Configurable welcome / shutdown messages
* Random theme selection

%prep
%setup -q
%patch0 -p1 -b .makefile
%patch1 -p1 -b .config
%patch2 -p1 -b .libgen
%patch3 -p0 -b .gcc44

%build
%make OPT="%{optflags}" USE_PAM=1

%install
rm -rf %{buildroot}
%makeinstall_std

mkdir -p %{buildroot}%{_sysconfdir}/pam.d
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/%{name}

mkdir -p %{buildroot}%{_datadir}/X11/dm.d
install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/X11/dm.d/25%{name}.conf

# (tpg) use background from mandriva-theme
rm -f %{buildroot}%{_datadir}/slim/themes/default/background.jpg
ln -s ../../../mdk/backgrounds/default.jpg %{buildroot}%{_datadir}/slim/themes/default/background.jpg

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog README THEMES TODO
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
%config(noreplace) %{_sysconfdir}/X11/slim/%{name}.conf
%config(noreplace) %{_datadir}/X11/dm.d/25%{name}.conf
%dir %{_datadir}/slim
%{_bindir}/slim*
%{_datadir}/slim/themes/
%{_mandir}/man1/*


%changelog
* Sat Aug 22 2009 Funda Wang <fwang@mandriva.org> 1.3.1-2mdv2010.0
+ Revision: 419589
- fix build with gcc 4.4

* Thu Feb 19 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.1-2mdv2009.1
+ Revision: 343001
- Patch1: rediff, add xserver arguments, like start on vt7 etc.
- add provides on dm

* Sat Nov 15 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.1-1mdv2009.1
+ Revision: 303601
- Patch0: use xvt instead of xterm
- update to new version 1.3.1
- rediff patches 0 and 1
- drop patch 3 and 4 as they were merged by upstream
- remove requires on xterm

* Fri Sep 05 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.0-9mdv2009.0
+ Revision: 281215
- Patch4: add autologin feature
- Patch3: fix compiling with gcc43
- compile with %%{optflags}
- adjust X11 dm path

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - rebuild

* Tue Mar 18 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.0-6mdv2008.1
+ Revision: 188496
- mandriva-theme uses jpeg compression for wallpapers
- do not package COPYING file

* Sat Jan 26 2008 Funda Wang <fwang@mandriva.org> 1.3.0-5mdv2008.1
+ Revision: 158298
- fix conf file

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Nov 12 2007 Funda Wang <fwang@mandriva.org> 1.3.0-4mdv2008.1
+ Revision: 108176
- rebuild for new lzma

* Fri Nov 02 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.0-3mdv2008.1
+ Revision: 105219
- rework patch 1 one more time
- add missing header (patch 2)

* Thu Nov 01 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.0-2mdv2008.1
+ Revision: 104462
- new license policy
- rediff both patches
- add initial support for the drakedm and dm script, rest hast to be done in initscripts file (/etc/X11/prefdm)

* Tue Oct 02 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.0-1mdv2008.1
+ Revision: 94462
- use background from mandriva-theme
- mark slim.conf as a configuration file
- provide patch 1 (configuration)
- provide patch 0 (makefile patch)
- add pam rules
- import slim