]> git.pld-linux.org Git - packages/dvdrip.git/blame - dvdrip.spec
- R
[packages/dvdrip.git] / dvdrip.spec
CommitLineData
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 8Summary: Video::DVDRip Perl module
1b4188d3
ER
9Summary(cs.UTF-8): Modul Video::DVDRip pro Perl
10Summary(da.UTF-8): Perlmodul Video::DVDRip
11Summary(de.UTF-8): Video::DVDRip Perl Modul
12Summary(es.UTF-8): Módulo de Perl Video::DVDRip
13Summary(fr.UTF-8): Module Perl Video::DVDRip
14Summary(it.UTF-8): Modulo di Perl Video::DVDRip
15Summary(ja.UTF-8): Video::DVDRip Perl モジュール
16Summary(ko.UTF-8): Video::DVDRip 펄 모줄
17Summary(nb.UTF-8): Perlmodul Video::DVDRip
18Summary(pl.UTF-8): Moduł Perla Video::DVDRip
19Summary(pt.UTF-8): Módulo de Perl Video::DVDRip
20Summary(pt_BR.UTF-8): Módulo Perl Video::DVDRip
21Summary(ru.UTF-8): Модуль для Perl Video::DVDRip
22Summary(sv.UTF-8): Video::DVDRip Perlmodul
23Summary(uk.UTF-8): Модуль для Perl Video::DVDRip
24Summary(zh_CN.UTF-8): Video::DVDRip Perl 模块
b4867aaf 25Name: dvdrip
76d04a58 26Version: 0.98.2
2843541f 27Release: 2
1feb302a 28# same as perl
29License: GPL v1+ or Artistic
7bedc3b1 30Group: Development/Languages/Perl
b4867aaf 31Source0: http://www.exit1.org/dvdrip/dist/%{name}-%{version}.tar.gz
76d04a58 32# Source0-md5: b0252aeb490796248a91e6c2b3507d53
7bedc3b1 33URL: http://www.exit1.org/dvdrip/
b4867aaf
AM
34BuildRequires: perl-AnyEvent
35BuildRequires: perl-Event
36BuildRequires: perl-Event-RPC
37BuildRequires: perl-Gtk2-Ex-FormFactory
1fca65ec 38BuildRequires: perl-devel >= 1:5.8.0
2843541f 39BuildRequires: perl-libintl >= 1.16
a6bdb608 40BuildRequires: rpm-perlprov >= 4.1-13
c2e02ad7 41Requires: ImageMagick
2843541f 42Requires: perl-libintl >= 1.16
7bedc3b1
GS
43Requires: transcode
44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45
46%description
1a315874 47dvd::rip is a Perl GTK+ based DVD copy program build on top of a low
7bedc3b1 48level DVD Ripping API, which uses the Linux Video Stream Processing
32c01e72
JB
49Tool transcode, written by Thomas Oestreich.
50
51%description -l en.UTF-8
52dvd::rip is a Perl GTK+ based DVD copy program build on top of a low
53level DVD Ripping API, which uses the Linux Video Stream Processing
9084f4be 54Tool transcode, written by Thomas Östreich.
7bedc3b1 55
9084f4be 56%description -l pl.UTF-8
f5ca33ac 57dvd::rip jest opartym na GTK+ programem w Perlu do kopiowania DVD,
9084f4be 58zbudowanym w oparciu o niskopoziomowe API DVD Ripping, które z kolei
59korzysta z transcode - linuksowego narzędzia do obróbki strumieni
60obrazu, 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
75rm -rf $RPM_BUILD_ROOT
76
69a21928 77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
7bedc3b1 79
cbcd5198
GS
80%clean
81rm -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
This page took 0.041649 seconds and 4 git commands to generate.