File unico.spec of Package unico
#
# spec file for package unico
#
# 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: unico
Version: 1.0.2
Release: 0
Summary: The Unico Gtk+ Theming Engine
License: LGPL-2.1+
Group: System/GUI/GNOME
Url: http://launchpad.net/unico
Source0: %{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM unico-bnc813150-gtk-theming-engine-crash.patch bnc#813150 lp#1000545 glin@suse.com - Fix crash on gtk-theming-engine
Patch1: unico-bnc813150-gtk-theming-engine-crash.patch
BuildRequires: gnome-common
BuildRequires: pkgconfig(cairo) >= 1.10
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.14
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Unico is a Gtk+ engine that aims to be the more complete yet powerful
theming engine for Gtk+ 3.0 and newer. It’s the first Gtk+ engine
written with Gtk+ style context APIs in mind, using CSS as first
class citizen.
%package -n gtk3-engine-unico
Summary: The Unico Gtk+ Theming Engine
Group: System/GUI/GNOME
%description -n gtk3-engine-unico
Unico is a Gtk+ engine that aims to be the more complete yet powerful
theming engine for Gtk+ 3.0 and newer. It’s the first Gtk+ engine
written with Gtk+ style context APIs in mind, using CSS as first
class citizen.
%prep
%setup -q
%patch1 -p0
%build
./autogen.sh
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name "*.la" -type f -delete -print
%files -n gtk3-engine-unico
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS
%{_libdir}/gtk-3.0/*/theming-engines/libunico.so
%changelog