LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cinnamon-screensaver.spec of Package cinnamon-screensaver (Project home:k0da)

# spec file for package 
# Copyright (c) specCURRENT_YEAR 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/

Name:           cinnamon-screensaver
Version:        1.7.1
Release:        0
License:        GPL-2.0
Summary:        Cinnamon screensaver
Url:            https://github.com/linuxmint/cinnamon-screensaver
Group:          Amusements/Toys/Screensavers 
Source:         %{name}-%{version}.tar.bz2
#Copied over from cinnamon 1.7.1
Source1:        org.cinnamon.screensaver.gschema.xml
Patch0:         suse-pam.patch
Patch1:         cinnamon-screensaver-helper.patch
BuildRequires:  gnome-common
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gnome-desktop-3.0)
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
BuildRequires:  pam-devel
BuildRequires:  systemd-devel
Requires:       /sbin/unix2_chkpwd

Conflicts:      gnome-screensaver

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

cinnamon-screensaver is a screen saver and locker that aims to have
simple, sane, secure defaults and be well integrated with the desktop.
It is designed to support:

        * the ability to lock down configuration settings
        * translation into many languages
        * user switching


%setup -q
%patch0 -p1
%patch1 -p1

NOCONFIGURE=1 ./autogen.sh
%configure \
	--disable-static \
	--with-systemd \
	--with-console-kit \
	--enable-authentication-scheme=helper \
make %{?_smp_mflags}

%find_lang %{name} %{?no_lang_C}
install -D -m0644 %{S:1} %{buildroot}%{_datadir}/glib-2.0/schemas/org.cinnamon.screensaver.gschema.xml


%config /etc/pam.d/cinnamon-screensaver

%files lang -f %{name}.lang