2
%define version 1.6.5.1
4
# this needs to be changed depending on build number
7
# This should be set to your os.
8
# Possible values are Mandrake, Red Hat, Turbolinux, Caldera, SuSE, Debian, etc.
9
# In bibletime.spec.in this is automatically filled in by configure
12
# This should be set to the version of your OS (6.0, 6.1, 6.2, 7.0, 7.1, 7.2, 8.0, etc.)
13
# Done by configure in bibletime.spec.in
14
%define osversion lenny/sid
16
# This is your cpu i486, i586, i686, ppc, sparc, alpha, etc.
17
%define buildarch i586
19
# This the RPM group on your system that this will installed into.
20
# Graphical desktop/KDE, X11/apps, etc.
21
%define rpmgroup Graphical desktop/KDE
23
Summary: BibleTime %{version} is an easy to use Bible study tool for KDE.
28
Vendor: BibleTime's developer (info@bibletime.info)
29
Url: http://www.bibletime.info/
30
Packager: Brook Humphrey <bah@webmedic.net>, Joachim Ansorg <junkmail@joachim.ansorgs.de>
32
BuildArch: %{buildarch}
33
Source0: %{name}-%{version}.tar.bz2
34
BuildRoot: %{_tmppath}/%{name}-%{version}--rootbibletime
36
Requires: sword >= 1.5.8
37
Distribution: %{ostype} %{osversion}
38
BuildRequires: kdelibs-devel
39
BuildRequires: sword-devel >= 1.5.8
42
BibleTime %{version}-%{release} is a free and easy to use bible study tool for UNIX systems.
44
BibleTime provides easy handling of digitalized texts (Bibles, commentaries and lexicons) and powerful features to work with these texts (search in texts, write own notes, save, print etc.). BibleTime is a frontend for the SWORD Bible Framework.
46
This is a relocatable package, you can install it on different target with
47
rpm -Uvh bibletime-%{version}-%{release}.rpm --prefix /usr/local/opt/apps/noncommercial
50
The SWORD Project is an effort to create an ever expanding software package for research and study of God and His Word. The SWORD Bible Framework allows easy manipulation of Bible texts, commentaries, lexicons, dictionaries, etc. Many frontends are build using this framework. An installed module set may be shared between any frontend using the framework.
52
This rpm was compiled on a %{ostype} %{osversion} system for %{buildarch} class cpu's.
56
rm -rf $RPM_BUILD_ROOT
57
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
62
# Look for common rpm-options:
63
if [ -f /etc/opt/kde3/common_options ]; then
64
. /etc/opt/kde3/common_options
65
./configure $configkde
67
./configure --prefix=${_prefix}
70
# Setup for parallel builds
71
numprocs=`egrep -c ^cpu[0-9]+ /proc/stat || :`
72
if [ "$numprocs" = "0" ]; then
79
make DESTDIR=$RPM_BUILD_ROOT install-strip
82
#find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/bt-files.list
83
#find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/bt-files.list
84
#find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/bt-files.list
94
#rm -f $RPM_BUILD_DIR/master.list
95
rm -rf $RPM_BUILD_ROOT
100
%{prefix}/share/applnk/Applications/bibletime.desktop
101
%{prefix}/share/apps/bibletime/
102
%{prefix}/share/doc/HTML/en/bibletime/
103
%{prefix}/share/icons/*
106
* Sat Dec 27 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de>
108
-We require curl 7.10 or later now
110
-Update to BibleTime 1.4 and Sword 1.5.7
112
* Sun Jun 22 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de>
114
-Cleanup. We require no an Sword RPM file to be installed.
116
-Removed Mandrake menu stuff because there's an own SPEC file for this.
119
* Fri Feb 14 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de>
121
-Removed locales.d source and management of Sword files because we require a Sword RPM now.
124
* Mon Apr 8 2002 Brook Humphrey <bah@webmedic.net> bibletime-1.1
126
- Added to the spec to better handle mandrake menus during compile. Now should be compatable with all os's.
128
- added locals.d source to build. This removes dependecy on sword being installed. Will make seperate package for this later.
131
* Fri Mar 31 2002 Joachim Ansorg <jansorg@gmx.de>
133
- Made including the book translations working finally.
135
- Fixed SPEC files to work with SuSE
138
* Thu Feb 7 2002 Brook Humphrey <bah@webmedic.net> bibletime-1.0.2
140
- changed compile time options to mach bibletime spec included with source files
142
- compiled on mandrake 8.2
145
* Fri Sep 7 2001 Joachim Ansorg <jansorg@gmx.de>
147
- Added the bookname files in the file list
149
* Tue Jul 10 2001 Brook Humphrey <bah@webmedic.net> bibletime-1.0.1-Mandrake8.0.4mdk
151
- Recompile because of dependecy problems.
153
* Tue Jul 10 2001 Brook Humphrey <bah@webmedic.net> bibletime-1.0.1-Mandrake8.0.1mdk
155
- bug fix release bibletime-1.0.1
157
- adda extra compile options to spec file.
159
- Merged in suse changes for compileing on SuSE
161
* Sun May 27 2001 Brook Humphrey <bah@webmedic.net>
163
- Trying different variations of static compiles again.
165
- Still using cvs sources while waiting for 1.0 release.
167
* Thu May 24 2001 Brook Humphrey <bah@webmedic.net>
169
- Trying for x static and whatever else we can get into it.
171
- No X for today Got libz to compile in but it causes segfault.
173
* Wed May 23 2001 Brook Humphrey <bah@webmedic.net>
175
- Yet another try at static qt.
177
- Qt static works now.
179
* Mon May 21 2001 Brook Humphrey <bah@webmedic.net>
181
- Static is working for kde and a few other libs but not qt yet.
183
- Testing another patch today to try to get qt compiled static.
185
* Sun May 20 2001 Brook Humphrey <bah@webmedic.net>
187
- Cleaned up spec some more(stupid spelling error's)
189
- static compile not working today so added option to compile kde and sword as static seperately
191
* Sat May 19 2001 Brook Humphrey <bah@webmedic.net>
193
- Cleaned up spec some more and added a few more comments
195
- Changed spec to automaticly do parts concerning static and Mandrake menus
197
- All info can be set in defines at top of spec file no other changes should need to be made
199
- Fixed patch to compile static should now compile static with kde libs
201
- Test to compile with qt as static also
203
* Sun May 13 2001 Brook Humphrey <bah@webmedic.net>
205
- cleaned up spec file and added more comments for easier reading.
207
- changed sword.conf instelation to check for previous versions of sword.conf
209
- If found a new sword.conf is not created
211
- Made a patch to hopefully compile kde and other libs as atatic
213
- static compile didn't work for today.
215
* Tue May 8 2001 Brook Humphrey <bah@webmedic.net>
217
- Updated package to be relocatable
219
- added sword directories and sword.conf to install
221
* Mon Apr 30 2001 Brook Humphrey <bah@webmedic.net>
223
- Changed to build staticly
225
- added more mandrake macros to spec file
227
* Mon Apr 23 2001 Brook Humphrey <bah@webmedic.net>
229
- made changes to enable compile of cvs tree
231
* Wed Mar 14 2001 Brook Humphrey <bah@webmedic.net>
233
- updated to use mandrake menu sysem