1 |
tv |
689457 |
%global __requires_exclude perl\\(AcidRip::.*\\) |
2 |
wally |
90216 |
|
3 |
ennael |
85516 |
Summary: Simple GUI for MEncoder |
4 |
|
|
Name: acidrip |
5 |
|
|
Version: 0.14 |
6 |
umeabot |
1838367 |
Release: %mkrel 20 |
7 |
danf |
1778763 |
Source: https://prdownloads.sourceforge.net/acidrip/%{name}-%{version}.tar.bz2 |
8 |
ennael |
85516 |
URL: http://untrepid.com/acidrip |
9 |
pterjan |
335264 |
License: GPLv2 |
10 |
pterjan |
335260 |
Group: Video/Editors and Converters |
11 |
ennael |
85516 |
Patch0: %{name}-0.14-xvid_options.patch |
12 |
|
|
Patch1: %{name}-0.14-mencoder.patch |
13 |
|
|
Patch2: %{name}-0.14-gtk2.patch |
14 |
pterjan |
335258 |
BuildRequires: lsdvd |
15 |
ennael |
85516 |
BuildRequires: mencoder |
16 |
ovitters |
1143909 |
BuildRequires: perl(Gtk2) |
17 |
ennael |
85516 |
BuildRequires: perl-devel |
18 |
|
|
Requires: lsdvd |
19 |
|
|
Requires: mencoder |
20 |
|
|
Requires: perl-Gtk2 |
21 |
|
|
BuildArch: noarch |
22 |
|
|
|
23 |
|
|
%description |
24 |
|
|
AcidRip is a Gtk::Perl application for ripping and encoding DVD's. It neatly |
25 |
|
|
wraps MPlayer and MEncoder, which I think is pretty handy, seeing as MPlayer |
26 |
|
|
is by far the best bit of video playing kit around for Linux. As well as |
27 |
|
|
creating a simple Graphical Interface for those scared of getting down and |
28 |
|
|
dirty with MEncoders command line interface, It also automates the process in |
29 |
|
|
a number of ways: |
30 |
|
|
* Parses DVD into contents tree |
31 |
|
|
* Finds longest title |
32 |
|
|
* Calculate video bitrate for given filesize |
33 |
|
|
* Finds black bands and crops them |
34 |
|
|
* Gives suggestions for improved performance |
35 |
|
|
* Other stuff! |
36 |
|
|
|
37 |
|
|
%prep |
38 |
|
|
%setup -q |
39 |
ovitters |
875644 |
%autopatch -p1 |
40 |
ennael |
85516 |
|
41 |
|
|
perl -p -i -e 's/mp3lame/copy/g' Makefile.PL |
42 |
|
|
|
43 |
|
|
%build |
44 |
|
|
perl Makefile.PL |
45 |
ovitters |
1578749 |
%make_build |
46 |
ennael |
85516 |
|
47 |
|
|
%install |
48 |
wally |
1470864 |
%make_install INSTALLDIRS=vendor |
49 |
ennael |
85516 |
|
50 |
|
|
#menu |
51 |
|
|
mkdir -p %{buildroot}%{_datadir}/applications |
52 |
dams |
451497 |
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF |
53 |
ennael |
85516 |
[Desktop Entry] |
54 |
|
|
Name=AcidRip |
55 |
|
|
Comment=Video ripping and conversion |
56 |
|
|
Exec=%{name} |
57 |
|
|
Icon=video_section |
58 |
|
|
Terminal=false |
59 |
|
|
Type=Application |
60 |
|
|
StartupNotify=true |
61 |
|
|
Categories=Video;AudioVideo;AudioVideoEditing;GTK; |
62 |
|
|
EOF |
63 |
|
|
|
64 |
|
|
%files |
65 |
|
|
%doc CHANGELOG COPYING TODO |
66 |
|
|
%{_bindir}/%{name} |
67 |
|
|
%{perl_vendorlib}/AcidRip |
68 |
|
|
%{_mandir}/man1/* |
69 |
dams |
451497 |
%{_datadir}/applications/%{name}.desktop |