Summary: Web calendar subscription utility for Evolution
-Summary(pl): Narzêdzie do subskrypcji sieciowego kalendarza dla Evolution
+Summary(pl.UTF-8): Narzędzie do subskrypcji sieciowego kalendarza dla Evolution
Name: evolution-webcal
-Version: 1.0.9
+Version: 2.10.0
Release: 1
-License: GPL
+License: GPL v2
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.bz2
-# Source0-md5: 958173737fcc6a4557ac59ebfb826589
-Patch0: %{name}-locale-names.patch
-BuildRequires: GConf2-devel
+Source0: http://ftp.gnome.org/pub/gnome/sources/evolution-webcal/2.10/%{name}-%{version}.tar.bz2
+# Source0-md5: a29004e6e1ad977845ed7c68963c8925
+BuildRequires: GConf2-devel >= 2.18.0.1
BuildRequires: autoconf >= 2.53
BuildRequires: automake
-BuildRequires: evolution-data-server-devel >= 0.0.98
-BuildRequires: gtk+2-devel >= 2:2.4.4
-BuildRequires: libgnomeui-devel >= 2.0.0
-BuildRequires: libsoup-devel >= 2.1.13
-Requires(post): GConf2
-Requires: gtk+2 >= 2:2.4.4
+BuildRequires: evolution-data-server-devel >= 1.10.0
+BuildRequires: gtk+2-devel >= 2:2.10.10
+BuildRequires: intltool >= 0.35.5
+BuildRequires: libgnomeui-devel >= 2.18.1
+BuildRequires: libsoup-devel >= 2.2.100
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
+Requires(post,preun): GConf2
+Requires: evolution >= 2.10.0
+Requires: gtk+2 >= 2:2.10.10
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Web calendar subscription utility for Evolution.
-%description -l pl
-Narzêdzie do subskrypcji sieciowego kalendarza dla Evolution.
+%description -l pl.UTF-8
+Narzędzie do subskrypcji sieciowego kalendarza dla Evolution.
%prep
%setup -q
-%patch0 -p1
-
-mv po/{no,nb}.po
%build
%{__aclocal}
rm -rf $RPM_BUILD_ROOT
%post
-%gconf_schema_install
+%gconf_schema_install evolution-webcal.schemas
+
+%preun
+%gconf_schema_uninstall evolution-webcal.schemas
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_libdir}/evolution-webcal
-%{_sysconfdir}/gconf/schemas/*
-%{_datadir}/application-registry/*
+%{_sysconfdir}/gconf/schemas/evolution-webcal.schemas