|
|
2a8e4f9 |
Summary: Screen lock and screen saver
|
|
|
2a8e4f9 |
Name: xlockmore
|
|
|
0d83d0e |
Version: 5.23
|
|
|
0d83d0e |
Release: 1%{?dist}
|
|
|
2a8e4f9 |
License: BSD
|
|
|
2a8e4f9 |
Group: Amusements/Graphics
|
|
|
2a8e4f9 |
URL: http://www.tux.org/~bagleyd/xlockmore.html
|
|
|
0d83d0e |
Source0: http://www.tux.org/~bagleyd/latest/xlockmore-5.23.tar.bz2
|
|
|
2a8e4f9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
2a8e4f9 |
BuildRequires: pam-devel esound-devel
|
|
|
e4b39fd |
BuildRequires: mesa-libGL-devel mesa-libGLU-devel
|
|
|
e4b39fd |
BuildRequires: desktop-file-utils libXdmcp-devel
|
|
|
a9fd2ed |
BuildRequires: lesstif-devel gtk2-devel
|
|
|
e4b39fd |
BuildRequires: libXau-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
|
|
|
e4b39fd |
%{__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
|
|
|
d672460 |
auth include system-auth
|
|
|
d672460 |
account include system-auth
|
|
|
d672460 |
password include system-auth
|
|
|
d672460 |
session include 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
|
|
|
0d83d0e |
* Tue Feb 08 2007 Adrian Reber <adrian@lisas.de> - 5.23-1
|
|
|
0d83d0e |
- updated to 5.23
|
|
|
0d83d0e |
|
|
|
a9fd2ed |
* Tue Sep 12 2006 Adrian Reber <adrian@lisas.de> - 5.22-3
|
|
|
a9fd2ed |
- rebuilt
|
|
|
a9fd2ed |
- swtiched to lesstif
|
|
|
a9fd2ed |
|
|
|
6109d30 |
* Sun Jul 09 2006 Adrian Reber <adrian@lisas.de> - 5.22-2
|
|
|
6109d30 |
- rebuild for new freetype
|
|
|
6109d30 |
|
|
|
d672460 |
* Mon May 01 2006 Adrian Reber <adrian@lisas.de> - 5.22-1
|
|
|
d672460 |
- updated to 5.22
|
|
|
d672460 |
- changed pam file to use include instead of pam_stack.so
|
|
|
d672460 |
|
|
|
f62029f |
* Tue Feb 21 2006 Adrian Reber <adrian@lisas.de> - 5.21-1
|
|
|
f62029f |
- updated to 5.21
|
|
|
f62029f |
|
|
|
e4b39fd |
* Fri Dec 16 2005 Adrian Reber <adrian@lisas.de> - 5.20.1-1
|
|
|
e4b39fd |
- updated to 5.20.1
|
|
|
e4b39fd |
- changes for modular X
|
|
|
e4b39fd |
- removed "GENTOO" hack
|
|
|
e4b39fd |
|
|
|
4905da8 |
* Sun Aug 21 2005 Adrian Reber <adrian@lisas.de> - 5.19-1
|
|
|
4905da8 |
- updated to 5.19
|
|
|
4905da8 |
- upstream included a fix for (BZ #161740), but "GENTOO" needs
|
|
|
4905da8 |
to be defined during compilation
|
|
|
4905da8 |
|
|
|
17ef1b6 |
* Mon Jun 27 2005 Adrian Reber <adrian@lisas.de> - 5.18-3
|
|
|
17ef1b6 |
- included patch to make it work again with PAM (BZ #161740)
|
|
|
17ef1b6 |
|
|
|
2e11f4e |
* Fri Jun 17 2005 Adrian Reber <adrian@lisas.de> - 5.18-2
|
|
|
85fe505 |
- update to 5.18
|
|
|
85fe505 |
|
|
|
79ef548 |
* Wed Apr 13 2005 Adrian Reber <adrian@lisas.de> - 5.16-1
|
|
|
79ef548 |
- update to 5.16
|
|
|
79ef548 |
|
|
|
0620782 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
0620782 |
- rebuilt
|
|
|
0620782 |
|
|
|
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
|