ソースを参照

add manual page from Debian

Ralf S. Engelschall 16 年 前
コミット
ec9069deb3
2 ファイル変更42 行追加0 行削除
  1. 39 0
      x264/x264.1
  2. 3 0
      x264/x264.spec

+ 39 - 0
x264/x264.1

@@ -0,0 +1,39 @@
+.TH X264 1 "2006-06-01" "20060601" "H.264 (MPEG4 AVC) encoder"
+
+.SH NAME
+x264 \- H.264 (MPEG4 AVC) encoder
+
+.SH SYNOPSIS
+.B x264 
+.RI [ options ] 
+.RI \-o\  outfile \  infile 
+.RI [ width x height ]
+
+.SH DESCRIPTION
+.B X264 
+is a free encoder for H264/AVC video streams.
+
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Shows help screen.
+.IP
+Please refer to this option for a description of all available command line
+parameters.
+.TP
+.I infile
+Infile can be raw YUV 4:2:0 (in which case resolution is required) or YUV4MPEG
+4:2:0 (*.y4m).
+.TP
+.I outfile
+Outfile type is selected by filename:
+.IP
+.BR .264 \ \->\ Raw\ bytestream
+.IP
+.BR .mkv \ \->\ Matroska
+
+.SH AUTHOR
+x264 was written by Laurent Aimar <fenrir@via.ecp.fr> et al.
+.PP
+This manual page was written by Fabian Greffrath <fabian@debian-unofficial.org>
+for the Debian Unofficial project (but may be used by others).

+ 3 - 0
x264/x264.spec

@@ -40,6 +40,7 @@ Release:      20090308
 
 #   list of sources
 Source0:      ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-%{V_date}-%{V_build}.tar.bz2
+Source1:      x264.1
 Patch0:       x264.patch
 
 #   build information
@@ -80,6 +81,8 @@ AutoReqProv:  no
     rm -rf $RPM_BUILD_ROOT
     %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
+    %{l_shtool} mkdir -f -p -m 744 $RPM_BUILD_ROOT%{l_prefix}/man/man1
+    %{l_shtool} install -c -m 644 %{SOURCE x264.1} $RPM_BUILD_ROOT%{l_prefix}/man/man1/
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
 
 %files -f files