2024-01-05 19:56:02 +01:00
|
|
|
%define dirver %(echo %version | cut -d. -f1-2)
|
2024-01-05 19:56:01 +01:00
|
|
|
Name: xscreensaver
|
2024-06-12 09:48:11 +02:00
|
|
|
Version: 6.09
|
2024-01-05 19:56:01 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A screen saver and locker for the X Window System
|
|
|
|
Group: Graphical Desktop/Look 'n' feel/Screensavers
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 19:56:02 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 19:56:02 +01:00
|
|
|
URL: https://www.jwz.org/xscreensaver/
|
2024-01-05 19:56:01 +01:00
|
|
|
Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz
|
2024-01-05 19:56:02 +01:00
|
|
|
Source1: xscreensaver-autostart
|
2024-01-05 19:56:01 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libXft-devel
|
|
|
|
BuildRequires: libXi-devel
|
2024-01-05 19:56:01 +01:00
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXrender-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libXxf86vm-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-06-12 09:48:11 +02:00
|
|
|
BuildRequires: libavcodec-devel
|
|
|
|
BuildRequires: libavformat-devel
|
|
|
|
BuildRequires: libavutil-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 19:56:03 +01:00
|
|
|
BuildRequires: libglu-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libpam-devel
|
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 19:56:03 +01:00
|
|
|
BuildRequires: libperl
|
2024-06-12 09:48:11 +02:00
|
|
|
BuildRequires: libswresample-devel
|
|
|
|
BuildRequires: libswscale-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 19:56:03 +01:00
|
|
|
BuildRequires: libxcrypt-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-06-12 09:48:11 +02:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 19:56:03 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-05 19:56:01 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: bc
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: xorg-proto-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: pkgconf
|
2024-01-05 19:56:01 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-xlib-devel
|
2024-01-05 19:56:02 +01:00
|
|
|
Requires: xscreensaver-daemon
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A modular screen saver and locker for the X Window System.
|
|
|
|
Highly customizable: allows the use of any program that can draw on the root window as a display mode.
|
|
|
|
More than 175 display modes are included in this package.
|
|
|
|
See also the xscreensaver-gl package, which includes optional OpenGL display modes.
|
|
|
|
|
|
|
|
%package gl
|
|
|
|
Group: Graphical Desktop/Look 'n' feel/Screensavers
|
|
|
|
Summary: A set of GL screensavers
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2024-01-05 19:56:02 +01:00
|
|
|
Requires: xscreensaver-daemon
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
%description gl
|
|
|
|
The xscreensaver-gl package contains even more screensavers for your mind-numbing, ambition-eroding, time-wasting, hypnotized viewing pleasure.
|
|
|
|
These screensavers require OpenGL or Mesa support.
|
|
|
|
Install the xscreensaver-gl package if you need more screensavers for use with the X Window System and you have OpenGL or Mesa installed.
|
|
|
|
|
|
|
|
%package daemon
|
|
|
|
Group: Graphical Desktop/Look 'n' feel/Screensavers
|
|
|
|
Summary: Daemon with configuration tool for controlling screen savers
|
|
|
|
|
|
|
|
%description daemon
|
|
|
|
Daemon with configuration tool for controlling screen savers.
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
%prep
|
2024-01-05 19:56:02 +01:00
|
|
|
%setup -q -n %{name}-%{dirver}
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 19:56:02 +01:00
|
|
|
# configure macro fails due to --disable-dependency-tracking
|
|
|
|
./configure \
|
|
|
|
--host=%{_host} --build=%{_build} \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--exec-prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--sbindir=%{_sbindir} \
|
|
|
|
--sysconfdir=%{_sysconfdir} \
|
|
|
|
--datadir=%{_datadir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--libexecdir=%{_libexecdir} \
|
|
|
|
--localstatedir=%{_localstatedir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--infodir=%{_infodir} \
|
2024-01-05 19:56:01 +01:00
|
|
|
--with-gl \
|
|
|
|
--without-motif \
|
|
|
|
--with-pam \
|
|
|
|
--without-kerberos \
|
2024-01-05 19:56:02 +01:00
|
|
|
--with-login-manager \
|
|
|
|
--with-systemd \
|
2024-01-05 19:56:02 +01:00
|
|
|
--with-configdir=%{_sysconfdir}/xscreensaver/
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
# --with-image-directory=/opt/kde/share/wallpapers/
|
|
|
|
# --with-setuid-hacks
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%makeinstall install_prefix=%{buildroot}
|
2024-01-05 19:56:02 +01:00
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
#% find_lang %{name}
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
# this function prints a list of things that get installed.
|
|
|
|
# it does this by parsing the output of a dummy run of "make install".
|
|
|
|
list_files() {
|
|
|
|
make -s install_prefix=%{buildroot} INSTALL=true "$@" |
|
|
|
|
sed -n -e 's@.* \(/[^ ]*\)$@\1@p' |
|
|
|
|
sed -e "s@^%{buildroot}@@" \
|
|
|
|
-e "s@/[a-z][a-z]*/\.\./@/@" |
|
|
|
|
sed -e 's@\(.*/man/.*\)@\1\*@' |
|
|
|
|
sed -e 's@\(.*/app-defaults/\)@%config \1@' \
|
|
|
|
-e 's@\(.*/pam\.d/\)@%config(missingok) \1@' |
|
|
|
|
sort
|
|
|
|
}
|
|
|
|
|
|
|
|
( cd hacks/glx; list_files install ) > filelist-gl
|
|
|
|
( cd hacks; list_files install ) > filelist-main
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
#cat %{name}.lang >> filelist-gl
|
2024-01-05 19:56:01 +01:00
|
|
|
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/xscreensaver/README
|
|
|
|
|
|
|
|
# make sure all files are readable by all, and writable only by owner
|
|
|
|
chmod -R a+r,u+w,og-w %{buildroot}
|
|
|
|
|
|
|
|
install -D -m0644 driver/xscreensaver.pam %{buildroot}%{_sysconfdir}/pam.d/xscreensaver
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
rm -f filelist-main filelist-gl
|
|
|
|
|
|
|
|
%files daemon
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 19:56:02 +01:00
|
|
|
#%{_sysconfdir}/X11/app-defaults/XScreenSaver
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
|
2024-01-05 19:56:01 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/xscreensaver
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_bindir}/xscreensaver
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_bindir}/xscreensaver-*
|
|
|
|
%{_libexecdir}/xscreensaver/xscreensaver-*
|
2024-01-05 19:56:02 +01:00
|
|
|
%attr(4755,root,root) %{_libexecdir}/xscreensaver/xscreensaver-auth
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_datadir}/applications/xscreensaver-settings.desktop
|
|
|
|
%{_datadir}/applications/xscreensaver.desktop
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_datadir}/X11/app-defaults/XScreenSaver
|
2024-01-05 19:56:02 +01:00
|
|
|
%dir %{_datadir}/fonts/xscreensaver
|
2024-01-05 19:56:03 +01:00
|
|
|
#%{_datadir}/fonts/xscreensaver/*.otf
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_datadir}/fonts/xscreensaver/*.ttf
|
2024-01-05 19:56:02 +01:00
|
|
|
%dir %{_datadir}/xscreensaver
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_datadir}/xscreensaver/xscreensaver.service
|
2024-01-05 19:56:02 +01:00
|
|
|
#%dir %{_datadir}/xscreensaver/ui
|
|
|
|
#%{_datadir}/xscreensaver/ui/*
|
2024-01-05 19:56:01 +01:00
|
|
|
%{_mandir}/man1/xscreensaver.*
|
2024-01-05 19:56:02 +01:00
|
|
|
%{_mandir}/man1/xscreensaver-*.1*
|
|
|
|
%{_mandir}/man6/xscreensaver-*.6*
|
2024-01-05 19:56:01 +01:00
|
|
|
%{_datadir}/pixmaps/*
|
2024-01-05 19:56:02 +01:00
|
|
|
#%{_datadir}/applications/xscreensaver-properties.desktop
|
2024-01-05 19:56:01 +01:00
|
|
|
%doc README*
|
|
|
|
|
|
|
|
%files -f filelist-main
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%files -f filelist-gl gl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-06-12 09:48:11 +02:00
|
|
|
* Mon Jun 10 2024 Automatic Build System <autodist@openmamba.org> 6.09-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:04 +01:00
|
|
|
* Wed Oct 11 2023 Automatic Build System <autodist@mambasoft.it> 6.08-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:03 +01:00
|
|
|
* Thu Aug 31 2023 Automatic Build System <autodist@mambasoft.it> 6.07-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Mon Dec 12 2022 Automatic Build System <autodist@mambasoft.it> 6.06-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Mon Sep 19 2022 Automatic Build System <autodist@mambasoft.it> 6.05.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Wed Jun 08 2022 Automatic Build System <autodist@mambasoft.it> 6.04-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Fri Apr 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.03-1mamba
|
|
|
|
- update to 6.03
|
|
|
|
- install suid %{_libexecdir}/xscreensaver/xscreensaver-auth instaed of %{_bindir}/xscreensaver
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 6.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Tue Jul 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.01-1mamba
|
|
|
|
- update to 6.01
|
|
|
|
|
|
|
|
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 6.00-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Mon Mar 01 2021 Automatic Build System <autodist@mambasoft.it> 5.45-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Sun Mar 29 2020 Automatic Build System <autodist@mambasoft.it> 5.44-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.43-1mamba
|
|
|
|
- update to 5.43
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Thu Aug 23 2018 Automatic Build System <autodist@mambasoft.it> 5.40-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Thu Apr 19 2018 Automatic Build System <autodist@mambasoft.it> 5.39-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Wed Dec 27 2017 Automatic Build System <autodist@mambasoft.it> 5.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Sun Aug 13 2017 Automatic Build System <autodist@mambasoft.it> 5.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Sat Oct 15 2016 Automatic Build System <autodist@mambasoft.it> 5.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Tue Jun 28 2016 Automatic Build System <autodist@mambasoft.it> 5.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Wed Oct 28 2015 Automatic Build System <autodist@mambasoft.it> 5.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Wed Jul 15 2015 Automatic Build System <autodist@mambasoft.it> 5.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Tue Nov 25 2014 Automatic Build System <autodist@mambasoft.it> 5.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Wed Sep 17 2014 Automatic Build System <autodist@mambasoft.it> 5.30-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Mon Jun 09 2014 Automatic Build System <autodist@mambasoft.it> 5.29-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Sun Jun 08 2014 Automatic Build System <autodist@mambasoft.it> 5.28-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 19:56:01 +01:00
|
|
|
* Thu Dec 12 2013 Automatic Build System <autodist@mambasoft.it> 5.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 25 2013 Automatic Build System <autodist@mambasoft.it> 5.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 22 2013 Automatic Build System <autodist@mambasoft.it> 5.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.21-2mamba
|
|
|
|
- move daemon and configuration tool to xscreensaver-daemon subpackage to avoid duplicating DE management
|
|
|
|
|
|
|
|
* Thu Feb 07 2013 Automatic Build System <autodist@mambasoft.it> 5.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 02 2012 Automatic Build System <autodist@mambasoft.it> 5.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Dec 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.15-1mamba
|
|
|
|
- update to 5.15
|
|
|
|
- don't set kde wallpapers dir as image directory
|
|
|
|
|
|
|
|
* Thu Jan 27 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12-1mamba
|
|
|
|
- update to 5.12
|
|
|
|
|
|
|
|
* Sat Jan 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10-1mamba
|
|
|
|
- update to 5.10
|
|
|
|
- added pam configuration file
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 Aleph0 <aleph0@openmamba.org> 5.07-1mamba
|
|
|
|
- update to 5.07
|
|
|
|
|
|
|
|
* Tue Oct 23 2007 Aleph0 <aleph0@openmamba.org> 5.03-1mamba
|
|
|
|
- update to 5.03
|
|
|
|
- xml files moved to %{_sysconfdir}/xscreensaver (configdir)
|
|
|
|
- saver configuration moved to %{_sysconfdir}/X11/app-defaults
|
|
|
|
|
|
|
|
* Wed May 09 2007 Aleph0 <aleph0@openmamba.org> 5.02-1mamba
|
|
|
|
- update to 5.02 (fixes CVE-2007-1859)
|
|
|
|
|
|
|
|
* Tue Jan 23 2007 Davide Madrisan <davide.madrisan@qilinux.it> 5.01-1qilnx
|
|
|
|
- update to version 5.01 by autospec
|
|
|
|
- added build requirements for xorg7 and libfontenc
|
|
|
|
- using xorg7 default path for app-defaults files
|
|
|
|
- disable kerberos support, use pam instead
|
|
|
|
|
2024-01-05 19:56:02 +01:00
|
|
|
* Thu Feb 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 4.14-1qilnx
|
2024-01-05 19:56:01 +01:00
|
|
|
- first build
|