File contact-lookup-applet.spec of Package contact-lookup-applet

#
# spec file for package contact-lookup-applet (Version 0.17)
#
# 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/
#



Name:           contact-lookup-applet
Version:        0.17
Release:        9
License:        GPLv2+
Summary:        Evolution Address Book Search Applet
Url:            http://www.gnome.org
Group:          System/GUI/GNOME
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gnome-panel-devel
BuildRequires:  intltool
BuildRequires:  libglade2-devel
BuildRequires:  libgnomeui-devel
BuildRequires:  translation-update-upstream
Requires:       %{name}-lang = %{version}
Requires:       gnome-utils
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This applet allows you to search for people in your Evolution 2 address
book.

To use, simply add it to your panel (Add to Panel -> Accessories ->
Address book Lookup), type a name into the field, and hit [Enter] or
Search.

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

%build
intltoolize -f
autoreconf -f -i
# FIXME: e-contact-entry.c:348: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure\
	--libexecdir=%{_prefix}/lib/%{name}
make %{?_smp_mflags}

%install
%makeinstall
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%fdupes %{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/lookup-applet
%{_libdir}/bonobo/servers/*.server
%{_prefix}/lib/%{name}

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by