1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
%def_enable hackaround Name: kmozillahelper Version: 0.6.3 Release: alt1 Group: Graphical desktop/KDE Summary: Mozilla KDE Integration License: X11/MIT %define helper_version 6 %if_enabled hackaround %define helper_version 5 %endif Requires: xulrunner-kde4-version = %{helper_version} Source: %name-%version.tar Patch1: kmozillahelper-0.6-alt-set-def-browser.patch Patch2: kmozillahelper-0.5-alt-install-program.patch BuildRequires: gcc-c++ kde4libs-devel %description Package providing integration of Mozilla applications with KDE. %prep %setup -q %patch1 -p1 %patch2 -p1 %build %if_enabled hackaround %else version=$(cat main.cpp | grep '#define HELPER_VERSION' | cut -d ' ' -f 3) if test "$version" != %{helper_version}; then echo fix the version in the .spec file exit 1 fi %endif %K4build %install %K4install %files %_bindir/kmozillahelper %_K4apps/kmozillahelper %changelog * Mon Apr 25 2011 Sergey V Turchin <zerg@altlinux.org> 0.6.3-alt1 - new version * Mon Sep 20 2010 Sergey V Turchin <zerg@altlinux.org> 0.6.2-alt0.M51.1 - built for M51 * Mon Sep 20 2010 Sergey V Turchin <zerg@altlinux.org> 0.6.2-alt1 - new version * Fri Mar 19 2010 Sergey V Turchin <zerg@altlinux.org> 0.6-alt1 - new version * Fri Oct 16 2009 Sergey V Turchin <zerg@altlinux.org> 0.5-alt3 - fix check for default browser * Thu Oct 15 2009 Alexey Gladkov <legion@altlinux.ru> 0.5-alt2 - Move kmozillahelper to %%_bindir. * Thu Sep 24 2009 Sergey V Turchin <zerg@altlinux.org> 0.5-alt1 - new version * Thu Sep 17 2009 Sergey V Turchin <zerg@altlinux.org> 0.4-alt1 - initial spec