1 | % $Id$ |
---|
2 | \documentclass[notes]{beamer} |
---|
3 | %\documentclass[blends,slideColor,colorBG,pdf,ps2pdf]{prosper} |
---|
4 | \usepackage[frenchb]{babel} |
---|
5 | \usepackage[T1]{fontenc} |
---|
6 | \usepackage{multicol} |
---|
7 | \usepackage[framesassubsections]{beamerprosper} |
---|
8 | |
---|
9 | \mode<presentation> |
---|
10 | { |
---|
11 | \definecolor{beamerstructure}{RGB}{143,79,112} |
---|
12 | \definecolor{sidebackground}{RGB}{230,242,250} |
---|
13 | \color{beamerstructure} |
---|
14 | \usetheme{Antibes} |
---|
15 | \usepackage{times} |
---|
16 | \userightsidebarcolortemplate{\color{sidebackground}} |
---|
17 | \beamertemplateballitem |
---|
18 | } |
---|
19 | |
---|
20 | \title{RPM: Packaging} |
---|
21 | \subtitle{Du code source au paquetage} |
---|
22 | \author{Olivier Thauvin} |
---|
23 | %\email{olivier.thauvin@aerov.jussieu.fr} |
---|
24 | %%\institution{ |
---|
25 | %% \includegraphics*[height=0.3\textheight]{gnutux.eps} |
---|
26 | %%} |
---|
27 | |
---|
28 | \NoFrenchBabelItemize |
---|
29 | |
---|
30 | \begin{document} |
---|
31 | |
---|
32 | \frame{\maketitle} |
---|
33 | \frame{\tableofcontents} |
---|
34 | |
---|
35 | \section{RPM, fondamentaux} |
---|
36 | \subsection{Historique} |
---|
37 | \frame{ |
---|
38 | \title{Historique} |
---|
39 | \vfill |
---|
40 | Originellement: \textit{Redhat Package Manager} |
---|
41 | \vfill |
---|
42 | 2005: Patatra: fork de Jeff Johnson: \textit{RPM Package Manager} |
---|
43 | |
---|
44 | Il y a donc deux rpms respectivement en version 4.4.2 et 4.4.8. %% (\date) |
---|
45 | \vfill\vfill |
---|
46 | } |
---|
47 | |
---|
48 | \subsection{Role de rpms} |
---|
49 | |
---|
50 | \frame{ |
---|
51 | \title{Roles de rpms} |
---|
52 | \begin{itemize} |
---|
53 | \item Gestion du parc logiciel |
---|
54 | \begin{itemize} |
---|
55 | \item installation |
---|
56 | \item désinstallation |
---|
57 | \end{itemize} |
---|
58 | \item Controle de l'état du système |
---|
59 | \begin{itemize} |
---|
60 | \item Intégrité du système |
---|
61 | \item Repérage des fichiers modifiés |
---|
62 | \end{itemize} |
---|
63 | \end{itemize} |
---|
64 | } |
---|
65 | |
---|
66 | \subsection{Les différentes parties de rpm} |
---|
67 | |
---|
68 | \frame{ |
---|
69 | \title{Les logiciels} |
---|
70 | \vfill |
---|
71 | \begin{center} |
---|
72 | \begin{tabular}{|c|l|} |
---|
73 | \hline |
---|
74 | Binaire&Fonction\\ |
---|
75 | \hline |
---|
76 | \hline |
---|
77 | rpm&Frontend aux modules rpm\\ |
---|
78 | \hline |
---|
79 | rpmi&Installation (rpm -i/U)\\ |
---|
80 | \hline |
---|
81 | rpmu&Installation (rpm -i/U)\\ |
---|
82 | \hline |
---|
83 | rpme&Désinstallation (rpm -e)\\ |
---|
84 | \hline |
---|
85 | rpmquery&Interrogation (rpm -q)\\ |
---|
86 | \hline |
---|
87 | rpmbuild&Construction de rpm\\ |
---|
88 | \hline |
---|
89 | rpmdb&Action sur la rpm db\\ |
---|
90 | \hline |
---|
91 | \end{tabular} |
---|
92 | \end{center} |
---|
93 | \vfill |
---|
94 | \vfill |
---|
95 | } |
---|
96 | |
---|
97 | \begin{frame}[fragile] |
---|
98 | \title{Les librairies} |
---|
99 | \vfill |
---|
100 | Située dans \verb+/usr/lib(64)+ |
---|
101 | \vfill |
---|
102 | % \begin{center} |
---|
103 | \begin{tabular}{|c|l|} |
---|
104 | \hline |
---|
105 | Librairies&Rôle\\ |
---|
106 | \hline |
---|
107 | \hline |
---|
108 | librpm&Lecture des fichiers rpm\\ |
---|
109 | &Résolution des dépendances\\ |
---|
110 | \hline |
---|
111 | librpmbuild&Construction de rpm\\ |
---|
112 | \hline |
---|
113 | librpmdb&Accès à la rpm db\\ |
---|
114 | \hline |
---|
115 | librpmio&Abstraction générique des entrées/sorties\\ |
---|
116 | &Evaluation des macros\\ |
---|
117 | \hline |
---|
118 | \end{tabular} |
---|
119 | % \end{center} |
---|
120 | \vfill |
---|
121 | \vfill |
---|
122 | \end{frame} |
---|
123 | |
---|
124 | \subsection{Configuration} |
---|
125 | |
---|
126 | \begin{frame}[fragile] |
---|
127 | \title{La configuration} |
---|
128 | \vfill |
---|
129 | Toute la configuration se fait via des macros, |
---|
130 | système de variable à évaluation tardive. |
---|
131 | \vfill |
---|
132 | \begin{itemize} |
---|
133 | \item /usr/lib/rpm/macros (système) |
---|
134 | \item ~/.rpmmacros (utilisateur) |
---|
135 | \end{itemize} |
---|
136 | \vfill |
---|
137 | {\scriptsize |
---|
138 | \begin{verbatim} |
---|
139 | %__dbi_htconfig_current %{__dbi_htconfig} |
---|
140 | %__dbi_htconfig_rebuild %{__dbi_htconfig} %{__dbi_rebuild} |
---|
141 | |
---|
142 | %_dbi_htconfig \ |
---|
143 | %{?_rpmdb_rebuild:%{__dbi_htconfig_rebuild}}\ |
---|
144 | %{!?_rpmdb_rebuild:%{__dbi_htconfig_current}}\ |
---|
145 | %{nil} |
---|
146 | \end{verbatim} |
---|
147 | } |
---|
148 | \vfill |
---|
149 | \vfill |
---|
150 | \end{frame} |
---|
151 | |
---|
152 | \subsection{Dépendendances} |
---|
153 | |
---|
154 | \begin{frame}[fragile] |
---|
155 | \title{Dépendances} |
---|
156 | \vfill |
---|
157 | Contraintes au niveau de l'installation ou de la construction des rpms. |
---|
158 | \vfill |
---|
159 | Elles s'expriment en terme package avec éventuellement |
---|
160 | une version (\verb+<=> VERSION+). |
---|
161 | \vfill |
---|
162 | \vfill |
---|
163 | {\scriptsize |
---|
164 | \begin{tabular}{|c|l|l|} |
---|
165 | \hline |
---|
166 | Type&Installation&Construction\\ |
---|
167 | \hline |
---|
168 | \hline |
---|
169 | \hline |
---|
170 | Provides&Fourni&N/A\\ |
---|
171 | \hline |
---|
172 | \hline |
---|
173 | Requires&A besoin de&A besoin de\\ |
---|
174 | \hline |
---|
175 | Conflicts&Ne peut pas être installer avec&Ne peut être construit avec\\ |
---|
176 | \hline |
---|
177 | Obsoletes&Remplace (discrètement)&N/A\\ |
---|
178 | \hline |
---|
179 | Trigger&Déclancher une action si \ldots est installé&N/A\\ |
---|
180 | \hline |
---|
181 | \end{tabular} |
---|
182 | } |
---|
183 | \vfill |
---|
184 | \vfill |
---|
185 | \end{frame} |
---|
186 | |
---|
187 | \subsection{Architectures} |
---|
188 | |
---|
189 | \section{prélimaires} |
---|
190 | |
---|
191 | \section{le .spec} |
---|
192 | \subsection{composition} |
---|
193 | \subsection{minimal} |
---|
194 | \subsection{sections} |
---|
195 | \subsection{"libidification"} |
---|
196 | |
---|
197 | \section{Exemples concrets} |
---|
198 | \subsection{\%configure} |
---|
199 | \subsection{un module perl} |
---|
200 | |
---|
201 | \end{document} |
---|