File compiz-plugins-main.spec of Package compiz-plugins-main

# spec file for package compiz-plugins-main
# Copyright (c) 2017 SUSE LINUX 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

Name:           compiz-plugins-main
Version:        0.8.14
Release:        0
Summary:        OpenGL window and compositing manager plugins
License:        GPL-2.0+
Group:          System/GUI/Other
# PATCH-FIX-UPSTREAM compiz-plugins-main-better-neg.patch -- neg plugin improvements (commits 10c31d4, 2265ce0, 5e40455).
Patch0:         compiz-plugins-main-better-neg.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gettext
BuildRequires:  intltool
BuildRequires:  libjpeg8-devel
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(bcop) >= 0.7.3
BuildRequires:  pkgconfig(cairo) >= 1.0
BuildRequires:  pkgconfig(cairo-xlib-xrender)
BuildRequires:  pkgconfig(compiz) < 0.9
BuildRequires:  pkgconfig(compiz-scale) < 0.9
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(pangocairo)
Requires:       compiz-plugins < 0.9
Recommends:     %{name}-lang
Conflicts:      compiz-extra < %{version}
ExcludeArch:    s390 s390x

This package contains the non-default Compiz compositing manager


%package devel
Summary:        OpenGL window and compositing manager plugins
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       pkgconfig(bcop)
Requires:       pkgconfig(cairo)
Requires:       pkgconfig(cairo-xlib-xrender)
Requires:       pkgconfig(compiz) < 0.9
Requires:       pkgconfig(compiz-scale) < 0.9
Requires:       pkgconfig(gl)
Requires:       pkgconfig(pangocairo)
Provides:       compiz-fusion-plugins-main-devel = %{version}
Obsoletes:      compiz-fusion-plugins-main-devel < %{version}

%description devel
This package contains the non-default Compiz compositing manager

%setup -q
%patch0 -p1
%if 0%{?suse_version} <= 1320 && !(0%{?sle_version} > 120100 && 0%{?is_opensuse})
# Workaround /usr/@DATADIRNAME@/locale/.
rm -r m4/

%configure \
make %{?_smp_mflags} V=1

find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}


%files lang -f %{name}.lang

%files devel

openSUSE Build Service is sponsored by