]> git.pld-linux.org Git - packages/cronosII.git/blobdiff - cronosII.spec
- use http for sources from sourceforge
[packages/cronosII.git] / cronosII.spec
index d8584f352b3e03a502337266ecc9f2a5a02ee140..ffb1f0ecbd27f05ec1612cf2fcb02ecf7a42a92d 100644 (file)
@@ -1,26 +1,28 @@
 Summary:       The GNOME Email Client
 Summary(pl):   Klient poczty dla GNOME
 Name:          cronosII
-Version:       0.1.0
+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.gz
+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: automake
+BuildRequires: libtool
+BuildRequires: gettext-devel
 BuildRequires: glib-devel
-BuildRequires: gnome-print-devel >= 0.20.0
 BuildRequires: gnome-libs-devel
-BuildRequires: gettext-devel
+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
@@ -34,10 +36,18 @@ jej czytania.
 
 %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}
 
@@ -47,9 +57,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
 
@@ -58,9 +66,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
-%{_datadir}/pixmaps/*
+%{_pixmapsdir}/*
 %{_mandir}/man*/*
This page took 0.087531 seconds and 4 git commands to generate.