File abhijit1.spec of Package abhijit1
%define name abhijit
%define version 1.0
Name: %name
Version: %version
Release: 2.rhel4.rno
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Test
Summary: Our First Package
Source0: abhijit4.tar.gz
%description
this is the 2nd test for the given shell script
%prep
%setup -q
%build
%install
directory=$RPM_BUILD_ROOT/usr/lib/mydummy
mkdir -p $directory
cp -a . %buildroot
%post
chmod +x /abhijit-1.0.1.sh
sh /abhijit-1.O.1.sh
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
/abhijit-1.0.1.sh