Summary: The GNOME Email Client
Summary(pl): Klient poczty dla GNOME
Name: cronosII
-Version: 0.1.2
+Version: 0.2.2.23
Release: 1
License: GPL
Group: Applications/Mail
-Group(de): Applikationen/Post
-Group(pl): Aplikacje/Poczta
-Group(pt): Aplicações/Correio Eletrônico
-Source0: ftp://cronosii.sourceforge.net/pub/cronosii/%{name}-%{version}.tar.bz2
+Source0: http://dl.sourceforge.net/cronosii/%{name}-%{version}.tar.bz2
+Patch0: %{name}-DESTDIR.patch
+Patch1: %{name}-includes.patch
URL: http://cronosII.sourceforge.net/
-BuildRequires; autoconf
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: gettext-devel
BuildRequires: glib-devel
BuildRequires: gnome-libs-devel
-BuildRequires: gnome-print-devel >= 0.20.0
+BuildRequires: gnome-print-devel >= 0.28
+BuildRequires: gdk-pixbuf-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
%description
Cronos II is a powerful GNOME mail client that uses its own database
-storage format to ensure the high performance it reachs.
+storage format to ensure the high performance it reaches.
%description -l fr
Cronos II est un puissant lecteur de mails pour GNOME. Il utilise son
%prep
%setup -q
+%patch0 -p1
+%patch1
+
+rm -f acinclude.m4 missing
%build
-gettextize -c -f
-autoconf
+rm -f missing
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I %{_aclocaldir}/gnome
+%{__autoconf}
+%{__automake}
%configure
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
desktopdir=%{_applnkdir}/Network/Mail \
- Internetdir=%{_applnkdir}/Network/Mail
-
-gzip -9nf TODO README NEWS FEATURES AUTHORS ChangeLog
+ Internetdir=%{_applnkdir}/Network/Mail
%find_lang %{name} --with-gnome
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc TODO README NEWS FEATURES AUTHORS ChangeLog
%attr(755,root,root) %{_bindir}/*
%{_datadir}/%{name}
%{_applnkdir}/*/*/*.desktop