rpms/bibletime/FC-5 .cvsignore, 1.2, 1.3 bibletime.spec, 1.1, 1.2 sources, 1.2, 1.3

David Anderson (anderson) fedora-extras-commits at redhat.com
Sat Jan 20 15:45:38 UTC 2007


Author: anderson

Update of /cvs/extras/rpms/bibletime/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19447

Modified Files:
	.cvsignore bibletime.spec sources 
Log Message:
add i18n



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/bibletime/FC-5/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	13 Jan 2007 17:32:23 -0000	1.2
+++ .cvsignore	20 Jan 2007 15:45:07 -0000	1.3
@@ -1 +1,2 @@
 bibletime-1.6.2.tar.bz2
+bibletime-i18n-1.6.2.tar.bz2


Index: bibletime.spec
===================================================================
RCS file: /cvs/extras/rpms/bibletime/FC-5/bibletime.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bibletime.spec	13 Jan 2007 17:32:23 -0000	1.1
+++ bibletime.spec	20 Jan 2007 15:45:07 -0000	1.2
@@ -1,14 +1,15 @@
 Summary:	BibleTime is an easy to use Bible study tool for KDE
 Name:		bibletime
 Version:	1.6.2
-Release:	2%{?dist}
+Release:	4%{?dist}
 License:	GPL
 Url:		http://www.bibletime.info/
 Group:		Applications/Productivity
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Source1:	http://downloads.sourceforge.net/%{name}/%{name}-i18n-%{version}.tar.bz2
 Patch0:		bibletime-desktop.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	sword-devel >= 1.5.9 clucene-core-devel >= 0.9.15 kdelibs-devel
+BuildRequires:	sword-devel >= 1.5.9 clucene-core-devel >= 0.9.16a kdelibs-devel
 BuildRequires:	desktop-file-utils gettext
 
 %description
@@ -23,8 +24,14 @@
 
 %setup -q
 %patch0 -p0 -b .desk
+%setup -q -D -T -a 1
 
 %build
+
+%configure --disable-rpath
+make %{?_smp_mflags}
+
+cd %{name}-i18n-%{version}
 %configure --disable-rpath
 make %{?_smp_mflags}
 
@@ -41,6 +48,15 @@
 chmod 0644 %{buildroot}%{_datadir}/apps/bibletime/bibletimeui.rc
 chmod 0644 %{buildroot}%{_datadir}/apps/bibletime/tips
 
+cd %{name}-i18n-%{version}
+make DESTDIR=%{buildroot} install
+
+# remove empty file
+[[ -s %{buildroot}/usr/share/doc/HTML/cs/bibletime/howto/how2-importance.docbook ]] || rm -f %{buildroot}/usr/share/doc/HTML/cs/bibletime/howto/how2-importance.docbook
+
+# rename wrongly-named locale
+mv %{buildroot}/usr/share/locale/pt_br %{buildroot}/usr/share/locale/pt_BR || :
+
 %find_lang bibletime || touch bibletime.lang
 HTML_DIR=$(kde-config --expandvars --install html)
 if [ -d %{buildroot}$HTML_DIR ]; then
@@ -61,7 +77,7 @@
 touch --no-create %{_datadir}/icons/hicolor || :
 %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 
-%files -f bibletime.lang
+%files -f %{name}-i18n-%{version}/bibletime.lang
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_datadir}/applications/*.desktop
@@ -71,6 +87,9 @@
 %doc README LICENSE
 
 %changelog
+* Mon Jan 15 2007 David Anderson <fedora-packaging at dw-perspective.org.uk> 1.6.2-4
+- Added internationalisation
+
 * Fri Jan 12 2007 David Anderson <fedora-packaging at dw-perspective.org.uk> 1.6.2-2
 - Cleanups (thanks to Deji Akingunola)
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/bibletime/FC-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	13 Jan 2007 17:32:23 -0000	1.2
+++ sources	20 Jan 2007 15:45:07 -0000	1.3
@@ -1 +1,2 @@
 b2b8b624d21d397201aec742d43501e5  bibletime-1.6.2.tar.bz2
+a2d4dc8220253e39d8abf720c3ae8aff  bibletime-i18n-1.6.2.tar.bz2




More information about the scm-commits mailing list