   ,    ,
      .


	  RPM.

    RPM      Red
Hat,        
 Owl.

1.      , 
  CVS Id,       
.

2.     : Summary, Name, Version, Release,
Epoch, License, Group, URL, Source*, Patch*, PreReq, Requires,
Conflicts, Provides, Obsoletes, Auto*, Prefix, BuildRequires,
BuildArchitectures, ExcludeArch, ExclusiveArch, BuildRoot. 
   .

3.    Owl  :

	owlREVISION

,    -/-/-  -
    Version    :

	owl0.REVISION

,      Owl:

	BRANCH_POINT_RELEASE.BRANCH.REVISION

:
 REVISION -     Owl,  
  
 BRANCH_POINT_RELEASE - ,  ,   ""
  
 BRANCH -   (, "0.1"  "Owl 0.1-stable")

     REVISION   1 ,  
 , BRANCH_POINT_RELEASE   "owl0".

4.  BuildRoot   Owl  :

	BuildRoot: /override/%name-%version

    BuildRoot    ,
        
  BuildRoot     -  
  ,  Owl.

5.        .
       
 .   Summary .  
Summary  %description (     ) 
     ,      
 -       
 .    .

6.        
C/C++  %optflags       
        
.        
,        %build
 2 :

	# Use optflags_lib for this package if defined.
	%{expand:%%define optflags %{?optflags_lib:%optflags_lib}%{!?optflags_lib:%optflags}}

  ,    ,
     (   
    ) ,  x86, 
         MMX,
   . (  , 
 ,   .  ,   
Owl     ,     
   .     
.)

      
,         
 "gcc -Wall".     ,    
   -Wall  
   %build  :

	%{expand:%%define optflags %optflags -Wall}

7.      subshells  
, /  trigger,     
.       , 
  pushd  popd.    
  subshell,  ,   
   - .

8.         
     .  "" pushd ... popd
  .

9.  -eq     ( $1,
 RPM  ;   $1  ).

10.   %buildroot  $RPM_BUILD_ROOT,  
%_sourcedir  $RPM_SOURCE_DIR.     
 %_sourcedir/WHATEVERFILE

11.    RPM    ,
      - ,
 %__make   make, %__cc  gcc, .  
,        shell -
,  cp, mv, rm.

12.     shell  "-f" ("force", "")
  .   ,    -
   ,    .

13.     %changelog     
 -  ,   .    
        - , :

	* Wed Dec 01 2004 Your Name <you@example.com> 1.0-owl1

14.    spec-    
,     Owl      
 ,     .  spec-
(,    archives/*.tar.gz   Owl) 
     Owl.  %clean 
    spec-    
-      Owl,     
" "  .


	 patch-.

     :

	NAME-VERSION-ORIGIN-WHAT.diff

 NAME  VERSION     , ORIGIN 
   ,  WHAT  
   -      
 .

         ,
    ORIGIN    . 
,    Owl,  ORIGIN  
  "owl".       
 ,     ,  ORIGIN
   "-owl-" (  , 
    ).      
   CVS (,   .. back-ports), 
ORIGIN    "cvs",   WHAT   
      YYYYMMDD.  
 ,  ( ?)    
 CVS,   "up"   ORIGIN.

 WHAT    ,   "" 
 .     - 
 ,   , ,   
  (      , 
    ).

      WHAT,  
  ,   :

Makefile	-   Makefile* (   ,
		       )
bound		-    ( 
		     )
config		-     ( 
		  ,    )
doc		-   
fixes		-  ,  , 
		   
format		-       printf
		  (    )
info		-      texinfo
install-no-root	-    "make install"  
		     - root
linux		- ,     Linux (
		   )
man		-      man pages
tmp		- ,     
vitmp		-   vitmp(1)
warnings	- ,    

,  ,        
   -      , ,
,     ,     ,
    (, "tmp",   "mkstemp").


	  .

       C  
  Owl,   indent(1)   :

	indent -kr -i8 -nlp -nbbo -l79 -lc79

       
,         , 
  Owl.

$Owl: Owl/doc/ru/CONVENTIONS,v 1.9 2005/11/16 11:59:02 solar Exp $
