2a8e4f9
Summary: Screen lock and screen saver
2a8e4f9
Name: xlockmore
02afdb5
Version: 5.43
db6dd75
Release: 6%{?dist}
2a8e4f9
License: BSD
2a8e4f9
Group: Amusements/Graphics
2a8e4f9
URL: http://www.tux.org/~bagleyd/xlockmore.html
02afdb5
Source0: http://www.tux.org/~bagleyd/xlock/xlockmore-5.43/xlockmore-5.43.tar.bz2
11a8a5b
Patch0: xlockmore-5.40-fix_exitcode.patch
5e17c45
BuildRequires: pam-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
8628361
%if 0%{?rhel}
8628361
Requires: gnome-icon-theme
8628361
%else
8ce1797
Requires: gnome-icon-theme-legacy
8628361
%endif
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
fc2570a
%patch0
2a8e4f9
c843756
%{__sed} -i -e "s,/lib,/%{_lib},g;s,-Wno-format,,g;" configure
2a8e4f9
2a8e4f9
%build
cb19ff9
%configure --with-crypt --enable-pam --enable-syslog --disable-setuid --disable-mb
e4b39fd
%{__make} %{?_smp_mflags}
2a8e4f9
2a8e4f9
%install
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
91327f1
%{__chmod} 644 README
91327f1
%{__chmod} 644 docs/Revisions
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
8ce1797
Icon=gnome-lockscreen
2a8e4f9
Exec=xlock
2a8e4f9
Terminal=false
2a8e4f9
Type=Application
2a8e4f9
EOF
2a8e4f9
2a8e4f9
desktop-file-install \
2a8e4f9
	--dir %{buildroot}%{_datadir}/applications \
2a8e4f9
	--delete-original \
2a8e4f9
	--add-category X-Fedora \
2a8e4f9
	--add-category Application \
2a8e4f9
	--add-category Graphics \
02afdb5
	%{buildroot}%{_datadir}/applications/%{name}.desktop
2a8e4f9
2a8e4f9
%files
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
%{_bindir}/xmlock
2a8e4f9
%{_libdir}/X11/app-defaults/XmLock
2a8e4f9
2a8e4f9
%files gtk
2a8e4f9
%{_bindir}/xglock
2a8e4f9
2a8e4f9
%changelog
db6dd75
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.43-6
db6dd75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
db6dd75
1c0d444
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.43-5
1c0d444
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1c0d444
cb19ff9
* Sun Dec 22 2013  Sebastien Lugan <1698DA98@dynmail.crt1.net> - 5.43-4
cb19ff9
- Fixed locale support "xlock need to enter password twice" (#991010)
cb19ff9
c843756
* Thu Dec 05 2013 Adrian Reber <adrian@lisas.de> - 5.43-3
c843756
- fixed "xlockmore FTBFS if "-Werror=format-security" flag is used" (#1037397)
c843756
90bfc9b
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.43-2
90bfc9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
90bfc9b
02afdb5
* Thu Jul 18 2013 Adrian Reber <adrian@lisas.de> - 5.43-1
02afdb5
- updated to 5.43
02afdb5
- fixed "NULL pointer dereference leads to crash and bypass of screen lock" (#985542)
02afdb5
Parag Nemade e7d902f
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 5.41-2
Parag Nemade e7d902f
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
Parag Nemade e7d902f
- Cleanup spec as per recently changed packaging guidelines
Parag Nemade e7d902f
11a8a5b
* Tue Nov 20 2012 Adrian Reber <adrian@lisas.de> - 5.41-1
11a8a5b
- updated to 5.41
11a8a5b
- dropped upstreamed patch for CVE-2012-4524
11a8a5b
- fixed "xlock exits on segfault, unlocking the screen" (#874484)
11a8a5b
8628361
* Mon Oct 22 2012 Adrian Reber <adrian@lisas.de> - 5.40-4
8628361
- conditionalize icon BR
8628361
fc2570a
* Thu Oct 18 2012 Adrian Reber <adrian@lisas.de> - 5.40-3
fc2570a
- fixed "CVE-2012-4524 xlockmore: Screensaver crash (screen lock bypass) when 'dclock' mode used" (#867908)
fc2570a
5e17c45
* Thu Oct 18 2012 Adrian Reber <adrian@lisas.de> - 5.40-2
5e17c45
- removed esound-devel BR
5e17c45
dd0cd02
* Sun Oct 14 2012 Adrian Reber <adrian@lisas.de> - 5.40-1
dd0cd02
- updated to 5.40
dd0cd02
23d326a
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.38-2
23d326a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
23d326a
e336424
* Sun Mar 25 2012 Adrian Reber <adrian@lisas.de> - 5.38-1
e336424
- updated to 5.38
e336424
- removed buildroot and clean section
e336424
0b20d6a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.34-3
0b20d6a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0b20d6a
49324e8
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 5.34-2
49324e8
- Rebuild for new libpng
49324e8
8ce1797
* Tue Jun 07 2011 Adrian Reber <adrian@lisas.de> - 5.34-1
8ce1797
- updated to 5.34
8ce1797
- fixed "Desktop file should not include extension..." (#701699)
8ce1797
- fixed "...missing Requires" (#701699); added R: gnome-icon-theme-legacy
8ce1797
f1ae061
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.31-2
f1ae061
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f1ae061
d69f1c2
* Mon Nov 08 2010 Adrian Reber <adrian@lisas.de> - 5.31-1
d69f1c2
- updated to 5.31
dbcd004
- removed xlockmore-fix_petri.patch
d69f1c2
b701902
* Sat May 08 2010 Adrian Reber <adrian@lisas.de> - 5.28-2
b701902
- fixed "FTBFS xlockmore-5.28-1.fc12: ImplicitDSOLinking" (#564929)
b701902
2a71122
* Sun Aug 30 2009 Adrian Reber <adrian@lisas.de> - 5.28-1
2a71122
- updated to 5.28
2a71122
- applied patch to fix "xlock -mode petri segfaults with 32 bit displays" (#518379)
2a71122
a6130b1
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.26.1-3
a6130b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a6130b1
4fdd20b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.26.1-2
4fdd20b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4fdd20b
91327f1
* Sat Aug 09 2008 Adrian Reber <adrian@lisas.de> - 5.26.1-1
91327f1
- updated to 5.26.1
91327f1
decd8d3
* Mon Feb 18 2008 Adrian Reber <adrian@lisas.de> - 5.25-1
decd8d3
- updated to 5.25
decd8d3
bb9453f
* Sat Oct 13 2007 Adrian Reber <adrian@lisas.de> - 5.24-1
bb9453f
- updated to 5.24
bb9453f
02afdb5
* Tue Feb 06 2007 Adrian Reber <adrian@lisas.de> - 5.23-1
05c10c7
- updated to 5.23
05c10c7
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
02afdb5
* Thu 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