Package installer-distro-token-desktop: 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 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | %ifarch %ix86 x86_64 armh mips64el %def_enable rutokenecp %else %def_disable rutokenecp %endif Name: installer-distro-token-desktop Version: 0.1.1 Release: alt5 Summary: Installer configuration (desktop, h/w token authentication) License: GPL Group: System/Configuration/Other Url: http://www.altlinux.org/Installer Source: %name-%version.tar BuildPreReq: alternatives Packager: Paul Wolneykien <manowar@altlinux.org> %description This package contains installer configuration hopefully suitable for an ALT Linux based desktop distribution with hardware token based authentication. It is derived from installer-distro-altlinux-desktop. %package stage2 Summary: Installer configuration and scripts (desktop, h/w token authentication, stage2 part) License: GPL Group: System/Configuration/Other BuildArch: noarch Requires: installer-stage2 # modules Requires: alterator-sysconfig Requires: alterator-datetime Requires: alterator-pkg Requires: alterator-vm Requires: alterator-notes Requires: installer-feature-vm-altlinux-generic-stage2 Requires: x-cursor-theme-jimmac Requires: installer-feature-token-profile %description stage2 This package contains installer configuration hopefully suitable for an ALT Linux based desktop distribution with hardware token based authentication. The stage2 part is included into the live installer system. %package -n installer-feature-token-default Summary: Auth-token installer step with no profile preselected License: GPL Group: System/Configuration/Other BuildArch: noarch Provides: installer-feature-token-profile = 50 %description -n installer-feature-token-default Auth-token installer step with no profile preselected %if_enabled rutokenecp %package -n installer-feature-token-rutokenecp Summary: Auth-token installer step with RuTokenECP profile preselected License: GPL Group: System/Configuration/Other Provides: installer-feature-token-profile = 40 Requires: pkcs11-profiles-rutokenecp %description -n installer-feature-token-rutokenecp Auth-token installer step with RuTokenECPprofile preselected %endif %package -n installer-feature-token-p11-kit-proxy Summary: Auth-token installer step with p11-kit-proxy profile preselected License: GPL Group: System/Configuration/Other BuildArch: noarch Provides: installer-feature-token-profile = 40 Requires: pkcs11-profiles-p11-kit-proxy %description -n installer-feature-token-p11-kit-proxy Auth-token installer step with p11-kit-proxy profile preselected %package stage3 Summary: Installer configuration and scripts (desktop, h/w token authentication, stage3 part) License: GPL Group: System/Configuration/Other BuildArch: noarch Requires: alterator-users Requires: alterator-root Requires: alterator-auth-token Requires: alterator-luks Requires: alterator-net-eth dhcpcd Requires: alterator-net-general Requires: installer-feature-powerbutton-stage3 %description stage3 This package contains installer configuration hopefully suitable for an ALT Linux based desktop distribution with hardware token based authentication. The stage3 part is installed onto the new system\'s root and executed off there during installation process. %package live Summary: Installer configuration and scripts (desktop, h/w token authentication, livecd-install part) License: GPL Group: System/Configuration/Other BuildArch: noarch Requires: %name-stage3 = %version-%release Requires: livecd-install >= 0.9.10 Requires: installer-feature-token-profile %description live This package contains installer configuration hopefully suitable for an ALT Linux based desktop distribution with hardware token based authentication. The live part is installed into the live-bootable system and executed off there by the 'livecd-install' process. %prep %setup %install %define install2dir %_datadir/install2 mkdir -p %buildroot%install2dir cp -a alterator-menu %buildroot%install2dir/ cp -a installer-steps %buildroot%install2dir/ cp -a *.d %buildroot%install2dir/ mkdir -p %buildroot%_datadir/alterator cp -a steps %buildroot%_datadir/alterator/ mkdir -p %buildroot%_sysconfdir/livecd-install cp -a livecd-installer-steps %buildroot%_sysconfdir/livecd-install/steps.token-desktop install -m0644 -D steps-livecd-token-desktop \ %buildroot%_altdir/%name.steps mkdir -p %buildroot%_datadir/livecd-install cp -a alterator-menu %buildroot%_datadir/livecd-install/ # Default install -m0644 -D installer-feature-token-default \ %buildroot%_altdir/installer-feature-token-default %if_enabled rutokenecp # RuTokenECP install -m0644 -D installer-feature-token-rutokenecp \ %buildroot%_altdir/installer-feature-token-rutokenecp %endif # PKCS#11 Kit Proxy install -m0644 -D installer-feature-token-p11-kit-proxy \ %buildroot%_altdir/installer-feature-token-p11-kit-proxy %files stage2 %install2dir/alterator-menu %install2dir/installer-steps %install2dir/*.d/* %files stage3 %files live %_datadir/livecd-install/alterator-menu %_sysconfdir/livecd-install/steps.token-desktop %_altdir/%name.steps %files -n installer-feature-token-default %_altdir/installer-feature-token-default %_datadir/alterator/steps/*.default.desktop %if_enabled rutokenecp %files -n installer-feature-token-rutokenecp %_altdir/installer-feature-token-rutokenecp %_datadir/alterator/steps/*.rutokenecp.desktop %endif %files -n installer-feature-token-p11-kit-proxy %_altdir/installer-feature-token-p11-kit-proxy %_datadir/alterator/steps/*.p11-kit-proxy.desktop %changelog * Tue Feb 26 2019 Paul Wolneykien <manowar@altlinux.org> 0.1.1-alt5 - Workaround the 'different set of noarch packages' build error: Make 'rutokenecp' an arch-dependent package. * Tue Feb 26 2019 Paul Wolneykien <manowar@altlinux.org> 0.1.1-alt4 - Build 'installer-feature-token-rutokenecp' on some specific archs only. * Tue Feb 26 2019 Paul Wolneykien <manowar@altlinux.org> 0.1.1-alt3 - Fix build: require 'alternatives' package. * Wed Sep 06 2017 Paul Wolneykien <manowar@altlinux.org> 0.1.1-alt2 - Add 'p11-kit-proxy' profile. * Thu Aug 17 2017 Paul Wolneykien <manowar@altlinux.org> 0.1.1-alt1 - Use /etc/alternatives to configure the installer steps. - Provide installer-feature-token-* packages with various pre-configurations for the auth-token installer step. * Tue Aug 15 2017 Paul Wolneykien <manowar@altlinux.org> 0.1.0-alt3 - Make special '-live' subpackage which requires 'livecd-install'. * Thu Aug 10 2017 Paul Wolneykien <manowar@altlinux.org> 0.1.0-alt2 - Use special livecd-install set of steps. - Work-around the conflict with livecd-install. * Tue Aug 08 2017 Paul Wolneykien <manowar@altlinux.org> 0.1.0-alt1 - Added "auth-token" step. |