File cinnamon-screensaver.spec of Package cinnamon-screensaver

# spec file for package cinnamon-screensaver
# Copyright (c) 2020 SUSE LLC
# 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

Name:           cinnamon-screensaver
Version:        4.6.0
Release:        0
Summary:        Cinnamon screensaver and locker
License:        GPL-2.0-or-later
Group:          System/GUI/Other
# PATCH-FIX-OPENSUSE cinnamon-screensaver-suse-pam.patch -- Use SUSE-specific PAM configuration.
Patch0:         %{name}-suse-pam.patch
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  meson
BuildRequires:  pam-devel
BuildRequires:  pkgconfig
BuildRequires:  python3 >= 3.4
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gdk-x11-3.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
Requires:       iso-country-flags-png
Requires:       python3-cairo
Requires:       python3-gobject
Requires:       python3-gobject-Gdk
Requires:       python3-gobject-cairo
Requires:       python3-setproctitle
Requires:       python3-xapp
Recommends:     %{name}-lang
Recommends:     xscreensaver-data
Suggests:       xscreensaver-data-extra

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
%patch0 -p1



# Remove development files as they're not really there to be used.
rm -rf %{buildroot}%{_libdir}/ \
  %{buildroot}%{_includedir}/%{name}/                  \
  %{buildroot}%{_libdir}/pkgconfig/cscreensaver.pc     \

find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}%{_datadir}/
%suse_update_desktop_file %{name}

%if 0%{?suse_version} < 1500

%if 0%{?suse_version} < 1500

%license COPYING*
%doc AUTHORS debian/changelog
%config %{_sysconfdir}/pam.d/cinnamon-screensaver

openSUSE Build Service is sponsored by