Name: geary Version: 0.6.1 Release: 3%{?dist} Summary: A lightweight email program designed around conversations License: LGPLv2+ URL: http://yorba.org/geary/ Source0: https://download.gnome.org/sources/geary/0.6/%{name}-%{version}.tar.xz Patch0: geary-0.5.3-vapigen.patch # upstream commit f38c8c70 Patch1: geary-0.6.1-fix-timezone.patch # upstream commit 1f6528b6 Patch2: geary-0.6.1-fix-printf.patch BuildRequires: vala >= 0.22.1 BuildRequires: vala-tools >= 0.22.1 BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool BuildRequires: gnome-doc-utils BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gio-2.0) >= 2.28.0 BuildRequires: pkgconfig(gtk+-3.0) >= 3.6.0 BuildRequires: pkgconfig(gee-0.8) >= 0.8.5 BuildRequires: pkgconfig(unique-3.0) >= 3.0.0 BuildRequires: pkgconfig(libnotify) >= 0.7.5 BuildRequires: pkgconfig(libcanberra) >= 0.28 BuildRequires: pkgconfig(sqlite3) >= 3.7.4 BuildRequires: pkgconfig(gmime-2.6) >= 2.6.0 BuildRequires: pkgconfig(libsecret-1) >= 0.11 BuildRequires: pkgconfig(webkitgtk-3.0) >= 1.10.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8 BuildRequires: pkgconfig(gobject-introspection-1.0) Requires: hicolor-icon-theme %if 0%{?fedora} < 20 %global vala_version_suffix -0.22 %endif %description Geary is a new email reader for GNOME designed to let you read your email quickly and effortlessly. Its interface is based on conversations, so you can easily read an entire discussion without having to click from message to message. Geary is still in early development and has limited features today, but we're planning to add drag-and-drop attachments, lightning-fast searching, multiple account support and much more. Eventually we'd like Geary to have an extensible plugin architecture so that developers will be able to add all kinds of nifty features in a modular way. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %cmake -DVALA_EXECUTABLE:FILEPATH=%{_bindir}/valac%{?vala_version_suffix} \ -DVAPIGEN:FILEPATH=%{_bindir}/vapigen%{?vala_version_suffix} \ -DGSETTINGS_COMPILE=OFF \ -DGSETTINGS_COMPILE_IN_PLACE=OFF \ -DICON_UPDATE=OFF \ -DDESKTOP_UPDATE=OFF make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} desktop-file-validate %{buildroot}%{_datadir}/applications/geary.desktop %find_lang %{name} --with-gnome %post update-desktop-database &>/dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : fi %posttrans gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING NEWS MAINTAINERS README THANKS %{_bindir}/geary %{_datadir}/geary %{_datadir}/applications/geary.desktop %{_datadir}/appdata/geary.appdata.xml %{_datadir}/glib-2.0/schemas/org.yorba.geary.gschema.xml %{_datadir}/icons/hicolor/*/apps/geary.* %changelog * Sat Aug 16 2014 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jul 25 2014 Thomas Moschny - 0.6.1-2 - Add patch to fix timezone in date header (rhbz#1121306). - Add patch to build with vala 0.25.1. * Fri Jul 4 2014 Thomas Moschny - 0.6.1-1 - Update to 0.6.1. * Sat Jun 07 2014 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 20 2014 Thomas Moschny - 0.6.0-1 - Update to 0.6.0. * Tue Feb 18 2014 Thomas Moschny - 0.4.3-1 - Update to 0.4.3. - Cherry-pick patch to compile with WebKitGTK 2.3.x. - Update source URL. * Sat Nov 23 2013 Thomas Moschny - 0.4.2-1 - Update to 0.4.2. - Drop patch applied upstream. * Sat Nov 16 2013 Thomas Moschny - 0.4.1-1 - Update to 0.4.1. * Wed Oct 9 2013 Thomas Moschny - 0.4.0-1 - Update to 0.4.0. - Drop patch applied upstream. - Update build requirements. - Include appdata file. * Sat Aug 17 2013 Thomas Moschny - 0.3.1-3 - Fix FTBFS with WebKitGTK+ 2.1 (rhbz#992326). * Sat Aug 03 2013 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 10 2013 Thomas Moschny - 0.3.1-1 - Update to 0.3.1. * Wed Mar 20 2013 Thomas Moschny - 0.3.0-1 - Update to 0.3.0. * Wed Feb 13 2013 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Oct 19 2012 Thomas Moschny - 0.2.2-1 - Update to 0.2.2. * Wed Oct 10 2012 Thomas Moschny - 0.2.1-1 - Update to 0.2.1. - Add missing BR on intltool. * Thu Oct 4 2012 Thomas Moschny - 0.2.0-1 - Update to 0.2.0. * Sun Sep 16 2012 Thomas Moschny - 0.1.90-1.git9867509 - Update to current head. - Fix icon items in %%files. * Sat Sep 1 2012 Thomas Moschny - 0.1.0-3.gitb6c50c2 - Update to current head. * Wed Aug 22 2012 Thomas Moschny - 0.1.0-2.git5665a4f - Update to current head. - Remove wildcards from %%files section. - Do not pack other binaries than 'geary'. * Sun Aug 19 2012 Thomas Moschny - 0.1.0-1.git4ff24e0 - New package.