Pinky's rpm to make butterscotch pudding

Directory Structure


Before Building


After Building


Spec File


Summary: Yummy Yummy Butterscotch Pudding
Name: Pudding
Version: Butterscotch
Release: 1
Group: ACME
Copyright: GPL
Packager: Pinky<pinky@thbrain.fnal.gov>
Source: bowl.large
Source1: butterscotch.goo
Source2: milk
Source3: beater
Source4: recipee
Source5: wash.rag
%description
Zonk.  You can let the computer make the butterscotch pudding for you and leave
you to just put your head right in it.

%pre
echo "Weeee Butterscotch Pudding"

%preun
/home/pinky/kitchen/wash.rag

%install
install -m 0755 -d /home/pinky/kitchen
install -m 0644 bowl.large /home/pinky/kitchen/bowl.large
install -m 0644 butterscotch.goo /home/pinky/kitchen/butterscotch.goo
install -m 0644 milk /home/pinky/kitchen/milk
install -m 0644 beater /home/pinky/kitchen/beater
install -m 0744 recipee /home/pinky/kitchen/recipee
install -m 0744 wash.rag /home/pinky/kitchen/wash.rag

%post
/home/pinky/kitchen/recipee

%postun
echo "Zoink, The kitchen is cleaned up, ready for chockolate"

%files
%dir /home/pinky/kitchen
/home/pinky/kitchen/bowl.large
/home/pinky/kitchen/butterscotch.goo
/home/pinky/kitchen/milk
/home/pinky/kitchen/beater
/home/pinky/kitchen/recipee
/home/pinky/kitchen/wash.rag
 



MAIN - SPEC FILE - EXAMPLE 1: DIR - SPEC - EXAMPLE 2: DIR - SPEC