File unico.spec of Package unico

#
# spec file for unico
#
# Copyright (c) 2011 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.1
Release:        1
License:        LGPL-2.1+
Summary:        The Unico Gtk+ Theming Engine
Url:            http://launchpad.net/unico
Group:          System/GUI/GNOME
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  pkgconfig(gtk+-3.0)
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
License:        LGPL-2.1+
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

%build
%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
openSUSE Build Service is sponsored by