Package kde4-settings-kmobile: Specfile
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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | %define _kde_alternate_placement 1 %add_findpackage_path %_kde4_bindir %define theme kmobile %define Theme KMobile %define kdeconfdir %_K4sysconfdir/kde4 %define thisconfdir %kdeconfdir/%theme %define major 0 %define minor 4 %define bugfix 0 Name: kde4-settings-%theme Version: %major.%minor.%bugfix Release: alt1 Group: Graphical desktop/KDE Summary: %Theme - specific KDE settings License: GPL Url: http://www.altlinux.ru/ BuildArch: noarch PreReq(post,preun): alternatives >= 0.2 Requires: kde-common >= 4 Source: plasma-mobile-config-%version.tar Source1: kmobile-settings-%version.tar BuildRequires: cmake gcc-c++ kde-common-devel qmergeinifiles rpm-macros-alternatives %description %Theme - specific KDE settings %prep %setup -qn plasma-mobile-config-%version -a1 mv kmobile-settings-* kmobile-settings %build # addon configs ls -1 skel/dotkde/share/config/* kmobile-settings/appconfig/* | \ while read f; do conffile=`basename "$f"` qmergeinifiles appconfig/$conffile $f done # autostart mkdir -p autostart for f in skel/dotconfig/autostart/*.desktop kmobile-settings/autostart/*.desktop do install -m 0644 $f autostart/ done # prifile.d rm -rf profile.d/* install -m 0755 kmobile-settings/profile.d/startkde profile.d/ %ifarch x86_64 #echo -e "\n" >> profile.d/startkde %endif %install mkdir -p %buildroot/%_altdir cat >%buildroot/%_altdir/%name <<__EOF__ %kdeconfdir/current %thisconfdir 50 __EOF__ # configs mkdir -p %buildroot/%thisconfdir/share/config/ install -m 0644 appconfig/* %buildroot/%thisconfdir/share/config/ # #mkdir -p %buildroot/%kdeconfdir/xdg/menus/applications-merged/ #install -m 0644 %theme.menu %buildroot/%kdeconfdir/xdg/menus/applications-merged/ # autostart mkdir -p %buildroot/%thisconfdir/share/autostart/ install -m 0644 autostart/* %buildroot/%thisconfdir/share/autostart/ # startkde install -m 0755 profile.d/startkde %buildroot/%thisconfdir/ #install -m 0644 default-apps %buildroot/%thisconfdir/share/config %files %config %_altdir/%name %config %thisconfdir %changelog * Wed Sep 11 2013 Sergey V Turchin <zerg@altlinux.org> 0.4.0-alt1 - new version * Thu Apr 18 2013 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt9 - fix setup keyboard on generic locales * Fri Mar 29 2013 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt8 - setup maliit keyboard layout * Wed Feb 20 2013 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt7 - fix qml import paths order * Fri Jan 18 2013 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt6 - don't use gconf * Tue Nov 20 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt5 - don't package arch-dependent files * Mon Nov 19 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt4 - fix deleting script contents * Mon Nov 19 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt3 - clean requires * Fri Nov 16 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt2 - start proper kwin on arm * Wed Oct 17 2012 Sergey V Turchin <zerg@altlinux.org> 0.3.0-alt1 - new version * Wed Apr 18 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt10.M60P.1 - build for M60P * Wed Mar 14 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt11 - increase default font size - don't autostart klipper * Thu Mar 01 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt10 - start nepomuk by default * Tue Feb 28 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt9 - don't lock screensaver by default * Tue Feb 28 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt8 - don't autostart krunner * Tue Feb 28 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt7 - set default ksplash theme * Tue Feb 28 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt6 - set qt graphics system to raster by default * Mon Feb 27 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt5 - turn off nepomuk by default * Fri Feb 24 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt4 - add plasmarc * Mon Feb 20 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt3 - add startkde include * Wed Feb 15 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt2 - package kdeglobals * Tue Feb 14 2012 Sergey V Turchin <zerg@altlinux.org> 0.2.13-alt1 - initial build |