File evolution-webcal.spec of Package evolution-webcal

#
# spec file for package evolution-webcal
#
# 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:           evolution-webcal
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  intltool
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libecal-1.2)
BuildRequires:  pkgconfig(libsoup-2.4)
License:        GPLv2
Group:          Productivity/Office/Organizers
Version:        2.32.0
Release:        5
Summary:        Evolution Webcal
Source:         http://ftp.gnome.org/pub/gnome/sources/evolution-webcal/1.0/evolution-webcal-%{version}.tar.bz2
Url:            http://www.gnome.org/projects/evolution/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     %{name}-lang
%gconf_schemas_prereq

%description
Webcal subscribes to Web calendars for Evolution.


%lang_package
%prep
%setup
translation-update-upstream

%build
%configure\
	--libexecdir=%{_prefix}/lib/%{name}
make %{?_smp_mflags}

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

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr(-, root, root)
%{_prefix}/lib/%{name}

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by