%{expand:%%define buildfor %(A=$(awk '{print $4}' /etc/redhat-release); echo $A)} %{expand:%%define buildfor9_1 %(A=$(awk '{print $4}' /etc/redhat-release); if [ "$A" = 9.1 ]; then echo 1; else echo 0; fi)} %{expand:%%define buildfor9_2 %(A=$(awk '{print $4}' /etc/redhat-release); if [ "$A" = 9.2 ]; then echo 1; else echo 0; fi)} %{expand:%%define buildfor10_0 %(A=$(awk '{print $4}' /etc/redhat-release); if [ "$A" = 10 ]; then echo 1; else echo 0; fi)} %if %buildfor10_0 %define unstable 1 %else %define unstable 0 %endif %define name bibletime-i18n %define version 1.4.1 # this needs to be changed depending on build number %define release 2mdk # This the RPM group on your system that this will installed into. # Graphical desktop/KDE, X11/apps, etc. %define rpmgroup System/Internationalization Summary: BibleTime %{version} is an easy to use Bible study tool for KDE. Name: %{name} Version: %{version} Release: %{release} License: GPL Url: http://www.bibletime.info/ Group: %{rpmgroup} Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}--root BuildRequires: autoconf automake freetype2 gettext kdelibs make texinfo %description These are the Localisation files for BibleTime %{version} %package -n %{name}-bg Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-bg Group: %{rpmgroup} %description -n %{name}-bg These are the Localisation files for BibleTime %{version} %package -n %{name}-cs Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-cs Group: %{rpmgroup} %description -n %{name}-cs These are the Localisation files for BibleTime %{version} %package -n %{name}-de Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-de Group: %{rpmgroup} %description -n %{name}-de These are the Localisation files for BibleTime %{version} %package -n %{name}-en_GB Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-en Group: %{rpmgroup} %description -n %{name}-en_GB These are the Localisation files for BibleTime %{version} %package -n %{name}-es Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-es Group: %{rpmgroup} %description -n %{name}-es These are the Localisation files for BibleTime %{version} %package -n %{name}-fi Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-fi Group: %{rpmgroup} %description -n %{name}-fi These are the Localisation files for BibleTime %{version} %package -n %{name}-fr Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-fr Group: %{rpmgroup} %description -n %{name}-fr These are the Localisation files for BibleTime %{version} %package -n %{name}-hu Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-hu Group: %{rpmgroup} %description -n %{name}-hu These are the Localisation files for BibleTime %{version} %package -n %{name}-it Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-it Group: %{rpmgroup} %description -n %{name}-it These are the Localisation files for BibleTime %{version} %package -n %{name}-ko Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-ko Group: %{rpmgroup} %description -n %{name}-ko These are the Localisation files for BibleTime %{version} %package -n %{name}-nl Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-nl Group: %{rpmgroup} %description -n %{name}-nl These are the Localisation files for BibleTime %{version} %package -n %{name}-no Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-no Group: %{rpmgroup} %description -n %{name}-no These are the Localisation files for BibleTime %{version} %package -n %{name}-pl Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-pl Group: %{rpmgroup} %description -n %{name}-pl These are the Localisation files for BibleTime %{version} %package -n %{name}-pt_br Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-pt Group: %{rpmgroup} %description -n %{name}-pt_br These are the Localisation files for BibleTime %{version} %package -n %{name}-ro Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-ro Group: %{rpmgroup} %description -n %{name}-ro These are the Localisation files for BibleTime %{version} %package -n %{name}-ru Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-ru Group: %{rpmgroup} %description -n %{name}-ru These are the Localisation files for BibleTime %{version} %package -n %{name}-sk Summary: Localisation files for BibleTime %{version} Requires: bibletime locales-sk Group: %{rpmgroup} %description -n %{name}-sk These are the Localisation files for BibleTime %{version} %package -n %{name}-ua Summary: Localisation files for BibleTime %{version} #Requires: bibletime locales-ua Group: %{rpmgroup} %description -n %{name}-ua These are the Localisation files for BibleTime %{version} %prep rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/%{name}-%{version} %setup -q -n %{name}-%{version} #make -f Makefile.cvs %configure %make %install %makeinstall_std # we'd better used %find_lang in the first place... %post /sbin/ldconfig %postun /sbin/ldconfig %clean #rm -f $RPM_BUILD_DIR/master.list rm -rf $RPM_BUILD_ROOT %files -n %{name}-bg %defattr(-,root,root,-) %dir %_docdir/HTML/bg/bibletime/howto %doc %_docdir/HTML/bg/bibletime/howto/*.docbook %doc %_docdir/HTML/bg/bibletime/howto/common /usr/share/locale/bg/LC_MESSAGES/* %files -n %{name}-cs %defattr(-,root,root,-) %dir %_docdir/HTML/cs/bibletime/howto %doc %_docdir/HTML/cs/bibletime/howto/*.docbook %doc %_docdir/HTML/cs/bibletime/howto/common /usr/share/locale/cs/LC_MESSAGES/* %files -n %{name}-de %defattr(-,root,root,-) %dir %_docdir/HTML/de/bibletime/howto %doc %_docdir/HTML/de/bibletime/howto/*.docbook %doc %_docdir/HTML/de/bibletime/howto/common #%dir %_docdir/HTML/de/bibletime/helpdialog #%doc %_docdir/HTML/de/bibletime/helpdialog/*.docbook #%doc %_docdir/HTML/de/bibletime/helpdialog/*.html #%doc %_docdir/HTML/de/bibletime/helpdialog/common %dir %_docdir/HTML/de/bibletime/handbook %doc %_docdir/HTML/de/bibletime/handbook/*.docbook %doc %_docdir/HTML/de/bibletime/handbook/common #%_docdir/HTML/de/bibletime/handbook/*.png /usr/share/locale/de/LC_MESSAGES/* %files -n %{name}-en_GB %defattr(-,root,root,-) /usr/share/locale/en_GB/LC_MESSAGES/* %files -n %{name}-es %defattr(-,root,root,-) /usr/share/locale/es/LC_MESSAGES/* %files -n %{name}-fi %defattr(-,root,root,-) /usr/share/locale/fi/LC_MESSAGES/* %files -n %{name}-fr %defattr(-,root,root,-) %dir %_docdir/HTML/fr/bibletime/howto %doc %_docdir/HTML/fr/bibletime/howto/*.docbook %doc %_docdir/HTML/fr/bibletime/howto/common /usr/share/locale/fr/LC_MESSAGES/* #%files -n %{name}-hu #%defattr(-,root,root,-) #/usr/share/locale/hu/LC_MESSAGES/* %files -n %{name}-it %defattr(-,root,root,-) %dir %_docdir/HTML/it/bibletime/howto %doc %_docdir/HTML/it/bibletime/howto/*.docbook %doc %_docdir/HTML/it/bibletime/howto/common %files -n %{name}-ko %defattr(-,root,root,-) %dir %_docdir/HTML/ko/bibletime/howto %doc %_docdir/HTML/ko/bibletime/howto/*.docbook %doc %_docdir/HTML/ko/bibletime/howto/common /usr/share/locale/ko/LC_MESSAGES/* %files -n %{name}-nl %defattr(-,root,root,-) %dir %_docdir/HTML/nl/bibletime/howto %doc %_docdir/HTML/nl/bibletime/howto/*.docbook %doc %_docdir/HTML/nl/bibletime/howto/common /usr/share/locale/nl/LC_MESSAGES/* #%files -n %{name}-no #%defattr(-,root,root,-) #/usr/share/locale/no/LC_MESSAGES/* %files -n %{name}-pl %defattr(-,root,root,-) /usr/share/locale/pl/LC_MESSAGES/* %files -n %{name}-pt_br %defattr(-,root,root,-) %dir %_docdir/HTML/pt-br/bibletime/howto %doc %_docdir/HTML/pt-br/bibletime/howto/*.docbook %doc %_docdir/HTML/pt-br/bibletime/howto/common /usr/share/locale/pt_br/LC_MESSAGES/* %files -n %{name}-ro %defattr(-,root,root,-) /usr/share/locale/ro/LC_MESSAGES/* %files -n %{name}-ru %defattr(-,root,root,-) %dir %_docdir/HTML/ru/bibletime/howto %doc %_docdir/HTML/ru/bibletime/howto/*.docbook %doc %_docdir/HTML/ru/bibletime/howto/common /usr/share/locale/ru/LC_MESSAGES/* %files -n %{name}-sk %defattr(-,root,root,-) /usr/share/locale/sk/LC_MESSAGES/* %files -n %{name}-ua %defattr(-,root,root,-) /usr/share/locale/ua/LC_MESSAGES/* %changelog * Thu Feb 26 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.4.1-2mdk - fix dependancies * Fri Feb 24 2004 Brook Humphrey <bah@linux-mandrake.com> 1.4.1-1mdk - updated for bibletime 1.4.1 * Sun Feb 08 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.4-2mdk - fix groups and summaries - sanitize license tag - kill wrongly filled vendor/distribution tags (automatically filled) * Fri Nov 14 2003 Brook Humphrey <bah@linux-mandrake.com> 1.4-1mdk - updated for bibletime 1.4 * Fri Nov 14 2003 Brook Humphrey <bah@linux-mandrake.com> 1.3-1mdk - cleaned up spec some - seperated out packages into individual languages. * Sun Jun 22 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de> -Cleanup. We require no an Sword RPM file to be installed. -Removed Mandrake menu stuff because there's an own SPEC file for this. * Fri Feb 14 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de> -Removed locales.d source and management of Sword files because we require a Sword RPM now. * Mon Apr 8 2002 Brook Humphrey <bah@webmedic.net> bibletime-1.1 - Added to the spec to better handle mandrake menus during compile. Now should be compatable with all os's. - added locals.d source to build. This removes dependecy on sword being installed. Will make seperate package for this later. * Fri Mar 31 2002 Joachim Ansorg <jansorg@gmx.de> - Made including the book translations working finally. - Fixed SPEC files to work with SuSE * Thu Feb 7 2002 Brook Humphrey <bah@webmedic.net> bibletime-1.0.2 - changed compile time options to mach bibletime spec included with source files - compiled on mandrake 8.2 * Fri Sep 7 2001 Joachim Ansorg <jansorg@gmx.de> - Added the bookname files in the file list * Tue Jul 10 2001 Brook Humphrey <bah@webmedic.net> bibletime-1.0.1-Mandrake8.0.4mdk - Recompile because of dependecy problems. * Tue Jul 10 2001 Brook Humphrey <bah@webmedic.net> bibletime-1.0.1-Mandrake8.0.1mdk - bug fix release bibletime-1.0.1 - adda extra compile options to spec file. - Merged in suse changes for compileing on SuSE * Sun May 27 2001 Brook Humphrey <bah@webmedic.net> - Trying different variations of static compiles again. - Still using cvs sources while waiting for 1.0 release. * Thu May 24 2001 Brook Humphrey <bah@webmedic.net> - Trying for x static and whatever else we can get into it. - No X for today Got libz to compile in but it causes segfault. * Wed May 23 2001 Brook Humphrey <bah@webmedic.net> - Yet another try at static qt. - Qt static works now. * Mon May 21 2001 Brook Humphrey <bah@webmedic.net> - Static is working for kde and a few other libs but not qt yet. - Testing another patch today to try to get qt compiled static. * Sun May 20 2001 Brook Humphrey <bah@webmedic.net> - Cleaned up spec some more(stupid spelling error's) - static compile not working today so added option to compile kde and sword as static seperately * Sat May 19 2001 Brook Humphrey <bah@webmedic.net> - Cleaned up spec some more and added a few more comments - Changed spec to automaticly do parts concerning static and Mandrake menus - All info can be set in defines at top of spec file no other changes should need to be made - Fixed patch to compile static should now compile static with kde libs - Test to compile with qt as static also * Sun May 13 2001 Brook Humphrey <bah@webmedic.net> - cleaned up spec file and added more comments for easier reading. - changed sword.conf instelation to check for previous versions of sword.conf - If found a new sword.conf is not created - Made a patch to hopefully compile kde and other libs as atatic - static compile didn't work for today. * Tue May 8 2001 Brook Humphrey <bah@webmedic.net> - Updated package to be relocatable - added sword directories and sword.conf to install * Mon Apr 30 2001 Brook Humphrey <bah@webmedic.net> - Changed to build staticly - added more mandrake macros to spec file * Mon Apr 23 2001 Brook Humphrey <bah@webmedic.net> - made changes to enable compile of cvs tree * Wed Mar 14 2001 Brook Humphrey <bah@webmedic.net> - updated to use mandrake menu sysem