#
# Conditional build:
# _with_tests - perform "make test" (needs working, not busy /dev/audio!)
+#
%include /usr/lib/rpm/macros.perl
%define pnam Video-DVDRip
Summary: Video::DVDRip Perl module
Summary(uk): íÏÄÕÌØ ÄÌÑ Perl Video::DVDRip
Summary(zh_CN): Video::DVDRip Perl Ä£¿é
Name: perl-Video-DVDRip
-Version: 0.44
-Release: 2
-License: GPL/Artistic
+Version: 0.50.13
+Release: 1
+License: GPL/Artistic
Group: Development/Languages/Perl
Source0: http://www.exit1.org/dvdrip/dist/%{pnam}-%{version}.tar.gz
+# Source0-md5: 08877521b5ef24044e4ce192d6407e8d
URL: http://www.exit1.org/dvdrip/
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl-devel >= 5.6
+BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: perl-gtk
+BuildRequires: perl-gtk-Gdk-Pixbuf
BuildRequires: gdk-pixbuf-devel
Requires: transcode
-Provides: perl(Video::DVDRip::GUI::Project::ClipZoomTab)
-Provides: perl(Video::DVDRip::GUI::Project::LoggingTab)
-Provides: perl(Video::DVDRip::GUI::Project::StorageTab)
-Provides: perl(Video::DVDRip::GUI::Project::TitleTab)
-Provides: perl(Video::DVDRip::GUI::Project::TranscodeTab)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%setup -q -n %{pnam}-%{version}
%build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
%{__make} OPTIMIZE="%{rpmcflags}"
-%{!?_with_test:%{__make} test}
+%{?_with_tests:%{__make} test}
%install
rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Changes Credits README TODO
%attr(755,root,root) %{_bindir}/*
-%{perl_sitelib}/Video
+%{perl_vendorlib}/Video
+%{_mandir}/man1/*
%{_mandir}/man3/*