SPECS (DEVEL): mythtv.spec - cleanup Version to prevent Epoch bump...
glen
glen at pld-linux.org
Fri Feb 3 20:36:01 CET 2006
Author: glen Date: Fri Feb 3 19:36:01 2006 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- cleanup Version to prevent Epoch bump
- %lang to i18n files
---- Files affected:
SPECS:
mythtv.spec (1.39.2.12 -> 1.39.2.13)
---- Diffs:
================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.39.2.12 SPECS/mythtv.spec:1.39.2.13
--- SPECS/mythtv.spec:1.39.2.12 Fri Feb 3 02:14:42 2006
+++ SPECS/mythtv.spec Fri Feb 3 20:35:56 2006
@@ -36,12 +36,12 @@
%define _snap 20060129
%define _rev 8763
-%define _rel 1.1
+%define _rel 1.4
Summary: A personal video recorder (PVR) application
Summary(pl): Osobista aplikacja do nagrywania obrazu (PVR)
Name: mythtv
-Version: 0.19.0.%{_snap}
-Release: 1.%{_rev}.%{_rel}
+Version: 0.19
+Release: 0.%{_snap}.%{_rev}.%{_rel}
License: GPL v2
Group: Applications/Multimedia
#Source0: http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2
@@ -367,6 +367,21 @@
install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/build
install config.mak settings.pro $RPM_BUILD_ROOT%{_datadir}/mythtv/build
+for p in mythfrontend; do
+ for l in $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/${p}_*.qm; do
+ echo $l | sed -e "s,^$RPM_BUILD_ROOT\(.*${p}_\(.*\).qm\),%%lang(\2) \1,"
+ done > $p.lang
+done
+
+# glibc language codes. attempt was made to change it on libmyth side,
+# but that was just asking for trouble due large coverage of
+# language.lower() usage.
+sed -i -e '
+s,%%lang(en_gb),%%lang(en_GB),
+s,%%lang(zh_tw),%%lang(zh_TW),
+s,%%lang(pt_br),%%lang(pt_BR),
+' *.lang
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -423,7 +438,7 @@
%config /etc/logrotate.d/mythbackend
%attr(775,root,mythtv) %dir %{_localstatedir}/log/mythtv
-%files frontend
+%files frontend -f mythfrontend.lang
%defattr(644,root,root,755)
%doc keys.txt
%attr(755,root,root) %{_bindir}/mythfrontend
@@ -438,7 +453,7 @@
%dir %{_libdir}/mythtv/plugins
%attr(755,root,root) %{_libdir}/mythtv/filters/*.so
%{_datadir}/mythtv/*.ttf
-%{_datadir}/mythtv/i18n
+%dir %{_datadir}/mythtv/i18n
%{_desktopdir}/*.desktop
%files setup
@@ -470,6 +485,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.39.2.13 2006/02/03 19:35:56 glen
+- cleanup Version to prevent Epoch bump
+- %lang to i18n files
+
Revision 1.39.2.12 2006/02/03 01:14:42 glen
- disable ./configure decision on optflags, we pass our own (should we?)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mythtv.spec?r1=1.39.2.12&r2=1.39.2.13&f=u
More information about the pld-cvs-commit
mailing list