Changes

Jump to: navigation, search

Fall 2008 SPR720 Weekly Schedule

574 bytes added, 02:32, 30 September 2008
Writing a specfile
== Writing a specfile ==
* <code>rpmdev-newspec ''packagename''</code>
* Sections
# %prep - commands to prepare the package for building
# %build - commands to build the package
# %install - commands to install the built files
# %check - commands to check/test the built files (optional, often not included)
# %clean - commands to clean up the disk space
# %files - list of files to be included in the pacakge
# %changelog - record of the package's change-history
* Scripts
** %pre
** %post
** %preun
** %postun
* Macros
** %{_tmppath}
** %{buildroot}
** %{_bindir}
** %{_datadir}
** %{_mandir}
** %{_smp_flags}
** %setup
** %configure
** %makeinstall
== Creating a Simple Package ==

Navigation menu