automatic version update by autodist [release 5.26-1mamba;Thu Dec 12 2013]
This commit is contained in:
parent
cc6286adcb
commit
c94dfa342e
@ -1,2 +1,7 @@
|
||||
# xscreensaver
|
||||
|
||||
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.
|
||||
|
||||
|
214
xscreensaver.spec
Normal file
214
xscreensaver.spec
Normal file
@ -0,0 +1,214 @@
|
||||
Name: xscreensaver
|
||||
Version: 5.26
|
||||
Release: 1mamba
|
||||
Summary: A screen saver and locker for the X Window System
|
||||
Group: Graphical Desktop/Look 'n' feel/Screensavers
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Aleph0 <aleph0@openmamba.org>
|
||||
Source: http://www.jwz.org/xscreensaver/xscreensaver-%{version}.tar.gz
|
||||
URL: http://www.jwz.org/xscreensaver/
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libglade-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libGLU-devel
|
||||
BuildRequires: libgtk-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libXmu-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: libXxf86misc-devel
|
||||
BuildRequires: libXxf86vm-devel
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: bc
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: xorg-proto-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: libpng-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
# Warning: The "pkg-config" program produces errors. This often causes
|
||||
# detection of the various GTK libraries to malfunction.
|
||||
# The errors are:
|
||||
#
|
||||
# > Package xp was not found in the pkg-config search path.
|
||||
# > Perhaps you should add the directory containing `xp.pc'
|
||||
# > to the PKG_CONFIG_PATH environment variable
|
||||
# > Package 'xp', required by 'Xaw', not found
|
||||
|
||||
%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}
|
||||
|
||||
%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
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description daemon
|
||||
Daemon with configuration tool for controlling screen savers.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%ifarch x86_64
|
||||
--libexecdir=/usr/libexec \
|
||||
%endif
|
||||
--with-gl \
|
||||
--without-motif \
|
||||
--with-pam \
|
||||
--without-kerberos \
|
||||
--with-configdir=%{_sysconfdir}/xscreensaver/ \
|
||||
--with-x-app-defaults=%{_sysconfdir}/X11/app-defaults/
|
||||
|
||||
# --with-image-directory=/opt/kde/share/wallpapers/
|
||||
# --with-setuid-hacks
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||
|
||||
%makeinstall install_prefix=%{buildroot}
|
||||
%find_lang %{name}
|
||||
|
||||
# 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
|
||||
|
||||
cat %{name}.lang >> filelist-gl
|
||||
|
||||
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
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
||||
rm -f filelist-main filelist-gl
|
||||
|
||||
%files daemon
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %{_sysconfdir}/pam.d/xscreensaver
|
||||
%attr(4755,root,root) %{_bindir}/xscreensaver
|
||||
%{_bindir}/xscreensaver-command
|
||||
%{_bindir}/xscreensaver-demo
|
||||
%{_bindir}/xscreensaver-getimage
|
||||
%{_bindir}/xscreensaver-getimage-file
|
||||
%{_bindir}/xscreensaver-getimage-video
|
||||
%{_bindir}/xscreensaver-text
|
||||
%{_mandir}/man1/xscreensaver.*
|
||||
%{_mandir}/man1/xscreensaver-command.*
|
||||
%{_mandir}/man1/xscreensaver-demo.*
|
||||
%{_mandir}/man1/xscreensaver-getimage.*
|
||||
%{_mandir}/man1/xscreensaver-getimage-file.*
|
||||
%{_mandir}/man1/xscreensaver-getimage-video.*
|
||||
%{_mandir}/man1/xscreensaver-text.*
|
||||
%dir %{_datadir}/xscreensaver
|
||||
%{_datadir}/xscreensaver/glade
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/applications/xscreensaver-properties.desktop
|
||||
%config %{_sysconfdir}/X11/app-defaults/XScreenSaver
|
||||
%doc README*
|
||||
|
||||
%files -f filelist-main
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -f filelist-gl gl
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Tue Feb 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 4.14-1qilnx
|
||||
- first build
|
Loading…
Reference in New Issue
Block a user