bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Querry about building rpm


From: Animesh Bhowmick
Subject: Querry about building rpm
Date: Tue, 23 Jan 2001 15:11:49 +0530

Dear Sir,
I have some querry about creating rpms.
i have created a file called "abacos-2.1-1.spec" which is given below.

----------------------------------
Summary: Abacos project with MPI
Name: abacos
Version: 2.1
Release: 1
Copyright: GPL
Group: Utilities/System
Source : abacos.tar.gz
BuildRoot: /home/animesh
%prep -c
%setup -c
%description
This program runs MPI for version 2.1
%topdir
topdir=/home/animesh
%build
%topdir/abacos/toLinux/src2.1/make
%topdir/abacos/toLinux/samples/make
%install
#cd /home/animesh/abacos-2.1
cp -r /usr/src/redhat/BUILD/abacos-2.1 /home/animesh/abacos-2.1
#install -s -m 755 abacos-2.1 /home/animesh/abacos-2.1
#install -s -m 755 -o 0 -g 0 abacos /home/animesh/abacos-2.1
#install -m 644 -o 0 -g 0 abacos.1  /home/animesh/abacos-2.1

%files
#BUILD:/home/animesh/abacos-2.1
#SOURCES:/home/animesh/abacos-2.1

-------------------------------------------------------------

Doubts
1. The tar.gz is picked up by default from /usr/src/redhat/SOURCES
directory. Can this be changed?
2. Right now, I donot have a make option for creating binary. How can I
create one and in which directory should the makefile reside?
3. Also I am not able to install. So I just used copy command. Package
is created but when I querry, it says not installed. How does one
install?

Can you give some ideas?

Regards
Animesh

Attachment: animesh.vcf
Description: Card for Animesh Bhowmick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]