SPECS: dvdrip.spec - patch for LacaleData, mv for locales files
wolvverine
wolvverine at pld-linux.org
Fri Nov 23 05:50:51 CET 2007
Author: wolvverine Date: Fri Nov 23 04:50:51 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- patch for LacaleData, mv for locales files
---- Files affected:
SPECS:
dvdrip.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/dvdrip.spec
diff -u SPECS/dvdrip.spec:1.49 SPECS/dvdrip.spec:1.50
--- SPECS/dvdrip.spec:1.49 Sat Nov 17 03:49:46 2007
+++ SPECS/dvdrip.spec Fri Nov 23 05:50:46 2007
@@ -1,7 +1,4 @@
# $Revision$, $Date$
-# TODO
-# - %{perl_vendorlib}/LocaleData to perl-base or use glibc dirs
-#
# Conditional build:
%bcond_with tests # perform "make test" (needs working, not busy /dev/audio!)
#
@@ -25,12 +22,13 @@
Summary(zh_CN.UTF-8): Video::DVDRip Perl 模块
Name: dvdrip
Version: 0.98.8
-Release: 1
+Release: 2
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.exit1.org/dvdrip/dist/%{name}-%{version}.tar.gz
# Source0-md5: 61b77b298b14c6bde83713e93e9ea4d8
+Patch0: %{name}-locale_path.patch
URL: http://www.exit1.org/dvdrip/
BuildRequires: perl-AnyEvent
BuildRequires: perl-Event
@@ -42,6 +40,8 @@
Requires: ImageMagick
Requires: perl-libintl >= 1.16
Requires: transcode
+Suggests: ffmpeg
+Suggests: mplayer
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -62,6 +62,7 @@
%prep
%setup -q
+%patch0 -p1
%build
export SKIP_UNPACK_REQUIRED_MODULES=1
@@ -78,6 +79,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+mv $RPM_BUILD_ROOT%{perl_vendorlib}/LocaleData $RPM_BUILD_ROOT%{_datadir}/locale
%clean
rm -rf $RPM_BUILD_ROOT
@@ -89,20 +91,12 @@
%{perl_vendorlib}/Video
%{_mandir}/man1/*
%{_mandir}/man3/Video*
-# FIXME: this seems wrong
-%dir %{perl_vendorlib}/LocaleData
-%lang(cs) %dir %{perl_vendorlib}/LocaleData/cs/LC_MESSAGES
-%lang(cs) %{perl_vendorlib}/LocaleData/cs/LC_MESSAGES/video.dvdrip.mo
-%lang(de) %dir %{perl_vendorlib}/LocaleData/de/LC_MESSAGES
-%lang(de) %{perl_vendorlib}/LocaleData/de/LC_MESSAGES/video.dvdrip.mo
-%lang(es) %dir %{perl_vendorlib}/LocaleData/es/LC_MESSAGES
-%lang(es) %{perl_vendorlib}/LocaleData/es/LC_MESSAGES/video.dvdrip.mo
-%lang(fr) %dir %{perl_vendorlib}/LocaleData/fr/LC_MESSAGES
-%lang(fr) %{perl_vendorlib}/LocaleData/fr/LC_MESSAGES/video.dvdrip.mo
-%lang(it) %dir %{perl_vendorlib}/LocaleData/it/LC_MESSAGES
-%lang(it) %{perl_vendorlib}/LocaleData/it/LC_MESSAGES/video.dvdrip.mo
-%lang(sr) %dir %{perl_vendorlib}/LocaleData/sr/LC_MESSAGES
-%lang(sr) %{perl_vendorlib}/LocaleData/sr/LC_MESSAGES/video.dvdrip.mo
+%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/video.dvdrip.mo
+%lang(de) %{_datadir}/locale/de/LC_MESSAGES/video.dvdrip.mo
+%lang(es) %{_datadir}/locale/es/LC_MESSAGES/video.dvdrip.mo
+%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/video.dvdrip.mo
+%lang(it) %{_datadir}/locale/it/LC_MESSAGES/video.dvdrip.mo
+%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/video.dvdrip.mo
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -110,6 +104,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2007-11-23 04:50:46 wolvverine
+- patch for LacaleData, mv for locales files
+
Revision 1.49 2007-11-17 02:49:46 wolvverine
- up to 0.98.8
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dvdrip.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list