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) 2013 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.0.3
Release:        0
License:        GPL-3.0+
Summary:        Cinnamon screensaver and locker
Url:            https://github.com/linuxmint/cinnamon-screensaver
Group:          System/GUI/Other
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

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

%prep
%setup -q

%build
./autogen.sh
%configure	--disable-static \
		--with-mit-ext \
		--with-xf86gamma-ext \
                --enable-locking \
		--enable-docbook-docs \
		--disable-schemas-compile \
		--with-systemd
make %{?_smp_mflags}

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

%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB HACKING NEWS README README.md
%config %{_sysconfdir}/pam.d/cinnamon-screensaver
%{_bindir}/cinnamon-screensaver
%{_bindir}/cinnamon-screensaver-command
%{_libexecdir}/cinnamon-screensaver-dialog
%{_datadir}/applications/cinnamon-screensaver.desktop
%{_datadir}/dbus-1/services/org.cinnamon.ScreenSaver.service
%doc %{_mandir}/man1/cinnamon-screensaver*.1.gz

%changelog