Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
gnome-screensaver
gnome-screensaver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gnome-screensaver.spec of Package gnome-screensaver
# # spec file for package gnome-screensaver (Version 2.28.3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gnome-screensaver BuildRequires: dbus-1-glib-devel BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: gnome-desktop-devel BuildRequires: gnome-menus-devel BuildRequires: intltool BuildRequires: libfprint-devel BuildRequires: libglade2-devel BuildRequires: libgnomekbd-devel BuildRequires: libnotify-devel BuildRequires: libxslt BuildRequires: pam-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: xscreensaver Version: 2.28.3 Release: 0.<RELEASE1> Url: http://www.gnome.org/ Group: System/GUI/GNOME License: GPLv2+ Summary: GNOME Screen Saver and Locker Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/2.18/%{name}-%{version}.tar.bz2 Source1: xscreensaver-blacklist # PATCH-FEATURE-OPENSUSE gnome-screensaver-suse-pam.diff Patch: gnome-screensaver-suse-pam.diff # PATCH-FEATURE-OPENSUSE gnome-screensaver-xvkbd-on-lock.patch rodrigo@novell.com -- Run xvkbd when locking the screen Patch7: gnome-screensaver-xvkbd-on-lock.patch # PATCH-NEEDS-REBASE gnome-screensaver-2.19.1.1-securitytoken.patch Patch8: gnome-screensaver-2.19.1.1-securitytoken.patch # PATCH-FEATURE-UPSTREAM gnome-screensaver-finger-print.patch fate#301953 bgo#563703 Patch10: gnome-screensaver-finger-print.patch # PATCH-FIX-UPSTREAM gnome-screensaver-multihead-unlock.patch bnc#444157 bgo#455118 rodrigo@novell.com Patch12: gnome-screensaver-multihead-unlock.patch Requires: /sbin/unix2_chkpwd xscreensaver Provides: %{name}-devel = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq #### # For maintenance update only, to fix dependencies with lang # package # We want to keep the old lang package installable with this # updated package, to avoid requiring a lang update; but we also # want to make it possible to install the new lang package. # Note that we're using a branch that is string-frozen. #### %define release_version 2.28.0 Provides: %{name} = %{release_version} Requires: %{name}-lang >= %{release_version} Requires: %{name}-lang <= %{version} %description gnome-screensaver is a screen saver and locker that aims to havesimple, sane, and secure defaults and to be well integrated in the desktop. It is designed to support: * The ability to lock down configuration settings * Translation into other languages * User switching Authors: -------- William Jon McCann <mccann@jhu.edu> %lang_package %prep %setup -q translation-update-upstream %patch %patch7 -p1 # %patch8 -p1 %patch10 %patch12 %build # gnome-common intltool are needed only here autoreconf -f -i # FIXME: Maybe libexecdir the same as xscreensaver. %configure\ --libexecdir=%{_prefix}/lib/%{name}\ --with-pam-prefix=/etc\ --enable-authentication-scheme=helper\ --with-passwd-helper="/sbin/unix2_chkpwd"\ --with-xscreensaverdir=/etc/xscreensaver\ --disable-docbook-docs %__make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file gnome-screensaver %suse_update_desktop_file gnome-screensaver-preferences GNOME Screensaver X-SuSE-ControlCenter-LookAndFeel %suse_update_desktop_file popsquares %suse_update_desktop_file personal-slideshow %suse_update_desktop_file footlogo-floaters %suse_update_desktop_file cosmos-slideshow # migrate all xscreensaver savers, except blacklisted ones because they are ugly mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications/screensavers for file in `ls -1 /etc/xscreensaver/*.xml | grep -v -f %{S:1} | xargs` ; do file_root=`basename "$file" .xml` sh data/migrate-xscreensaver-config.sh $file # remove the Comment key: it's way too long for translators, # and it doesn't appear in the UI sed "s/\(^Comment=.*\)/#\1/g" $file_root.desktop > $RPM_BUILD_ROOT%{_datadir}/applications/screensavers/$file_root.desktop %suse_update_desktop_file $file_root done %find_lang %{name} %find_gconf_schemas cat %{name}.schemas_list >%{name}.lst sed -e 's/common-auth/common-auth-smartcard/g' < $RPM_BUILD_ROOT/etc/pam.d/gnome-screensaver > $RPM_BUILD_ROOT/etc/pam.d/gnome-screensaver-smartcard %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.lst %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog HACKING NEWS README TODO %config /etc/pam.d/gnome-screensaver %config /etc/pam.d/gnome-screensaver-smartcard %{_sysconfdir}/xdg/autostart/*.desktop %{_sysconfdir}/xdg/menus/gnome-screensavers.menu %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/applications/screensavers/*.desktop %{_datadir}/desktop-directories/gnome-screensaver.directory %{_datadir}/backgrounds/* %{_datadir}/gnome-background-properties/cosmos.xml %{_datadir}/gnome-screensaver %{_datadir}/pixmaps/gnome-logo-white.svg %{_mandir}/man1/gnome-screensaver*.1.gz %{_libdir}/pkgconfig/gnome-screensaver.pc %{_prefix}/lib/%{name} # FIXME: Directory ownership: %dir %{_datadir}/applications/screensavers # FIXME: Maybe bad directory ownership: %dir %{_datadir}/backgrounds # FIXME: Directory ownership: #%dir %{_sysconfdir}/xdg/menus %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor