/[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 85516 - (hide annotations) (download)
Thu Apr 14 21:32:10 2011 UTC (13 years ago) by ennael
Original Path: cauldron/acidrip/current/SPECS/acidrip.spec
File size: 2168 byte(s)
imported package acidrip
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     BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
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/mandriva-%{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     %if %mdkversion < 200900
74     %post
75     %{update_menus}
76     %endif
77    
78     %if %mdkversion < 200900
79     %postun
80     %{clean_menus}
81     %endif
82    
83     %files
84     %defattr(-,root,root)
85     %doc CHANGELOG COPYING TODO
86     %{_bindir}/%{name}
87     %{perl_vendorlib}/AcidRip
88     %{_mandir}/man1/*
89     %{_datadir}/applications/mandriva*
90    
91    

  ViewVC Help
Powered by ViewVC 1.1.30