Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b7f811abb | |||
| eccb14b441 | |||
| bc49956bda |
26
Readme.md
Normal file
26
Readme.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Pkg build
|
||||||
|
|
||||||
|
|
||||||
|
créer l'arborescence rpmbuild
|
||||||
|
|
||||||
|
Copier specfile dans ~/rpmbuild/SPEC
|
||||||
|
|
||||||
|
Copier fichier service, fichier patch et archive dans ~/rpmbuild/SOURCES
|
||||||
|
|
||||||
|
installer rpm-build
|
||||||
|
|
||||||
|
installer les dépendances nécessaires à la construction du paquet
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dnf builddep ~/rpmbuild/SPECS/burp2.spec
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
lancer la construction du paquet:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rpmbuild -ba ~/rpmbuild/SPECS/burp2.spec
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Les paquets créés seront dans ~/rpmbuild/RPMS/
|
||||||
@@ -15,7 +15,6 @@ Group: Backup Server
|
|||||||
License: AGPLv3 and BSD and GPLv2+ and LGPLv2+
|
License: AGPLv3 and BSD and GPLv2+ and LGPLv2+
|
||||||
URL: http://burp.grke.org/
|
URL: http://burp.grke.org/
|
||||||
Source0: https://github.com/grke/burp/releases/download/%{version}/burp-%{version}.tar.bz2
|
Source0: https://github.com/grke/burp/releases/download/%{version}/burp-%{version}.tar.bz2
|
||||||
Source1: burp.init
|
|
||||||
Source2: burp.service
|
Source2: burp.service
|
||||||
Patch11: burp-2.0.40-ncurses.patch
|
Patch11: burp-2.0.40-ncurses.patch
|
||||||
|
|
||||||
|
|||||||
14
pkg_build.md
14
pkg_build.md
@@ -1,14 +0,0 @@
|
|||||||
# Pkg build
|
|
||||||
|
|
||||||
|
|
||||||
créer l'arborescence rpmbuild
|
|
||||||
|
|
||||||
Récupérer specfile et source
|
|
||||||
|
|
||||||
installer rpm-build
|
|
||||||
|
|
||||||
installer les dépendances nécessaires à la construction du paquet
|
|
||||||
|
|
||||||
```bash
|
|
||||||
dnf builddep ~/rpmbuild/SPECS/burp2.spec
|
|
||||||
```
|
|
||||||
Reference in New Issue
Block a user