Package girar-nmu: 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 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 | %def_with tools %define _unpackaged_files_terminate_build 1 %define mansuff xz #set_compress_method none %set_compress_method %mansuff Name: girar-nmu Version: 2.015.3 Release: alt1 Summary: girar client utilities for NMU automation License: GPL-2.0-or-later Group: Development/Other Packager: Igor Vlasenko <viy@altlinux.org> Url: http://www.altlinux.org/Git.alt/girar-nmu #BuildArch: noarch %if_with tools Requires: girar-tools = %EVR %endif Source: %name-%version.tar #BuildRequires: help2man BuildRequires: m4 BuildRequires: perl-devel perl-podlators perl(RPM/Header.pm) perl-RPM-Source-Editor perl-RPM-Source-Convert perl(Pod/Usage.pm) perl(Date/Parse.pm) /usr/bin/pod2man perl-Gear-Rules perl(Source/Shared/Utils/GlobList.pm) perl(Source/Repository/RPM/ALTLinuxSrcList.pm) perl(Source/Shared/FindMirror/ALTLinux.pm) perl(ALTLinux/RepoList.pm) BuildRequires: altlinux-repolist-utils Requires: gear Requires: perl-RPM-Source-Editor >= 0.9285 %description This package contains girar utilities for NMU automation. %package -n girar-tools Summary: girar client tools for easy girar upload Group: Development/Other BuildArch: noarch Conflicts: girar-nmu < 2 # gpg1's usage of gpg-agent is broken in p10+, we use gpg2 with GPG_TTY fix Requires: gnupg2 > 2.2.32 %description -n girar-tools This package contains useful client utilities for girar and gitery to guery upload methods, clone gits from tasks and gitery and to help upload and manage tasks. %prep %setup rm *.spec %build %make VERSION=%version gcc -O2 %optflags -o girar-nmu-helper-pos-sort pos-sort.c %install %makeinstall_std mkdir -p %buildroot%perl_vendor_privlib/RPM/Source/Transformation/ cp -a lib/RPM/Source/Transformation/* %buildroot%perl_vendor_privlib/RPM/Source/Transformation/ mkdir -p %buildroot%_sysconfdir/%name/ install -m 644 config/* %buildroot%_sysconfdir/%name/ mkdir -p %buildroot%_bindir/ install -m 755 girar-* rpm-sign-* srpmlschangelog %buildroot%_bindir/ for i in girar-* srpmlschangelog dist/girar-*; do name=`basename $i` pod2man --name $name --center 'girar-nmu utils' --section 1 --release %version $i > $name.1 ||: done find . -name '*.1' -size 0 -print -delete mkdir -p %buildroot%_man1dir install -m 644 *.1 %buildroot%_man1dir/ while read link script; do ln -s $link %buildroot%_bindir/$script ln -s $link.1.%mansuff %buildroot%_man1dir/$script.1.%mansuff done << 'EOF' girar-task-add-git girar-task-for-each-git girar-task-add-git girar-build-git girar-task-add-srpm girar-task-for-each-srpm girar-task-add-srpm girar-build-srpm girar-task-add-rebuild girar-task-add-del girar-task-add-rebuild girar-task-add-copy girar-task-add-rebuild girar-task-for-each-rebuild girar-task-add-rebuild girar-task-for-each-del girar-task-add-rebuild girar-task-for-each-copy girar-task-add-rebuild girar-build-rebuild girar-task-add-rebuild girar-build-del girar-task-add-rebuild girar-build-copy EOF %files %doc README %perl_vendor_privlib/RPM* %_bindir/srpmlschangelog* %_man1dir/srpmlschangelog* %_bindir/girar-nmu-* %_man1dir/girar-nmu-* %if_with tools %files -n girar-tools %exclude %_bindir/girar-nmu-* %exclude %_man1dir/girar-nmu-* %endif %dir %_sysconfdir/%name %config(noreplace) %_sysconfdir/%name/default %config(noreplace) %_sysconfdir/%name/e2k %_bindir/rpm-sign-* %_bindir/girar-* %_man1dir/girar-* %changelog * Wed Nov 08 2023 Igor Vlasenko <viy@altlinux.org> 2.015.3-alt1 - new version * Mon May 02 2022 Igor Vlasenko <viy@altlinux.org> 2.015.2-alt1 - egrep is obsolescent; using grep -E * Sat Apr 16 2022 Igor Vlasenko <viy@altlinux.org> 2.015.1-alt1 - new version * Sat Jan 08 2022 Igor Vlasenko <viy@altlinux.org> 2.015.0-alt1 - p10 support, gpg2 migration * Mon Nov 15 2021 Igor Vlasenko <viy@altlinux.org> 2.014.1-alt1 - new version * Fri Aug 27 2021 Igor Vlasenko <viy@altlinux.org> 2.014.0-alt1 - new version * Fri Jun 04 2021 Igor Vlasenko <viy@altlinux.org> 2.013.0-alt1 - new version * Sat May 29 2021 Igor Vlasenko <viy@altlinux.org> 2.012.0-alt1 - new version * Wed Sep 09 2020 Igor Vlasenko <viy@altlinux.ru> 2.011.3-alt1 - new version * Tue Jun 02 2020 Igor Vlasenko <viy@altlinux.ru> 2.011.2-alt1 - git.altlinux is no more (2) * Wed May 27 2020 Igor Vlasenko <viy@altlinux.ru> 2.011.1-alt1 - git.altlinux is no more * Sun Apr 05 2020 Igor Vlasenko <viy@altlinux.ru> 2.011.0-alt1 - new version * Mon Sep 30 2019 Igor Vlasenko <viy@altlinux.ru> 2.010.2-alt1 - bugfix release * Wed Aug 07 2019 Igor Vlasenko <viy@altlinux.ru> 2.010.1-alt1 - added -Q (--no-output) to girar-get-upload-method * Sat Apr 27 2019 Igor Vlasenko <viy@altlinux.ru> 2.009-alt1 - bug fix for new --test-only * Fri Apr 12 2019 Igor Vlasenko <viy@altlinux.ru> 2.008-alt1 - bugfix release thanks to Denis Medvedev (nbr@) * Thu Mar 21 2019 Igor Vlasenko <viy@altlinux.ru> 2.007-alt1 - updated man pages * Wed Mar 20 2019 Igor Vlasenko <viy@altlinux.ru> 2.006-alt1 - bugfix release for -e in sh scripts * Tue Mar 19 2019 Igor Vlasenko <viy@altlinux.ru> 2.005-alt1 - support for -m, set -e in sh scripts * Mon Mar 18 2019 Igor Vlasenko <viy@altlinux.ru> 2.004-alt1 - support for --commit and --fail-early/late * Tue Mar 12 2019 Igor Vlasenko <viy@altlinux.ru> 2.003-alt1 - new version * Fri Feb 22 2019 Igor Vlasenko <viy@altlinux.ru> 2.002-alt1 - new version - if not configured, ssh aliases are detected from git config - (closes: #35458) * Wed Feb 13 2019 Igor Vlasenko <viy@altlinux.ru> 2.001-alt1 - new version * Sat Feb 09 2019 Igor Vlasenko <viy@altlinux.ru> 2.000-alt1 - release * Wed Feb 06 2019 Igor Vlasenko <viy@altlinux.ru> 1.999-alt1 - 2.0 beta 6 * Sat Jan 12 2019 Igor Vlasenko <viy@altlinux.ru> 1.998-alt1 - 2.0 beta 5 * Thu Dec 20 2018 Dmitry V. Levin <ldv@altlinux.org> 1.997-alt1.1 - Updated URL and license information. - Fixed build with bash4. - NMU. * Wed Oct 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.997-alt1 - add girar-get-upload-method --missing mode * Mon Sep 24 2018 Igor Vlasenko <viy@altlinux.ru> 1.996-alt1 - added --commit-no-edit (-C) option to girar-build-git * Tue Jul 03 2018 Igor Vlasenko <viy@altlinux.ru> 1.995-alt1 - fixed --share bug * Mon Jun 25 2018 Igor Vlasenko <viy@altlinux.ru> 1.994-alt1 - 2.0 beta 4 * Sat Jun 23 2018 Igor Vlasenko <viy@altlinux.ru> 1.993-alt1 - 2.0 beta 3 * Thu Jun 21 2018 Igor Vlasenko <viy@altlinux.ru> 1.992-alt1 - 2.0 beta 2 * Thu Jun 21 2018 Igor Vlasenko <viy@altlinux.ru> 1.991-alt1 - 2.0 beta 1 * Wed Jun 20 2018 Igor Vlasenko <viy@altlinux.ru> 1.990-alt1 - 2.0 alpha * Wed May 23 2018 Igor Vlasenko <viy@altlinux.ru> 1.52-alt1 - e2k support (add -H git.e2k to use) * Wed Apr 18 2018 Igor Vlasenko <viy@altlinux.ru> 1.51-alt1 - added -N for not signing already signed rpm * Fri Mar 02 2018 Igor Vlasenko <viy@altlinux.ru> 1.50-alt1 - girar-nmu-helper-git-push-build: allow running not from the toplevel Git working dir (closes: #34595) * Tue Feb 06 2018 Igor Vlasenko <viy@altlinux.ru> 1.49-alt1 - added support for gpg agent forwarding thanks to slev@ * Fri Dec 15 2017 Igor Vlasenko <viy@altlinux.ru> 1.48-alt1 - new version * Sun Nov 26 2017 Igor Vlasenko <viy@altlinux.ru> 1.47-alt1 - --test-only support * Fri Nov 24 2017 Igor Vlasenko <viy@altlinux.ru> 1.46-alt1 - new version * Tue Nov 14 2017 Igor Vlasenko <viy@altlinux.ru> 1.45-alt1 - basic support for rpmsign 4.13 * Sat Sep 30 2017 Igor Vlasenko <viy@altlinux.ru> 1.44-alt1 - use Source::Shared::Utils::GlobList * Sun Apr 02 2017 Igor Vlasenko <viy@altlinux.ru> 1.43-alt1 - new version * Wed Feb 08 2017 Igor Vlasenko <viy@altlinux.ru> 1.42-alt1 - support for gitery path in girar-nmu-helper-git-push-build * Mon Jan 30 2017 Igor Vlasenko <viy@altlinux.ru> 1.41-alt1 - new version * Sat Jan 21 2017 Igor Vlasenko <viy@altlinux.ru> 1.40-alt1 - new version * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 1.39-alt1 - use new CLI * Tue Jan 10 2017 Igor Vlasenko <viy@altlinux.ru> 1.38-alt1 - use new TransformContainer * Mon Jan 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.37-alt1 - use new R::S::E interface * Tue Oct 04 2016 Igor Vlasenko <viy@altlinux.ru> 1.36-alt1 - use RPM::Header * Sun Jul 03 2016 Igor Vlasenko <viy@altlinux.ru> 1.35-alt1 - updated BR: * Sat Feb 20 2016 Igor Vlasenko <viy@altlinux.ru> 1.34-alt1 - rest of fixes for interface changes in R::S::E Transform 16 * Sat Feb 20 2016 Igor Vlasenko <viy@altlinux.ru> 1.33-alt1 - fixes for interface changes in R::S::E Transform 16 * Wed Jan 13 2016 Igor Vlasenko <viy@altlinux.ru> 1.32-alt1 - more verbose debug for marked files * Wed Jan 13 2016 Igor Vlasenko <viy@altlinux.ru> 1.31-alt1 - added buildfrom-rpm-marked opt to girar-nmu-sort-transaction * Mon Nov 23 2015 Igor Vlasenko <viy@altlinux.ru> 1.30-alt1 - added girar-nmu-helper-task-add-rebuild * Sun Nov 22 2015 Igor Vlasenko <viy@altlinux.ru> 1.29-alt1 - <before_subtask_id> support in girar-nmu-helper-git-push-build * Mon Nov 16 2015 Igor Vlasenko <viy@altlinux.ru> 1.28-alt1 - improved debug output in girar-nmu-sort-transaction * Fri Nov 13 2015 Ivan Zakharyaschev <imz@altlinux.org> 1.27-alt2 - girar-nmu-helper-clone-and-setup-build-commit: configure the remote in a standard way (like "git remote add" does; ALT#31482). - minor tweaks in the code: - factored out git://git.altlinux.org/gears and git://git.altlinux.org/srpms as variables (to become environment parameters in future). - typo in documentation. * Thu Oct 22 2015 Igor Vlasenko <viy@altlinux.ru> 1.27-alt1 - <before_subtask_id> support in girar-nmu-helper-task-add-srpm * Tue Oct 13 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 1.26-alt1 - girar-nmu-helper-task-add-git: fixed typo. * Sat Aug 22 2015 Igor Vlasenko <viy@altlinux.ru> 1.25-alt1 - support for girar and gitery * Sun Dec 14 2014 Igor Vlasenko <viy@altlinux.ru> 1.24-alt1 - new version * Thu Dec 11 2014 Igor Vlasenko <viy@altlinux.ru> 1.23-alt1 - new version * Thu Dec 04 2014 Igor Vlasenko <viy@altlinux.ru> 1.22-alt1 - new version * Wed Dec 03 2014 Igor Vlasenko <viy@altlinux.ru> 1.21-alt1 - new version * Wed Nov 26 2014 Igor Vlasenko <viy@altlinux.ru> 1.20-alt1 - bugfix release * Sun Oct 05 2014 Igor Vlasenko <viy@altlinux.ru> 1.19-alt1 - bugfix release thanks to glebfm@ (closes: #30371) * Fri Sep 19 2014 Igor Vlasenko <viy@altlinux.ru> 1.18-alt1 - new version * Sat Jun 14 2014 Igor Vlasenko <viy@altlinux.ru> 1.17-alt1 - use Gear::Rules library * Thu Apr 17 2014 Igor Vlasenko <viy@altlinux.ru> 1.16-alt1 - new version |