Fedora kickstart

#version=DEVEL
install
lang en_US.UTF-8
keyboard us
timezone --utc America/New_York
#rootpw  --plaintext root 
selinux --disabled
authconfig --enableshadow --passalgo=sha512
firewall --disabled
#network --bootproto=query
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=sda
#part swap --grow --maxsize=5184 --size=1024
#part / --fstype=ext4 --grow --maxsize=51200 --size=1024
#part /boot --fstype=ext4 --size=500

#bootloader --location=mbr --timeout=5 --driveorder=sda --append="rhgb quiet"
repo --name="Fedora 17 - x86_64"  --baseurl=http://chi-10g-1-mirror.fastsoft.net/pub/linux/fedora/linux/releases/17/Everything/x86_64/os/ --cost=1000
repo --name="Fedora 17 - x86_64 - Updates"  --baseurl=http://fedora.mirror.constant.com/linux/updates/17/x86_64/ --cost=1000
#rpmfusion-nonfree
repo --name=rpmfusion-nonfree --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-17&arch=x86_64 --includepkgs=rpmfusion-nonfree-release
#rpmfusion-nonfree-updates
repo --name=rpmfusion-nonfree-updates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-17&arch=x86_64 --includepkgs=rpmfusion-nonfree-release
#rpmfusion-free
repo --name=rpmfusion-free-released --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-17&arch=x86_64
#rpmfusion-free-updates
repo --name=rpmfusion-free-updates --mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-17&arch=x86_64


%packages
@admin-tools
@base
@core
@fonts
@graphics
@hardware-support
@input-methods
@java
@kde-desktop
@online-docs
@printing
@sound-and-video
@base-x

Terminal
tmux
screen
bash
ksh
tcsh
bash-completion
gstreamer-plugins-ugly
alsa-utils
xscreensaver
htop
vim
emacs
ncdu
gcc
gcc-c++
gcc-gfortran
compat-gcc-34-g77
gsl-devel
openmpi
openmpi-devel
python
scipy
numpy
python-matplotlib
python3
python3-numpy
python3-scipy
ipython
kernel-devel
transmission-qt
pidgin
pidgin-libnotify
irssi
thunderbird
chromium
firefox
elinks
filezilla
gimp
ffmpeg 
ImageMagick
inkscape
cmus
vlc
nautilus
vifm
evince
abiword
gnumeric
automake
autoconf
kernel-devel
dkms
unison
texlive
texlive-dvips
texlive-texmf-doc
texlive-afm
vim-latex


#====For skype on 64 bit====
pulseaudio-libs.i686
pulseaudio-libs-devel.i686
alsa-plugins-pulseaudio.i686
libv4l.i686
libXv.i686
libXv-devel.i686
libXScrnSaver.i686
libXScrnSaver-devel.i686
dbus-qt.i686
dbus-qt-devel.i686
qt.i686
qt-devel.i686

system-config-kickstart
kde-partitionmanager
xfsprogs
mtools
gpgme
syslinux
squashfs-tools
hardlink
lua
pcsc-lite
pcsc-lite-ccid
eekboard
iok
ibus-pinyin-db-android
xorg-x11-apps
xscreensaver-gl-extras
xscreensaver-extras
xscreensaver-base
xterm
xorg-x11-resutils
-gnome-disk-utility
-gnome-packagekit
-setroubleshoot
-evolution
-empathy
-transmission-gtk
-evolution-NetworkManager
-evolution-help
-ibus-hunspell-table
-ktorrent
-abrt-desktop
-kdegames
-kdegraphics-strigi-analyzer
-kdemultimedia-kmix
-kdemultimedia-dragonplayer
-libreoffice-impress
-planner
-libreoffice-calc
-libreoffice-graphicfilter
-libreoffice-xsltfilter
-libreoffice-draw
-libreoffice-writer
-libreoffice-math
-brasero
-rhythmbox
-cadaver

#KDE STUFF
#Mandatory Packages:
kdebase-runtime
kdebase-workspace
kdelibs
#Default Packages:
abrt-desktop
-amarok
-apper
bluedevil
cagibi
cups-pk-helper
dejavu-sans-fonts
dejavu-sans-mono-fonts
dejavu-serif-fonts
-digikam
k3b
k3b-extras-freeworld
-kamoso
kcm-gtk
kcm_touchpad
kde-plasma-networkmanagement
kde-plasma-networkmanagement-openvpn
kde-plasma-networkmanagement-pptp
kde-plasma-networkmanagement-vpnc
kde-settings-pulseaudio
kdeaccessibility
kdeartwork-screensavers
kdebase
-kdegames
-kdegraphics
kdemultimedia-dragonplayer
-kdemultimedia-juk
-kdemultimedia-kmix
-kdemultimedia-kscd
kdenetwork
-kdepim
kdeplasma-addons
kdeutils
kdeutils-printer-applet
kdm
-kipi-plugins
-konq-plugins
-konversation
-krusader
-ksshaskpass
-ktorrent
-kwebkitpart
oxygen-gtk
phonon-backend-gstreamer
plasma-scriptengine-python
-scribus
system-config-date
system-config-firewall
system-config-printer-kde
system-config-services
xine-lib-extras-freeworld
xorg-x11-apps
xsettings-kde
xterm
#Optional Packages:
-basket
-bespin
-bibletime
-compiz-kde
-crystal
-k9copy
-kaffeine
-kbibtex
-kbilliards
-kchmviewer
-kcm-qt-graphicssystem
-kcoloredit
-kcometen4
kde-colorscheme-plastik
kde-partitionmanager
kde-plasma-ihatethecashew
-kde-plasma-ktorrent
-kde-plasma-qstardict
-kde-plasma-quickaccess
kde-plasma-runcommand
kde-plasma-smooth-tasks
-kde-plasma-translatoid
-kde-plasma-xbar
-kde-plasma-yawp
kde-wallpapers
kdeadmin
kdeartwork
kdeartwork-sounds
kdeartwork-wallpapers
-kdeedu
-kdetoys
-kdissert
-kgrab
-kiconedit
-kio-ftps
-kio_gopher
-klamav
-klatexformula-ktexteditor-plugin
-kmediafactory
kmenu-gnome
-kmetronome
-kmid2
-kmymoney
-knemo
-koffice-suite
-koverartist
-kplayer
-krecipes
-krename
ksensors
kshutdown
-ksig
-kvirc
leonidas-kde-theme-landscape
leonidas-kde-theme-lion
-plasma-scriptengine-googlegadgets
-plasma-scriptengine-ruby
-polyester
-qstardict
-qt-recordmydesktop
qtcurve-gtk2
qtcurve-kde4
-rekall
-rsibreak
-rss-glx-kde
-scim-bridge-qt3
-skanlite
-smb4k
-speedcrunch
transmission-qt
-uim-qt3
-yakuake
#Conditional Packages:
gstreamer-ffmpeg
gstreamer-plugins-good
gstreamer-plugins-ugly
ibus-qt
-imsettings-qt
-libreoffice-kde
-libtunepimp-extras-freeworld
-pinentry-qt
-scim-bridge-qt
%end

%post
### create tmpfs
echo "tmpfs  /tmp  tmpfs  nodev,nosuid,size=2G  0 0" >> /etc/fstab

### add in RPM Fusion Nonfree GPG keys
echo "== RPM Fusion Nonfree: Base section =="
echo "Importing RPM Fusion keys"
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-*-primary
echo "List of packages from RPM Fusion Nonree:"
rpm -qa --qf '%{NAME} %{SIGGPG:pgpsig} %{SIGPGP:pgpsig} \n' | grep -e 0dd634bdd2382b83 -e 90ce094be31b30ca | awk ' { print $1 } ' | sort
echo "List of incuded RPM Fusion packages with their size:"
rpm -q --qf '%{SIZE} %{NAME}\n' $(rpm -qa --qf '%{NAME} %{SIGGPG:pgpsig} %{SIGPGP:pgpsig} \n' | grep -e 0dd634bdd2382b83 -e 90ce094be31b30ca | awk ' { print $1 } ') | sort -n
echo

### add in RPM Fusion Free GPG keys
echo "== RPM Fusion Free: Base section =="
echo "Importing RPM Fusion keys"
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-*-primary
echo "List of packages from RPM Fusion Free:"
rpm -qa --qf '%{NAME} %{SIGGPG:pgpsig} %{SIGPGP:pgpsig} \n' | grep -e daab8b888296fa0f | awk ' { print $1 } ' | sort
echo "List of incuded RPM Fusion packages with their size:"
rpm -q --qf '%{SIZE} %{NAME}\n' $(rpm -qa --qf '%{NAME} %{SIGGPG:pgpsig} %{SIGPGP:pgpsig} \n' | grep -e daab8b888296fa0f | awk ' { print $1 } ') | sort -n
echo

poweroff
%end