]> git.pld-linux.org Git - packages/acidrip.git/blob - acidrip.spec
- missing dir
[packages/acidrip.git] / acidrip.spec
1 # TODO:
2 # - remove buildtime test for lsdvd/mplayer (major build issue)
3 # - better descritions
4 #
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
8 Name:           acidrip
9 Version:        0.11
10 Release:        0.1
11 License:        GPL/Artistic
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
17 Source2:        %{name}.png
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
23 Requires:       mplayer
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 AcidRip is a Gtk2-perl application for ripping and encoding DVD's.
28
29 %description -l pl
30 AcidRip jest aplikacj± opart± o Gtk2-perl s³u¿±c± do zgrywania
31 i odkodowywania p³yt DVD.
32
33 %prep
34 %setup -q
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39
40 %{__make} \
41         OPTIMIZE="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 install -c %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
51 install -c %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc CHANGELOG TODO
59 %attr(755,root,root) %{_bindir}/*
60 %dir %{perl_vendorlib}/AcidRip
61 %{perl_vendorlib}/AcidRip/*.pm
62 %{_desktopdir}/*.desktop
63 %{_pixmapsdir}/*.png
64 %{_mandir}/man1/*
This page took 0.069413 seconds and 3 git commands to generate.