Re: dvdrip
Piergiorgio Sartor <[email protected]> Tue, 17 Jun 2008 19:14:10 +0200
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
OK,
so I repackage dvdrip, taking the opportunity to update
to the latest release.
The spec file, it seems, needed some "massage", but it
is fine.
For whoever is interested, I attached here the three
spec file necessary.
bye,
On Mon, Jun 16, 2008 at 06:24:49PM +0200, Piergiorgio Sartor wrote:
> Hi again,
>
> together with transcode for i386, it seems
> also dvdrip does not really work with F9.
>
> Starting "dvdrip" from command line, I get:
>
> Can't locate Video/DVDRip.pm in @INC (@INC contains: lib /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/bin/dvdrip line 96.
>
> I guess that's because it is installed in "site_perl/5.8.8"
>
> It is enough to "rebuild" (or "repackaging") or
> does it need deeper modifications?
>
> bye,
>
> --
>
> piergiorgio
--
piergiorgio
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="dvdrip.spec"
Content-Transfer-Encoding: quoted-printable
# $Id: dvdrip.spec 5273 2007-04-16 12:29:09Z thias $
# Authority: matthias
%define desktop_vendor rpmforge
%define perl_sitelib %(eval "`perl -V:installsitelib`"; echo $installs=
itelib)
Summary: Graphical DVD ripping and encoding tool based on transcode
Name: dvdrip
Version: 0.98.8
Release: 1.f9
License: GPL+ or Artistic
Group: Applications/Multimedia
URL: http://www.exit1.org/dvdrip/
Source: http://www.exit1.org/dvdrip/dist/dvdrip-%{version}.tar.gz
Patch0: Video-DVDRip-0.97.8-nontplworkaround.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: transcode >=3D 0.6.13
Requires: ImageMagick, ogmtools, subtitleripper, vcdimager, lsdvd
Requires: perl(Gtk2) >=3D 1.081, perl(Gtk2::Ex::FormFactory) >=3D 0.65
Requires: perl(Locale::TextDomain) >=3D 1.16, perl(Event::ExecFlow) >=3D =
0.62
BuildRequires: perl(Gtk2) >=3D 1.081, perl(Gtk2::Ex::FormFactory) >=3D 0.=
65
BuildRequires: perl(Locale::TextDomain) >=3D 1.16, perl(Event::ExecFlow) =
>=3D 0.62
BuildRequires: perl(Event::RPC)
%{!?_without_freedesktop:BuildRequires: desktop-file-utils}
Obsoletes: perl-Video-DVDRip <=3D 0.98.1-2
%description
dvd::rip is a full featured DVD copy program. 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.
%prep
%setup -q
%patch0 -p1 -b .nontplworkaround
%build
%{__perl} Makefile.PL \
INSTALLSCRIPT=3D%{buildroot}%{_bindir} \
INSTALLBIN=3D%{buildroot}%{_bindir} \
INSTALLSITESCRIPT=3D%{buildroot}%{_bindir} \
INSTALLSITELIB=3D%{buildroot}%{perl_sitelib} \
INSTALLSITEBIN=3D%{buildroot}%{_bindir} \
INSTALLSITEARCH=3D%{buildroot}%{perl_sitearch} \
INSTALLMAN1DIR=3D%{buildroot}%{_mandir}/man1 \
INSTALLSITEMAN1DIR=3D%{buildroot}%{_mandir}/man1 \
INST_MAN1DIR=3D%{buildroot}%{_mandir}/man1 \
INSTALLMAN3DIR=3D%{buildroot}%{_mandir}/man3 \
INSTALLSITEMAN3DIR=3D%{buildroot}%{_mandir}/man3 \
INST_MAN3DIR=3D%{buildroot}%{_mandir}/man3
# Disable %{?_smp_mflags}, it makes build fail (0.98.0)
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
# Unpackaged strange files!
%{__rm} -f %{buildroot}%{_mandir}/man?/.exists* || :
# Unneeded, all is in sitelib (only a .packlist in there)
%{__rm} -rf %{buildroot}%{perl_sitearch}
# Desktop entry
%{__cat} > dvdrip.desktop << EOF
[Desktop Entry]
Name=3DDVD Ripper and Encoder
Comment=3DBackup and compression utility for DVDs
Exec=3Ddvdrip
Icon=3D%{perl_sitelib}/Video/DVDRip/icon.xpm
Terminal=3Dfalse
Type=3DApplication
Categories=3DAudioVideo;
EOF
%if %{?_without_freedesktop:1}0
%{__install} -D -p -m 0644 dvdrip.desktop \
%{buildroot}%{_sysconfdir}/X11/applnk/Multimedia/dvdrip.desktop
%else
%{__mkdir_p} %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor} \
--dir %{buildroot}%{_datadir}/applications \
dvdrip.desktop
%endif
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes COPYRIGHT Credits README TODO
%attr(0755,root,root) %{_bindir}/*
%lang(cs) %{perl_sitelib}/LocaleData/cs/LC_MESSAGES/video.dvdrip.mo
%lang(de) %{perl_sitelib}/LocaleData/de/LC_MESSAGES/video.dvdrip.mo
%lang(es) %{perl_sitelib}/LocaleData/es/LC_MESSAGES/video.dvdrip.mo
%lang(fr) %{perl_sitelib}/LocaleData/fr/LC_MESSAGES/video.dvdrip.mo
%lang(it) %{perl_sitelib}/LocaleData/it/LC_MESSAGES/video.dvdrip.mo
%lang(sr) %{perl_sitelib}/LocaleData/sr*/LC_MESSAGES/video.dvdrip.mo
%{perl_sitelib}/Video/
%{!?_without_freedesktop:%{_datadir}/applications/%{desktop_vendor}-dvdri=
p.desktop}
%{?_without_freedesktop:/etc/X11/applnk/Multimedia/dvdrip.desktop}
%{_mandir}/man*/*
%changelog
* Mon Jun 16 2008 Piergiorgio Sartor 0.98.8-1
- Update to 0.98.8
- Fedora 9
* Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 0.98.7-1
- Update to 0.98.7.
* Mon Apr 16 2007 Matthias Saou <http://freshrpms.net/> 0.98.6-1
- Update to 0.98.6.
* Mon Apr 2 2007 Matthias Saou <http://freshrpms.net/> 0.98.4-2
- Include two fixes from J=F6rn.
* Mon Mar 26 2007 Matthias Saou <http://freshrpms.net/> 0.98.4-1
- Update to 0.98.4.
* Mon Mar 12 2007 Matthias Saou <http://freshrpms.net/> 0.98.3-1
- Update to 0.98.3.
* Mon Nov 27 2006 Matthias Saou <http://freshrpms.net/> 0.98.2-1
- Update to 0.98.2.
* Mon Sep 18 2006 Matthias Saou <http://freshrpms.net/> 0.98.1-1
- Rename to dvdrip, like upstream did.
- Obsolete up to last know version of perl-Video-DVDRip (<=3D 0.98.1-2).
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.98.1-1
- Update to 0.98.1.
* Tue Aug 22 2006 Matthias Saou <http://freshrpms.net/> 0.98.0-1
- Update to 0.98.0.
- Upstream changed the tarball name to "dvdrip" now, the package will pro=
bably
change soon. Provide dvdrip with same V-R for now.
- Add perl(Event::RPC) build requirement, otherwise the bundled gets inst=
alled.
- Update source URL and description.
* Sun Jul 2 2006 Matthias Saou <http://freshrpms.net/> 0.97.12-1
- Update to 0.97.12.
- Remove no longer needed tet patch, since we use the "fixed" source.
- Now require Gtk2::Ex::FormFactory >=3D 0.65.
* Tue Jun 20 2006 Matthias Saou <http://freshrpms.net/> 0.97.11-2
- Exclude experimental dvdrip-tet binary, since it also had a leftover
reference to FixLocaleTextDomainUTF8 that broke the automatically
generated dependencies.
* Mon Jun 19 2006 Matthias Saou <http://freshrpms.net/> 0.97.11-1
- Update to 0.97.11.
* Tue Apr 25 2006 Matthias Saou <http://freshrpms.net/> 0.97.10-1
- Update to 0.97.10.
* Wed Apr 19 2006 Matthias Saou <http://freshrpms.net/> 0.97.8-1
- Update to 0.97.8.
- Update NPTL workaround disabling patch.
- Require Gtk2-Ex-FormFactory >=3D 0.62.
- Fix Source URL to point to valid location (was missing "/pre").
* Thu Mar 23 2006 Matthias Saou <http://freshrpms.net/> 0.97.6-3
- Add patch to default to NPTL workaround disabled, since it's causing dv=
d::rip
to not work properly on FC5.
- Add lsdvd requirement, since it's used for faster DVD TOC reading.
* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 0.97.6-2
- Remove _smp_mflags as it makes the build fail.
* Mon Jan 9 2006 Matthias Saou <http://freshrpms.net/> 0.97.6-1
- Update to gtk2 branch at last, 0.97.6.
- Include doc.
- Re-enable auto-requires, so perl(Event) is now required.
* Sun Jul 31 2005 Matthias Saou <http://freshrpms.net/> 0.52.6-1
- Update to 0.52.6.
* Mon May 23 2005 Matthias Saou <http://freshrpms.net/> 0.52.5-1
- Update to 0.52.5.
* Tue May 17 2005 Matthias Saou <http://freshrpms.net/> 0.52.4-1
- Update to 0.52.4.
* Mon Mar 14 2005 Matthias Saou <http://freshrpms.net/> 0.52.3-1
- Update to 0.52.3.
* Sun Jan 9 2005 Matthias Saou <http://freshrpms.net/> 0.52.2-1
- Update to 0.52.2.
* Tue Jan 4 2005 Matthias Saou <http://freshrpms.net/> 0.52.0-1
- Update to 0.52.0.
* Mon Dec 13 2004 Matthias Saou <http://freshrpms.net/> 0.51.4-0
- Update to 0.51.4.
* Sun Dec 12 2004 Matthias Saou <http://freshrpms.net/> 0.51.3-0
- Update to 0.51.3.
* Fri Oct 29 2004 Matthias Saou <http://freshrpms.net/> 0.51.2-0
- Update to unstable 0.51.2, as it adds compatibility for transcode 0.6.1=
3.
- Added translations that are now included and perl(Locale::Messages) dep=
.
* Sun Jul 11 2004 Dag Wieers <[email protected]> - 0.50.18-3
- Changed LD_ASSUME_KERNEL to 2.4.1 for x86_64.
* Wed May 19 2004 Matthias Saou <http://freshrpms.net/> 0.50.18-2
- Rebuild for Fedora Core 2.
* Mon Apr 19 2004 Matthias Saou <http://freshrpms.net/> 0.50.18-1
- Update to 0.50.18.
* Thu Apr 15 2004 Matthias Saou <http://freshrpms.net/> 0.50.17-1
- Update to 0.50.17.
* Sat Jan 20 2004 Matthias Saou <http://freshrpms.net/> 0.50.16-3
- Changed the LD_ASSUME_KERNEL from 2.4.19 to 2.2.5 to actually work!
* Tue Nov 11 2003 Matthias Saou <http://freshrpms.net/> 0.50.16-2
- Rebuild for Fedora Core 1.
* Thu Oct 30 2003 Matthias Saou <http://freshrpms.net/> 0.50.16-1
- Update to 0.50.16.
* Mon Aug 25 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.15.
* Sun Jun 29 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.14.
* Sun May 25 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.13.
* Sat Apr 26 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.11.
* Wed Apr 2 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.10.
- Fix the automatic dep problem.
* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Rebuilt for Red Hat Linux 9.
* Sat Mar 29 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.9.
* Fri Mar 7 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.8.
* Tue Mar 4 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.7, boy this is going fast! :-)
* Mon Mar 3 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.5.
- Update to 0.50.6.
* Mon Feb 24 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.4.
* Tue Feb 18 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.3.
* Sun Feb 16 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.2.
* Mon Feb 10 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.50.0.
* Tue Jan 7 2003 Matthias Saou <http://freshrpms.net/>
- Update to 0.48.8.
* Fri Dec 28 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.48.6.
- Added menu entry.
* Mon Dec 9 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.48.5.
* Mon Nov 18 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.48.0.
- At last, rebuilt for Red Hat Linux 8.0.
* Mon Sep 23 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.46.
* Thu Aug 8 2002 Matthias Saou <http://freshrpms.net/>
- Update to 0.44.
- Added build dependency on Gtk-Perl.
* Tue Jun 25 2002 Matthias Saou <http://freshrpms.net/>
- Spec file cleanup.
* Sun Jun 16 2002 Nemo <no@one>
- v0.43
* Sun Jun 09 2002 Nemo <no@one>
- v0.42
* Tue May 14 2002 Nemo <no@one>
- v0.40
* Mon May 13 2002 Nemo <no@one>
- v0.39-2
- Michel Alexandre Salim <[email protected]> suggested an improvement =
in the PATH used by "make test"
* Tue Mar 05 2002 Nemo <no@one>
- bumped up to v0.34
* Tue Feb 19 2002 Nemo <no@one>
- bumped up to v0.33
* Mon Feb 18 2002 Nemo <no@one>
- bumped up to v0.31
* Sun Jan 20 2002 Nemo <no@one>
- bumped up to v0.30
* Sat Jan 19 2002 Nemo <no@one>
- bumped up to v0.29
* Sun Jan 06 2002 Nemo <no@one>
- bumped up to v0.28
* Sat Dec 15 2001 Nemo <no@one>
- First version, v0.25
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="perl-AnyEvent.spec"
# $Id: perl-AnyEvent.spec 5251 2007-03-29 22:38:32Z dag $
# Authority: matthias
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
%define real_name AnyEvent
Summary: Framework for multiple event loops
Name: perl-AnyEvent
Version: 1.02
Release: 2.f9
License: Artistic or GPL
Group: Development/Libraries
URL: http://search.cpan.org/~mlehmann/AnyEvent/
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
#BuildRequires: perl(Coro), perl(Event), perl(Glib), perl(Tk)
BuildRequires: perl(Event), perl(Glib), perl(Tk)
%description
AnyEvent provides a framework for multiple event loops.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall
%{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod \
%{buildroot}%{perl_vendorarch}/auto/*/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc Changes COPYING README
%{perl_vendorlib}/AnyEvent/
%{perl_vendorlib}/AnyEvent.pm
%{_mandir}/man3/*
%changelog
* Wed Apr 19 2006 Matthias Saou <http://freshrpms.net/> 1.02-1
- Initial RPM release.
--9amGYk9869ThD9tj
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="perl-Event-ExecFlow.spec"
Content-Transfer-Encoding: quoted-printable
# $Id: perl-Event-ExecFlow.spec 5279 2007-04-16 18:31:44Z thias $
# Authority: matthias
# Upstream: J=F6rn Reder <joern$zyn,de>
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $install=
vendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $insta=
llvendorarch)
%define real_name Event-ExecFlow
Summary: High level API for event-based execution flow control
Name: perl-Event-ExecFlow
Version: 0.63
Release: 3.f9
License: Artistic or GPL
Group: Development/Libraries
URL: http://www.exit1.org/Event-ExecFlow/
Source: http://www.exit1.org/packages/Event-ExecFlow/dist/Event-ExecFlow-=
%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl(AnyEvent)
# Provided by either perl or perl-devel
BuildRequires: perl(ExtUtils::MakeMaker)
BuildArch: noarch
%description
Event::ExecFlow offers a high level API to declare jobs, which mainly exe=
cute
external commands, parse their output to get progress or other status
information, triggers actions when the command has been finished etc. Suc=
h jobs
can be chained together in a recursive fashion to fulfill rather complex =
tasks
which consist of many jobs.
%prep
%setup -n %{real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=3D"vendor" PREFIX=3D"%{buildroot}%{_pre=
fix}"
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall
%{__rm} -f %{buildroot}%{perl_archlib}/perllocal.pod \
%{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{_bindir}/execflow
%{perl_vendorlib}/Event/ExecFlow/
%{perl_vendorlib}/Event/ExecFlow.pm
%{_mandir}/man3/*
%changelog
* Thu May 31 2007 Matthias Saou <http://freshrpms.net/> 0.63-2
- Build require perl(ExtUtils::MakeMaker) for F7.
* Mon Apr 16 2007 Matthias Saou <http://freshrpms.net/> 0.63-1
- Update to 0.63.
* Mon Jun 19 2006 Matthias Saou <http://freshrpms.net/> 0.62-1
- Update to 0.62.
* Wed Apr 19 2006 Matthias Saou <http://freshrpms.net/> 0.61-1
- Initial RPM release.
--9amGYk9869ThD9tj--