GithubHelp home page GithubHelp logo

cloudxtreme / etersoft-build-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etersoft/etersoft-build-utils

0.0 1.0 0.0 1.52 MB

A set of rpm build utilities from Etersoft

Makefile 0.97% Shell 94.59% Scheme 0.23% Perl 6 0.11% Groff 4.10%

etersoft-build-utils's Introduction

This package is a set of helper utils for rpm building process.

See info in Russian at
http://www.altlinux.org/Etersoft-build-utils_howto

See QuickHelp.txt also.

Set target distro in MENV in ~/.config/eterbuild, f.i. for Sisyphus
MENV=SS
or
MENV=M80P
for ALT Linux p8

Examples:

rpmbb [-c] [-i] [-p] [name.spec] - build package
	-r - update build req

rpmbsh [-r] [-m] [-s] [-u/-U] [-i] [name.spec] - build package in hasher [and (-s) sign its src.rpm]

rpmbs [-s] [-r] [-u/-U] [name.spec] - make src.rpm [and (-s) sign package]

rpmbph [-b p7] [-r] [-u/-U] [name.spec] - backport spec and build package for previous/foreign distro

rpmgs [name.spec] - download main source file for spec (works with any tarball types)
	-f force

rpmgp -g name  - clone git with latest package version
	-c name | name.spec | package*rpm - check if the package is published in Sisyphus
	-b name.spec - install need packages for build (via apt-get)
	-a - check in all known rpm based system

rpmurl [-c -f] name.spec - open Url from spec in browser

rpmbugs [-qf ] name.spec | name - open buglist for package in browser
	-t - console output

rpmcs name.spec - cleanup spec (foreign specs adoption helper)

loginhsh [-b p7] [-t -i] - log in to shell in hasher

rpmrb [spec] new_version - get source for new version, rebuild it and upload
	rpmrb [spec] .2 change only minor version
	rpmrb [spec] 2.6 change only major version

Common options:
-s - sign package and prepare to publish
-u/-U - upload signed package to Incoming/Backports(Updates)
-i - install after build


Replacement rules (for rpmbph):
alt-package-name|foreign-package-name

pkgrepl.rpm - base rules, use always
pkgrepl.rpm.x86_64 - base rules, use firstly for x86_64
pkgrepl.pclinux - rules only for PC Linux
pkgrepl.pclinux.2007 - rules only for PC Linux 2007
pkgrepl.pclinux.2007.x86_64 - rules only for PC Linux 2007, use firstly for x86_64

NOTE:
you have to prepare correct ~/.rpmmacros file, GPG signature in ~/.gnupg,
SSH private key in ~/.ssh/id_dsa,
alias 'git.alt' in ~/.ssh/config for altlinux account (typical for joined at ALT Linux)

Please send any questions at [email protected]

Vitaly Lipatov, 11 March, 2015

etersoft-build-utils's People

Contributors

bsavelev avatar mastersin avatar stas-etersoft avatar vitlav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.