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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 335258 - (show annotations) (download)
Wed Dec 26 01:08:29 2012 UTC (11 years, 3 months ago) by pterjan
File size: 1973 byte(s)
- fix dependencies, it needs both mencoder and mplayer
1 %define _requires_exceptions perl(AcidRip::\.*)
2
3 Summary: Simple GUI for MEncoder
4 Name: acidrip
5 Version: 0.14
6 Release: %mkrel 11
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: lsdvd
15 BuildRequires: mencoder
16 BuildRequires: mplayer
17 BuildRequires: perl-Gtk2
18 BuildRequires: perl-devel
19 Requires: lsdvd
20 Requires: mencoder
21 Requires: mplayer
22 Requires: perl-Gtk2
23 BuildArch: noarch
24
25 %description
26 AcidRip is a Gtk::Perl application for ripping and encoding DVD's. It neatly
27 wraps MPlayer and MEncoder, which I think is pretty handy, seeing as MPlayer
28 is by far the best bit of video playing kit around for Linux. As well as
29 creating a simple Graphical Interface for those scared of getting down and
30 dirty with MEncoders command line interface, It also automates the process in
31 a number of ways:
32 * Parses DVD into contents tree
33 * Finds longest title
34 * Calculate video bitrate for given filesize
35 * Finds black bands and crops them
36 * Gives suggestions for improved performance
37 * Other stuff!
38
39 %prep
40 %setup -q
41 %patch0 -p1
42 %patch1 -p1
43 %patch2 -p1
44
45 perl -p -i -e 's/mp3lame/copy/g' Makefile.PL
46
47 %build
48 perl Makefile.PL
49 %make
50
51 %install
52 rm -rf %{buildroot}
53
54 %makeinstall_std INSTALLDIRS=vendor
55
56 #menu
57 mkdir -p %{buildroot}%{_datadir}/applications
58 cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
59 [Desktop Entry]
60 Name=AcidRip
61 Comment=Video ripping and conversion
62 Exec=%{name}
63 Icon=video_section
64 Terminal=false
65 Type=Application
66 StartupNotify=true
67 Categories=Video;AudioVideo;AudioVideoEditing;GTK;
68 EOF
69
70 %clean
71 rm -rf %{buildroot}
72
73 %files
74 %defattr(-,root,root)
75 %doc CHANGELOG COPYING TODO
76 %{_bindir}/%{name}
77 %{perl_vendorlib}/AcidRip
78 %{_mandir}/man1/*
79 %{_datadir}/applications/%{_real_vendor}-%{name}.desktop

  ViewVC Help
Powered by ViewVC 1.1.30