|
|
2a8e4f9 |
Summary: Screen lock and screen saver
|
|
|
2a8e4f9 |
Name: xlockmore
|
|
|
2a8e4f9 |
Version: 5.15
|
|
|
2a8e4f9 |
Release: 1
|
|
|
2a8e4f9 |
License: BSD
|
|
|
2a8e4f9 |
Group: Amusements/Graphics
|
|
|
2a8e4f9 |
URL: http://www.tux.org/~bagleyd/xlockmore.html
|
|
|
2a8e4f9 |
Source: http://www.tux.org/~bagleyd/latest/xlockmore-5.15.tar.bz2
|
|
|
2a8e4f9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
2a8e4f9 |
BuildRequires: pam-devel esound-devel
|
|
|
2a8e4f9 |
BuildRequires: xorg-x11-Mesa-libGL xorg-x11-Mesa-libGLU
|
|
|
2a8e4f9 |
BuildRequires: desktop-file-utils
|
|
|
2a8e4f9 |
BuildRequires: openmotif-devel gtk2-devel
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%description
|
|
|
2a8e4f9 |
Locks the local X display until a password is entered.
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%package motif
|
|
|
2a8e4f9 |
Group: Amusements/Graphics
|
|
|
2a8e4f9 |
Summary: Motif based frontend for xlockmore
|
|
|
2a8e4f9 |
Requires: %{name} = %{version}-%{release}
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%description motif
|
|
|
2a8e4f9 |
Motif based frontend for xlockmore.
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%package gtk
|
|
|
2a8e4f9 |
Group: Amusements/Graphics
|
|
|
2a8e4f9 |
Summary: GTK based frontend for xlockmore
|
|
|
2a8e4f9 |
Requires: %{name} = %{version}-%{release}
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%description gtk
|
|
|
2a8e4f9 |
GTK based frontend for xlockmore.
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%prep
|
|
|
2a8e4f9 |
%setup -q
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%{__sed} -i -e "s,/lib,/%{_lib},g" configure
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%build
|
|
|
2a8e4f9 |
%configure \
|
|
|
2a8e4f9 |
--with-crypt --enable-pam --enable-syslog --disable-setuid
|
|
|
2a8e4f9 |
%{__make} %{?_smp_mflags}
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%install
|
|
|
2a8e4f9 |
%{__rm} -rf %{buildroot}
|
|
|
2a8e4f9 |
%{__install} -D -m0755 xlock/xlock %{buildroot}%{_bindir}/xlock
|
|
|
2a8e4f9 |
%{__install} -D -m0755 xmlock/xmlock %{buildroot}%{_bindir}/xmlock
|
|
|
2a8e4f9 |
%{__install} -D -m0755 xglock/xglock %{buildroot}%{_bindir}/xglock
|
|
|
2a8e4f9 |
%{__install} -p -D -m0644 xlock/xlock.man %{buildroot}%{_mandir}/man1/xlock.1
|
|
|
2a8e4f9 |
%{__install} -p -D -m0644 xlock/XLock.ad %{buildroot}%{_libdir}/X11/app-defaults/XLock
|
|
|
2a8e4f9 |
%{__install} -p -D -m0644 xmlock/XmLock.ad %{buildroot}%{_libdir}/X11/app-defaults/XmLock
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%{__mkdir_p} %{buildroot}%{_sysconfdir}/pam.d
|
|
|
2a8e4f9 |
cat > %{buildroot}%{_sysconfdir}/pam.d/xlock << EOF
|
|
|
2a8e4f9 |
#%PAM-1.0
|
|
|
2a8e4f9 |
auth required pam_stack.so service=system-auth
|
|
|
2a8e4f9 |
account required pam_stack.so service=system-auth
|
|
|
2a8e4f9 |
password required pam_stack.so service=system-auth
|
|
|
2a8e4f9 |
session required pam_stack.so service=system-auth
|
|
|
2a8e4f9 |
EOF
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
cat >> %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
|
2a8e4f9 |
[Desktop Entry]
|
|
|
2a8e4f9 |
Name=Xlock
|
|
|
2a8e4f9 |
Comment=Screen Saver
|
|
|
2a8e4f9 |
Encoding=UTF-8
|
|
|
2a8e4f9 |
Icon=gnome-lockscreen.png
|
|
|
2a8e4f9 |
Exec=xlock
|
|
|
2a8e4f9 |
Terminal=false
|
|
|
2a8e4f9 |
Type=Application
|
|
|
2a8e4f9 |
EOF
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
desktop-file-install \
|
|
|
2a8e4f9 |
--vendor=fedora \
|
|
|
2a8e4f9 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
2a8e4f9 |
--delete-original \
|
|
|
2a8e4f9 |
--add-category X-Fedora \
|
|
|
2a8e4f9 |
--add-category Application \
|
|
|
2a8e4f9 |
--add-category Graphics \
|
|
|
2a8e4f9 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%clean
|
|
|
2a8e4f9 |
%{__rm} -rf %{buildroot}
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%files
|
|
|
2a8e4f9 |
%defattr(-, root, root, 0755)
|
|
|
2a8e4f9 |
%doc README docs/*
|
|
|
2a8e4f9 |
%doc %{_mandir}/man1/xlock.1*
|
|
|
2a8e4f9 |
%{_bindir}/xlock
|
|
|
2a8e4f9 |
%{_libdir}/X11/app-defaults/XLock
|
|
|
2a8e4f9 |
%config(noreplace) %{_sysconfdir}/pam.d/xlock
|
|
|
2a8e4f9 |
%{_datadir}/applications/*
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%files motif
|
|
|
2a8e4f9 |
%defattr(-, root, root, 0755)
|
|
|
2a8e4f9 |
%{_bindir}/xmlock
|
|
|
2a8e4f9 |
%{_libdir}/X11/app-defaults/XmLock
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%files gtk
|
|
|
2a8e4f9 |
%defattr(-, root, root, 0755)
|
|
|
2a8e4f9 |
%{_bindir}/xglock
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
%changelog
|
|
|
2a8e4f9 |
* Thu Feb 24 2005 Adrian Reber <adrian@lisas.de> - 5.15-1
|
|
|
2a8e4f9 |
- update to 5.15
|
|
|
2a8e4f9 |
- moved motif and gtk2 frontend to subpackages
|
|
|
2a8e4f9 |
- build with pam support
|
|
|
2a8e4f9 |
- added .desktop file
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
* Sun Dec 12 2004 Dries Verachtert <dries@ulyssis.org> 5.14.1-1
|
|
|
2a8e4f9 |
- Update to release 5.14.1.
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
* Thu Oct 28 2004 Dries Verachtert <dries@ulyssis.org> 5.13-1
|
|
|
2a8e4f9 |
- update to release 5.13
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
* Thu May 27 2004 Dries Verachtert <dries@ulyssis.org> 5.12-1
|
|
|
2a8e4f9 |
- update to 5.12
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
* Sun Jan 11 2004 Dries Verachtert <dries@ulyssis.org> 5.10-2
|
|
|
2a8e4f9 |
- cleanup of spec file
|
|
|
2a8e4f9 |
|
|
|
2a8e4f9 |
* Thu Dec 25 2003 Dries Verachtert <dries@ulyssis.org> 5.10-1
|
|
|
2a8e4f9 |
- first packaging for Fedora Core 1
|