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