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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 85518 - (hide annotations) (download)
Thu Apr 14 21:34:44 2011 UTC (12 years, 11 months ago) by ennael
Original Path: cauldron/acidrip/current/SPECS/acidrip.spec
File size: 2003 byte(s)
clean spec file

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

  ViewVC Help
Powered by ViewVC 1.1.30