]> git.pld-linux.org Git - packages/dvdrip.git/blob - dvdrip.spec
- missing BR
[packages/dvdrip.git] / dvdrip.spec
1 # Conditional build:
2 %bcond_with     tests   # perform "make test" (needs working, not busy /dev/audio!)
3 #
4 %include        /usr/lib/rpm/macros.perl
5 Summary:        Video::DVDRip Perl module
6 Summary(cs.UTF-8):      Modul Video::DVDRip pro Perl
7 Summary(da.UTF-8):      Perlmodul Video::DVDRip
8 Summary(de.UTF-8):      Video::DVDRip Perl Modul
9 Summary(es.UTF-8):      Módulo de Perl Video::DVDRip
10 Summary(fr.UTF-8):      Module Perl Video::DVDRip
11 Summary(it.UTF-8):      Modulo di Perl Video::DVDRip
12 Summary(ja.UTF-8):      Video::DVDRip Perl モジュール
13 Summary(ko.UTF-8):      Video::DVDRip 펄 모줄
14 Summary(nb.UTF-8):      Perlmodul Video::DVDRip
15 Summary(pl.UTF-8):      Moduł Perla Video::DVDRip
16 Summary(pt.UTF-8):      Módulo de Perl Video::DVDRip
17 Summary(pt_BR.UTF-8):   Módulo Perl Video::DVDRip
18 Summary(ru.UTF-8):      Модуль для Perl Video::DVDRip
19 Summary(sv.UTF-8):      Video::DVDRip Perlmodul
20 Summary(uk.UTF-8):      Модуль для Perl Video::DVDRip
21 Summary(zh_CN.UTF-8):   Video::DVDRip Perl 模块
22 Name:           dvdrip
23 Version:        0.98.8
24 Release:        2
25 # same as perl
26 License:        GPL v1+ or Artistic
27 Group:          Development/Languages/Perl
28 Source0:        http://www.exit1.org/dvdrip/dist/%{name}-%{version}.tar.gz
29 # Source0-md5:  61b77b298b14c6bde83713e93e9ea4d8
30 Patch0:         %{name}-locale_path.patch
31 URL:            http://www.exit1.org/dvdrip/
32 BuildRequires:  perl-AnyEvent
33 BuildRequires:  perl-Event
34 BuildRequires:  perl-Event-RPC
35 BuildRequires:  perl-Event-ExecFlow
36 BuildRequires:  perl-Gtk2-Ex-FormFactory
37 BuildRequires:  perl-devel >= 1:5.8.0
38 BuildRequires:  perl-libintl >= 1.16
39 BuildRequires:  rpm-perlprov >= 4.1-13
40 Requires:       ImageMagick
41 Requires:       perl-libintl >= 1.16
42 Requires:       transcode
43 Suggests:       ffmpeg
44 Suggests:       mplayer
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 dvd::rip is a Perl GTK+ based DVD copy program build on top of a low
49 level DVD Ripping API, which uses the Linux Video Stream Processing
50 Tool transcode, written by Thomas Oestreich.
51
52 %description -l en.UTF-8
53 dvd::rip is a Perl GTK+ based DVD copy program build on top of a low
54 level DVD Ripping API, which uses the Linux Video Stream Processing
55 Tool transcode, written by Thomas Östreich.
56
57 %description -l pl.UTF-8
58 dvd::rip jest opartym na GTK+ programem w Perlu do kopiowania DVD,
59 zbudowanym w oparciu o niskopoziomowe API DVD Ripping, które z kolei
60 korzysta z transcode - linuksowego narzędzia do obróbki strumieni
61 obrazu, napisanego przez Thomasa Östreicha.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 export SKIP_UNPACK_REQUIRED_MODULES=1
69 %{__perl} Makefile.PL \
70         INSTALLDIRS=vendor
71 %{__make} -j1 \
72         CC="%{__cc}" \
73         CFLAGS="%{rpmcflags}"
74
75 %{?with_tests:%{__make} test}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82 mv $RPM_BUILD_ROOT%{perl_vendorlib}/LocaleData $RPM_BUILD_ROOT%{_datadir}/locale
83
84 %find_lang video.%{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f video.%{name}.lang
90 %defattr(644,root,root,755)
91 %doc Changes Credits README TODO
92 %attr(755,root,root) %{_bindir}/*
93 %{perl_vendorlib}/Video
94 %{_mandir}/man1/*
95 %{_mandir}/man3/Video*
This page took 0.043046 seconds and 4 git commands to generate.