File anjuta-extras.spec of Package anjuta-extras

#
# spec file for package anjuta-extras
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands.
#
# 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:           anjuta-extras
Summary:        Extra plugins for anjuta
Version:        3.2.0
Release:        1
License:        GPLv2+
Group:          Development/Tools/IDE
Url:            http://download.gnome.org/sources/anjuta-extras
Source:         http://download.gnome.org/sources/anjuta-extras/3.2/%{name}-%{version}.tar.bz2
# For directory ownership; okay since we have a Requires on anjuta
BuildRequires:  anjuta
BuildRequires:  anjuta-devel
BuildRequires:  gcc-c++
BuildRequires:  intltool
BuildRequires:  translation-update-upstream
Recommends:     %{name}-lang
Requires:       anjuta
Requires:       gsettings-desktop-schemas
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires

%description
The package contains the following plugins:

    * Scintilla Editor
    * Scratchbox Support

%lang_package
%prep
%setup -q
translation-update-upstream

%build
%configure --disable-static
%__make %{?smp_mflags}

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

%post
%glib2_gsettings_schema_post

%postun
%glib2_gsettings_schema_postun

%files
%defattr(-,root,root)
%{_libdir}/anjuta/*.plugin
%{_libdir}/anjuta/*.so*
%{_datadir}/pixmaps/anjuta/*
%{_datadir}/anjuta/*
%{_datadir}/glib-2.0/schemas/org.gnome.anjuta.*.gschema.xml

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by