]>
Commit | Line | Data |
---|---|---|
a6bdb608 ER |
1 | # TODO |
2 | # - %{perl_vendorlib}/LocaleData to perl-base or use glibc dirs | |
41323212 | 3 | # |
4 | # Conditional build: | |
9268c394 | 5 | %bcond_with tests # perform "make test" (needs working, not busy /dev/audio!) |
685511fb | 6 | # |
db82b9e1 | 7 | %include /usr/lib/rpm/macros.perl |
70376842 | 8 | Summary: Video::DVDRip Perl module |
1b4188d3 ER |
9 | Summary(cs.UTF-8): Modul Video::DVDRip pro Perl |
10 | Summary(da.UTF-8): Perlmodul Video::DVDRip | |
11 | Summary(de.UTF-8): Video::DVDRip Perl Modul | |
12 | Summary(es.UTF-8): Módulo de Perl Video::DVDRip | |
13 | Summary(fr.UTF-8): Module Perl Video::DVDRip | |
14 | Summary(it.UTF-8): Modulo di Perl Video::DVDRip | |
15 | Summary(ja.UTF-8): Video::DVDRip Perl モジュール | |
16 | Summary(ko.UTF-8): Video::DVDRip 펄 모줄 | |
17 | Summary(nb.UTF-8): Perlmodul Video::DVDRip | |
18 | Summary(pl.UTF-8): Moduł Perla Video::DVDRip | |
19 | Summary(pt.UTF-8): Módulo de Perl Video::DVDRip | |
20 | Summary(pt_BR.UTF-8): Módulo Perl Video::DVDRip | |
21 | Summary(ru.UTF-8): Модуль для Perl Video::DVDRip | |
22 | Summary(sv.UTF-8): Video::DVDRip Perlmodul | |
23 | Summary(uk.UTF-8): Модуль для Perl Video::DVDRip | |
24 | Summary(zh_CN.UTF-8): Video::DVDRip Perl 模块 | |
b4867aaf | 25 | Name: dvdrip |
76d04a58 | 26 | Version: 0.98.2 |
2843541f | 27 | Release: 2 |
1feb302a | 28 | # same as perl |
29 | License: GPL v1+ or Artistic | |
7bedc3b1 | 30 | Group: Development/Languages/Perl |
b4867aaf | 31 | Source0: http://www.exit1.org/dvdrip/dist/%{name}-%{version}.tar.gz |
76d04a58 | 32 | # Source0-md5: b0252aeb490796248a91e6c2b3507d53 |
7bedc3b1 | 33 | URL: http://www.exit1.org/dvdrip/ |
b4867aaf AM |
34 | BuildRequires: perl-AnyEvent |
35 | BuildRequires: perl-Event | |
36 | BuildRequires: perl-Event-RPC | |
37 | BuildRequires: perl-Gtk2-Ex-FormFactory | |
1fca65ec | 38 | BuildRequires: perl-devel >= 1:5.8.0 |
2843541f | 39 | BuildRequires: perl-libintl >= 1.16 |
a6bdb608 | 40 | BuildRequires: rpm-perlprov >= 4.1-13 |
c2e02ad7 | 41 | Requires: ImageMagick |
2843541f | 42 | Requires: perl-libintl >= 1.16 |
7bedc3b1 GS |
43 | Requires: transcode |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
1a315874 | 47 | dvd::rip is a Perl GTK+ based DVD copy program build on top of a low |
7bedc3b1 | 48 | level DVD Ripping API, which uses the Linux Video Stream Processing |
32c01e72 JB |
49 | Tool transcode, written by Thomas Oestreich. |
50 | ||
51 | %description -l en.UTF-8 | |
52 | dvd::rip is a Perl GTK+ based DVD copy program build on top of a low | |
53 | level DVD Ripping API, which uses the Linux Video Stream Processing | |
9084f4be | 54 | Tool transcode, written by Thomas Östreich. |
7bedc3b1 | 55 | |
9084f4be | 56 | %description -l pl.UTF-8 |
f5ca33ac | 57 | dvd::rip jest opartym na GTK+ programem w Perlu do kopiowania DVD, |
9084f4be | 58 | zbudowanym w oparciu o niskopoziomowe API DVD Ripping, które z kolei |
59 | korzysta z transcode - linuksowego narzędzia do obróbki strumieni | |
60 | obrazu, napisanego przez Thomasa Östreicha. | |
70376842 | 61 | |
7bedc3b1 | 62 | %prep |
b4867aaf | 63 | %setup -q |
7bedc3b1 GS |
64 | |
65 | %build | |
5c8fe12a | 66 | %{__perl} Makefile.PL \ |
67 | INSTALLDIRS=vendor | |
a6bdb608 ER |
68 | %{__make} -j1 \ |
69 | CC="%{__cc}" \ | |
70 | CFLAGS="%{rpmcflags}" | |
41323212 | 71 | |
9268c394 | 72 | %{?with_tests:%{__make} test} |
7bedc3b1 GS |
73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
69a21928 | 77 | %{__make} install \ |
78 | DESTDIR=$RPM_BUILD_ROOT | |
7bedc3b1 | 79 | |
cbcd5198 GS |
80 | %clean |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
70376842 | 83 | %files |
7bedc3b1 | 84 | %defattr(644,root,root,755) |
70376842 | 85 | %doc Changes Credits README TODO |
86 | %attr(755,root,root) %{_bindir}/* | |
5c8fe12a | 87 | %{perl_vendorlib}/Video |
6c6e6521 | 88 | %{_mandir}/man1/* |
76d04a58 | 89 | %{_mandir}/man3/Video* |
a6bdb608 ER |
90 | # FIXME: this seems wrong |
91 | %dir %{perl_vendorlib}/LocaleData | |
92 | %lang(cs) %dir %{perl_vendorlib}/LocaleData/cs/LC_MESSAGES | |
93 | %lang(cs) %{perl_vendorlib}/LocaleData/cs/LC_MESSAGES/video.dvdrip.mo | |
94 | %lang(de) %dir %{perl_vendorlib}/LocaleData/de/LC_MESSAGES | |
95 | %lang(de) %{perl_vendorlib}/LocaleData/de/LC_MESSAGES/video.dvdrip.mo | |
96 | %lang(es) %dir %{perl_vendorlib}/LocaleData/es/LC_MESSAGES | |
97 | %lang(es) %{perl_vendorlib}/LocaleData/es/LC_MESSAGES/video.dvdrip.mo | |
98 | %lang(fr) %dir %{perl_vendorlib}/LocaleData/fr/LC_MESSAGES | |
99 | %lang(fr) %{perl_vendorlib}/LocaleData/fr/LC_MESSAGES/video.dvdrip.mo | |
100 | %lang(it) %dir %{perl_vendorlib}/LocaleData/it/LC_MESSAGES | |
101 | %lang(it) %{perl_vendorlib}/LocaleData/it/LC_MESSAGES/video.dvdrip.mo | |
102 | %lang(sr) %dir %{perl_vendorlib}/LocaleData/sr/LC_MESSAGES | |
103 | %lang(sr) %{perl_vendorlib}/LocaleData/sr/LC_MESSAGES/video.dvdrip.mo |