File: README.MAINTAINERS.rpm

package info (click to toggle)
lifelines 3.0.61-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 12,572 kB
  • ctags: 6,721
  • sloc: ansic: 59,805; xml: 8,960; sh: 4,459; makefile: 863; yacc: 601; perl: 170; sed: 16
file content (42 lines) | stat: -rwxr-xr-x 925 bytes parent folder | download | duplicates (5)
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
To make rpms as a regular (non-root) users,
you need to have the rpm program installed
on your system (of course). If you run
"rpm --help" and get a lot of text back,
you have rpm :)

To create a local rpm directory for creating
rpm releases, you may copy the sample 
rpmmacros file in the build/rpm directory
to your home directory as .rpmmacros, like so:

$ cp build/rpm/rpmmacros_sample ~/.rpmmacros

The settings in that rpmmacros file work in
a directory ~/myrm, so you must create
that directory, and a subdirectory for
lifelines files:

$ mkdir ~/myrpm
$ mkdir ~/myrpm/lifelines

Now you are ready to create an rpm release.
This is a two step operation

=========
#1) Copy the distribution tarball to the
lifelines rpm directory:

$ cp bld/lifelines*.tar.gz ~/myrpm/lifelines

=========
#2) Create the rpms

$ cd build/rpm
$ rpmbuild -ba lifelines.spec

or on older systems,

$ cd build/rpm
$ rpm -ba lifelines.spec