Build rpm packages with the rpmbuild command

From Linuxintro
Revision as of 10:12, 6 February 2011 by imported>ThorstenStaerk (Created page with "First, create a SPEC file: <pre> Summary: krep allows you to filter text Name: krep Version: 1.0 Release: 1 License: GPL Group: Applications/Sound Source: http://www.staerk.de/f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

First, create a SPEC file:

Summary: krep allows you to filter text
Name: krep
Version: 1.0
Release: 1
License: GPL
Group: Applications/Sound
Source: http://www.staerk.de/files/krep.tar.gz
URL: http://www.staerk.de/thorsten/krep
Distribution: SUSE Linux
Vendor: -
Packager: Thorsten Staerk

%description
krep lets you filter text by regular expressions

%prep
rm -rf $RPM_BUILD_DIR/krep
tar -xvzf krep.tar.gz

%build
make 

%install
make install

%files
/usr/local/bin/krep

todo