LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File deskbar-applet.spec of Package deskbar-applet (Project GNOME:STABLE:2.30)

#
# spec file for package deskbar-applet (Version 2.30.1)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           deskbar-applet
BuildRequires:  dbus-1-python-devel
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-desktop-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-python-desktop
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  python-gtk-devel
BuildRequires:  translation-update-upstream
Version:        2.30.1
Release:        2
Url:            http://raphael.slinckx.net/deskbar
Group:          System/GUI/GNOME
License:        GPLv2+
Summary:        Deskbar applet for GNOME
Source:         %{name}-%{version}.tar.bz2
Requires:       gnome-python-desktop dbus-1-python
Requires:       %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%py_requires
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%define python_sitearch %{py_sitedir}
%endif
%gconf_schemas_prereq

%description
The goal of DeskbarApplet is to provide an omnipresent versatile search
interface. By typing search terms into the deskbar entry in your panel
you are presented with the search results as you type.

Seaches are handled by a series of plugins. DeskbarApplet provides a
simple interface to manage these plugins to provide you with the search
results that fit your needs.

%package devel
License:        GPLv2+
Summary:        Deskbar applet for GNOME
Group:          System/GUI/GNOME
Requires:       %{name} = %{version} python-gtk-devel

%description devel
The goal of DeskbarApplet is to provide an omnipresent versatile search
interface. By typing search terms into the deskbar entry in your panel
you are presented with the search results as you type.

Seaches are handled by a series of plugins. DeskbarApplet provides a
simple interface to manage these plugins to provide you with the search
results that fit your needs.

%lang_package
%prep
%setup
translation-update-upstream

%build
%configure\
	--disable-schemas-install \
        --disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
%find_lang %{name}
%find_lang deskbar %{name}.lang
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.schemas_list
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_datadir}/deskbar-applet
%{_datadir}/icons/*/*/*/*.*
%{_libdir}/bonobo/servers/Deskbar_Applet.server
%{_libexecdir}/deskbar-applet
%{python_sitelib}/deskbar

%files devel
%defattr (-, root, root)
%{_libdir}/pkgconfig/deskbar-applet.pc

%files lang -f %{name}.lang

%changelog