/[packages]/cauldron/acidrip/pristine/SPECS/acidrip.spec
ViewVC logotype

Contents of /cauldron/acidrip/pristine/SPECS/acidrip.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98915 - (show annotations) (download)
Sun May 15 12:39:09 2011 UTC (9 years, 3 months ago) by schedbot
File size: 1932 byte(s)
Copying release 0.14-10.mga1 to pristine/ directory.
1 %define _requires_exceptions perl(AcidRip::\.*)
2
3 Summary: Simple GUI for MEncoder
4 Name: acidrip
5 Version: 0.14
6 Release: %mkrel 10
7 Source: http://prdownloads.sourceforge.net/acidrip/%{name}-%{version}.tar.bz2
8 URL: http://untrepid.com/acidrip
9 License: GPL
10 Group: Video
11 Patch0: %{name}-0.14-xvid_options.patch
12 Patch1: %{name}-0.14-mencoder.patch
13 Patch2: %{name}-0.14-gtk2.patch
14 BuildRequires: mencoder
15 BuildRequires: lsdvd
16 BuildRequires: perl-Gtk2
17 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 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42
43 perl -p -i -e 's/mp3lame/copy/g' Makefile.PL
44
45 %build
46 perl Makefile.PL
47 %make
48
49 %install
50 rm -rf %{buildroot}
51
52 %makeinstall_std INSTALLDIRS=vendor
53
54 #menu
55 mkdir -p %{buildroot}%{_datadir}/applications
56 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
57 [Desktop Entry]
58 Name=AcidRip
59 Comment=Video ripping and conversion
60 Exec=%{name}
61 Icon=video_section
62 Terminal=false
63 Type=Application
64 StartupNotify=true
65 Categories=Video;AudioVideo;AudioVideoEditing;GTK;
66 EOF
67
68 %clean
69 rm -rf %{buildroot}
70
71 %files
72 %defattr(-,root,root)
73 %doc CHANGELOG COPYING TODO
74 %{_bindir}/%{name}
75 %{perl_vendorlib}/AcidRip
76 %{_mandir}/man1/*
77 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop

  ViewVC Help
Powered by ViewVC 1.1.28