LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File cinnamon-screensaver.spec of Package cinnamon-screensaver (Project X11:Cinnamon:Factory)

# spec file for package cinnamon-screensaver
# Copyright (c) 2014 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:        2.4.2
Release:        0
Summary:        Cinnamon screensaver and locker
License:        GPL-3.0+
Group:          System/GUI/Other
Url:            https://github.com/linuxmint/cinnamon-screensaver
Source:         %{name}-%{version}.tar.gz
Source1:        cinnamon-screensaver.pam
BuildRequires:  gnome-common
BuildRequires:  pam-devel
BuildRequires:  systemd-devel
BuildRequires:  update-desktop-files
BuildRequires:  xmlto
BuildRequires:  pkgconfig(cinnamon-desktop)
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(ice)
BuildRequires:  pkgconfig(libgnomekbdui)
BuildRequires:  pkgconfig(sm)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xscrnsaver)
BuildRequires:  pkgconfig(xxf86misc)
BuildRequires:  pkgconfig(xxf86vm)
Recommends:     cinnamon-translations
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

cinnamon-screensaver is a screensaver and locker that aims to have simple,
 sane and secure defaults, and be well integrated with the Cinnamon desktop.

%setup -q

%configure	--disable-static \
		--with-mit-ext \
		--with-xf86gamma-ext \
                --enable-locking \
		--enable-docbook-docs \
		--disable-schemas-compile \
make %{?_smp_mflags}

install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/cinnamon-screensaver
%suse_update_desktop_file %{name}

%config %{_sysconfdir}/pam.d/cinnamon-screensaver
%doc %{_mandir}/man1/cinnamon-screensaver*.1.gz