Name : Video-DVDRip Relocations: (not relocatable)
Version : 0.52.5 Vendor: Penguin Liberation Front
Release : 2plf Build Date: Thu 02 Jun 2005
08:53:06 AM CEST
Install Date: (not installed) Build Host: virgo.nanardon
Group : Video Source RPM: (none)
Size : 389225 License: GPL
Signature : (none)
Packager : Götz Waschk <goetz@xxxxxxxx>
URL : http://www.exit1.org/dvdrip/
Summary : DVD ripping GUI
Description :
dvd::rip is a full featured DVD copy program written in Perl. It
provides an easy to use but feature-rich Gtk+ GUI to control almost
all aspects of the ripping and transcoding process. It uses the widely
known video processing swissknife transcode and many other Open Source
tools.
This package is in PLF, as DVD ripping might break local laws.
---------------
Götz Waschk <goetz@xxxxxxxx> 0.52.5-2plf
- add a mime type for .rip and associate dvd::rip with it
---------------
---------------
Index: Video-DVDRip.spec
===================================================================
RCS file: /var/lib/cvs/plf/SPECS/free/Video-DVDRip/Video-DVDRip.spec,v
retrieving revision 1.58
diff -u -r1.58 Video-DVDRip.spec
--- Video-DVDRip.spec 17 May 2005 10:08:56 -0000 1.58
+++ Video-DVDRip.spec 2 Jun 2005 06:59:15 -0000
@@ -1,6 +1,6 @@
%define name Video-DVDRip
%define version 0.52.5
-%define rel 1
+%define rel 2
%define release %mkrel_fixed2 %rel
%define perlgtk 0.7008
%define mkrel_fixed2(c:) %{-c: 0.%{-c*}.}%{!?_with_unstable:%(perl -e
'$_="%{1}";m/(.\*\\D\+)?(\\d+)$/;$rel=${2}-1;re;print
"$1$rel";').%{?subrel:%subrel}%{!?subrel:1}.%{?distversion:%distversion}%{?!distversion:%(echo
$[%{mdkversion}/10])}}%{?_with_unstable:%{1}}%{?distsuffix:%distsuffix}%{?!distsuffix:mdk}
@@ -17,6 +17,7 @@
Source1: %{name}-16.png
Source2: %{name}-32.png
Source3: %{name}-48.png
+Source4: %name.xml
Patch: Video-DVDRip-0.50.18-fping-path.patch.bz2
Patch1: Video-DVDRip-0.52.5-cssmethod.patch.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@@ -29,6 +30,8 @@
Requires: fping
Requires: %name-dr_exec = %version
Requires: transcode >= 0.6.3-2plf
+Requires(post): shared-mime-info
+Requires(postun): shared-mime-info
Buildrequires: perl-devel
Buildrequires: perl-GTK-GdkPixbuf >= %perlgtk
Buildrequires: perl-libintl-perl
@@ -70,15 +73,18 @@
install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_liconsdir}/%name.png
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/%name.png
install -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_miconsdir}/%name.png
+#mime
+install -D -m 644 %{SOURCE4} %buildroot%_datadir/mime/packages/%name.xml
# menu
install -d -m 755 $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): \
- command="%{_bindir}/dvdrip"\\
- needs="X11"\\
- section="Multimedia/Video"\\
- icon="%name.png"\\
- title="%{name}"\\
+ command="%{_bindir}/dvdrip"\
+ needs="X11"\
+ section="Multimedia/Video"\
+ icon="%name.png"\
+ title="%{name}"\
+ mimetypes="application/x-rip" \
longtitle="DVD ripping GUI"
EOF
@@ -91,8 +97,12 @@
%post
%update_menus
+update-mime-database %_datadir/mime > /dev/null
+
%postun
%clean_menus
+update-mime-database %_datadir/mime > /dev/null
+
%files -f %name.lang
%defattr(-,root,root)
@@ -100,6 +110,7 @@
%{_bindir}/*
%{_mandir}/*/*
%{perl_vendorlib}/Video/
+%_datadir/mime/packages/%name.xml
%_menudir/%name
%_liconsdir/%name.png
%_iconsdir/%name.png
@@ -107,6 +118,9 @@
%changelog
+* Thu Jun 2 2005 Götz Waschk <goetz@xxxxxxxx> 0.52.5-2plf
+- add a mime type for .rip and associate dvd::rip with it
+
* Tue May 17 2005 Götz Waschk <goetz@xxxxxxxx> 0.52.5-1plf
- rediff patch 1
- New release 0.52.5
|