File gtk2-engine-murrine.spec of Package gtk2-engine-murrine

#
# spec file for package gtk2-engine-murrine
#
# Copyright (c) 2012 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:           gtk2-engine-murrine
%define _name   murrine
Summary:        Murrine GTK Theme Engine
License:        LGPL-2.1 or LGPL-3.0
Group:          System/GUI/XFCE
Version:        0.98.2
Release:        0
Url:            http://ftp.gnome.org/pub/GNOME/sources/murrine/
Source:         http://download.gnome.org/sources/murrine/0.98/%{_name}-%{version}.tar.xz
Source2:        baselibs.conf
BuildRequires:  gtk2-devel >= 2.12.0
BuildRequires:  intltool
BuildRequires:  pkg-config
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires:  xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Murrine is a GTK+ 2 theme engine, that uses the Cairo vector drawing
library to render widgets. It features a modern glassy look, is elegant
and clean on the eyes, and is extremely customizable.

%prep
%setup -q -n %{_name}-%{version}

%build
%configure --enable-animation
%__make %{?_smp_mflags}

%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.2.1 ChangeLog NEWS README TODO
%{_libdir}/gtk-2.0/*/engines/*
%dir %{_datadir}/gtk-engines
%{_datadir}/gtk-engines/murrine.xml

%changelog
openSUSE Build Service is sponsored by