]>
Commit | Line | Data |
---|---|---|
7ffc3779 | 1 | %include /usr/lib/rpm/macros.perl |
4860a838 | 2 | Summary: Graphical frontend for MPlayer/Mencoder for DVD ripping |
c69ad77a | 3 | Summary(pl.UTF-8): Graficzna nakładka na MPlayer/Mencoder do zgrywania DVD |
4860a838 | 4 | Name: acidrip |
d593f126 | 5 | Version: 0.14 |
6 | Release: 1 | |
4860a838 | 7 | License: GPL/Artistic |
8 | Group: X11/Applications/Multimedia | |
9 | Source0: http://dl.sourceforge.net/acidrip/%{name}-%{version}.tar.gz | |
d593f126 | 10 | # Source0-md5: c1c27bbf658e5c30f43e067a8ae283de |
4860a838 | 11 | Source1: %{name}.desktop |
a0af915b | 12 | Patch0: %{name}-makefile.patch |
829fc704 | 13 | URL: http://untrepid.com/acidrip/ |
4860a838 | 14 | BuildRequires: perl-Gtk2 >= 0.98 |
15 | BuildRequires: perl-devel >= 1:5.8.0 | |
16 | BuildRequires: rpm-perlprov >= 4.1-13 | |
9d0185f7 | 17 | Requires: lsdvd >= 0.10 |
4860a838 | 18 | Requires: mplayer |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
a0af915b | 22 | AcidRip is a Gtk2-perl application for ripping and encoding DVD's. It |
23 | is Graphical wraper to MPlayer and MEncoder which automates the | |
24 | process in a number of ways: | |
25 | - finds longest title | |
26 | - calculate video bitrate for given filesize | |
27 | - finds black bands and crops them | |
28 | - gives sugesstions for improved performance | |
4860a838 | 29 | |
0595e45c JR |
30 | %description -l pl.UTF-8 |
31 | AcidRip jest aplikacją opartą o Gtk2-perl służącą do zgrywania i | |
32 | odkodowywania płyt DVD. Jest to graficzna nakładka na MPlayera i | |
33 | MEncodera, która automatyzuje ten proces na kilka sposobów: | |
34 | - znajduje najdłuższy tytuł | |
35 | - oblicza transfer wideo dla danej wielkości pliku | |
a0af915b | 36 | - znajduje i przycina czarne opaski |
0595e45c | 37 | - podaje propozycje dla zwiększenia wydajności |
4860a838 | 38 | |
39 | %prep | |
40 | %setup -q | |
a0af915b | 41 | %patch0 -p1 |
4860a838 | 42 | |
43 | %build | |
44 | %{__perl} Makefile.PL \ | |
7ffc3779 | 45 | INSTALLDIRS=vendor |
4860a838 | 46 | |
47 | %{__make} \ | |
7ffc3779 | 48 | OPTIMIZE="%{rpmcflags}" |
4860a838 | 49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
a0af915b | 52 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
4860a838 | 53 | |
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
4860a838 | 58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc CHANGELOG TODO | |
65 | %attr(755,root,root) %{_bindir}/* | |
7fb930f4 | 66 | %dir %{perl_vendorlib}/AcidRip |
4860a838 | 67 | %{perl_vendorlib}/AcidRip/*.pm |
68 | %{_desktopdir}/*.desktop | |
4860a838 | 69 | %{_mandir}/man1/* |