2 # - remove buildtime test for lsdvd/mplayer (major build issue)
5 %include /usr/lib/rpm/macros.perl
6 Summary: Graphical frontend for MPlayer/Mencoder for DVD ripping
7 Summary(pl): Graficzna nak³adka na MPlayer/Mencoder do zgrywania DVD
12 Group: X11/Applications/Multimedia
13 Source0: http://dl.sourceforge.net/acidrip/%{name}-%{version}.tar.gz
14 # Source0-md5: 1a06fb89a4ac2486b9a2f192afb49386
15 Source1: %{name}.desktop
16 # icon taken from gnome-gorilla theme and a little bit modificated
18 URL: http://acidrip.thirtythreeandathird.net/
19 BuildRequires: perl-Gtk2 >= 0.98
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 Requires: lsdvd >= 0.9
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 AcidRip is a Gtk2-perl application for ripping and encoding DVD's.
30 AcidRip jest aplikacj± opart± o Gtk2-perl s³u¿±c± do zgrywania
31 i odkodowywania p³yt DVD.
37 %{__perl} Makefile.PL \
41 OPTIMIZE="%{rpmcflags}"
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
48 DESTDIR=$RPM_BUILD_ROOT
50 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
51 install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %attr(755,root,root) %{_bindir}/*
60 %dir %{perl_vendorlib}/AcidRip
61 %{perl_vendorlib}/AcidRip/*.pm
62 %{_desktopdir}/*.desktop