File xvidenc.spec of Package xvidenc (Revision 8398b4810391d08c46ef5b9a8799b5ff)

Currently displaying revision 8398b4810391d08c46ef5b9a8799b5ff , Show latest

67
 
1
# norootforbuild
2
3
Name:       xvidenc
4
Version:    8.4.0
5
Release:    1
6
7
License:    GPL
8
Group:      Productivity/Multimedia/Video/Editors and Convertors
9
Summary:    A shell script for MEncoder
10
URL:        http://xvidenc.sourceforge.net/
11
12
Source0:    http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
13
14
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
15
BuildArch:  noarch
16
17
Requires:   MPlayer
18
19
20
%description
21
Xvidenc is an advanced and powerful interactive menu-driven shell script written for the Linux
22
operating system which can help you to encode a DVD or a regular video file to the MPEG-4 SP/ASP
23
video format using the MEncoder encoder from the MPlayer project and the Xvid library. It supports
24
all options of the Xvid 1.1.x library and a wide range of audio codecs. Further, it supports
25
muxing the final encode from AVI to Matroska, from AVI to OGM and from AVI to the MP4 container.
26
27
28
%prep
29
%setup -q -n %{name}-%{version}
30
31
32
%build
33
34
35
%install
36
# binary
37
%__install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
38
39
# man
40
gzip -9 man/%{name}.1
41
%__install -D -m 644 man/%{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
42
43
# docs
44
%__mkdir -p %{buildroot}/%{_docdir}/%{name}
45
%__install -m 644 doc/* %{buildroot}/%{_docdir}/%{name}/
46
%__mkdir -p %{buildroot}/%{_docdir}/matrices/Jawor1CD/
47
%__mkdir -p %{buildroot}/%{_docdir}/matrices/Jawor2CD/
48
%__install -m 644 matrices/Jawor1CD/* %{buildroot}/%{_docdir}/matrices/Jawor1CD/
49
%__install -m 644 matrices/Jawor2CD/* %{buildroot}/%{_docdir}/matrices/Jawor1CD/
50
51
52
%clean
53
rm -rf "%{buildroot}"
54
55
56
%files
57
%defattr(-,root,root)
58
%{_bindir}/%{name}
59
%dir %{_docdir}/matrices
60
%{_docdir}/matrices/*
61
%dir %{_docdir}/%{name}
62
%{_docdir}/%{name}/*
63
%{_mandir}/man1/%{name}.1.gz
64
65
66
%changelog
67