File unico.spec of Package unico
#
# spec file for package unico
#
# Copyright (c) 2015 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 http://bugs.opensuse.org/
#
%define _version 1.0.3+14.04.20140109
Name: unico
Version: 1.0.3+bzr20140109
Release: 0
Summary: Gtk3 theming engine
License: LGPL-2.1+
Group: System/GUI/GNOME
Url: http://launchpad.net/unico
Source: http://archive.ubuntu.com/ubuntu/pool/main/u/%{name}/%{name}_%{_version}.orig.tar.gz
BuildRequires: gnome-common
BuildRequires: pkgconfig(cairo) >= 1.10
BuildRequires: pkgconfig(glib-2.0) >= 2.26.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.5.2
%description
Unico is a GTK+ engine that aims to be the more complete yet
powerful theming engine for Gtk3. 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: Gtk3 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 Gtk3. It’s the first Gtk+ engine
written with Gtk+ style context APIs in mind, using CSS as first
class citizen.
%prep
%setup -q -n %{name}-%{_version}
%build
gnome-autogen.sh
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%files -n gtk3-engine-unico
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS
%{_libdir}/gtk-3.0/*/theming-engines/libunico.so
%changelog