[sword-devel] sword 1.5.7a spec file for FC3

Martin Fontaigne martinrs at softhome.net
Fri Dec 10 17:10:13 MST 2004

I have the current sword 1.5.7 Fedora Core 3 sourceforge.net's source rpm 
causing some errors during rpmbuild. I eventually edited the sword.spec, 
which now works.

I am enclosing the update spec file for sword 1.5.7a in case it can be helpful 
to someone.

-------------- next part --------------
Summary:	The SWORD Project framework for manipulating Bible texts
Name:		sword
Version:	1.5.7a
Release:	1.fc3
License:	GPL
Packager:	CrossWire Bible Society
URL:		http://www.crosswire.org
Source:		http://www.crosswire.org/download/ftpmirror.tmp/pub/sword/source/v1.5/sword-%{version}.tar.gz
Group:		System Environment/Libraries
BuildRoot:	/var/tmp/sword-root

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.

%package devel
Summary: Include files and static libraries for developing sword applications.
Group: Development/Libraries

%description devel
Include files and static libraries for developing sword applications.

#package apps
#Summary: "cheatah" is a simple bible search application.
#Group: Applications/Text

#description apps
#"cheatah" is a simple GUI bible search application.

%setup -n sword-1.5.7

%{configure} --without-lucene \
  --sysconfdir=%{_sysconfdir} \
%{__make} debug=no buildshare=yes
#cd apps/X11/cheatah
#sh ./configure

%{__rm} -rf %{buildroot}
mkdir -p %{buildroot}/usr
mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}/etc
mkdir -p %{buildroot}/usr/share/sword/mods.d
%{__make} DESTDIR=%{buildroot} install
cat >%{buildroot}/etc/sword.conf <<'EOF'
%{__install} -m0644 samples/mods.d/globals.conf %{buildroot}/%{_datadir}/sword/mods.d/globals.conf
%{__install} -d -m0644 locales.d %{buildroot}/%{_datadir}/sword/
%{__install} -m0644 locales.d/* %{buildroot}/%{_datadir}/sword/locales.d
#cp apps/X11/cheatah/cheatah $RPM_BUILD_ROOT/usr/bin
#cp lib/libsword.so $RPM_BUILD_ROOT/usr/lib
cd utilities
%{__install} -m0644 mkfastmod mod2vpl vpl2mod %{buildroot}/%{_bindir}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%config %{_sysconfdir}/sword.conf
%config %{_datadir}/sword/mods.d/globals.conf
%config %{_datadir}/sword/locales.d/*.conf

%files devel
%doc doc/

#files apps

* Fri Dec 10 2004 Martin Fontaigne <martinrs at softhome.net>
- 1.5.7a for FC3, use variables as much as possible

* Fri Nov 12 2004 Jeremy Erickson <jerickson314 at users.sourceforge.net>
- 1.5.7 for FC3

* Thu Nov 13 2003 Lamar Owen <lowen at pari.edu>
- 1.5.6

* Sat Sep 28 2002 Lamar Owen <lamar.owen at ramifordistat.net>
- 1.5.4
- no cheatah.

* Mon Apr 15 2002 Lamar Owen <lamar.owen at ramifordistat.net>
- 1.5.3

* Thu Dec 13 2001 Stuart Gathman <stuart at bmsi.com>
- add locales config
* Sat Jan 20 2001 Stuart Gathman <stuart at bmsi.com>
- mkfastmod and other utilities
* Thu Nov 30 2000 Stuart Gathman <stuart at bmsi.com>
- cheatah application
* Fri Nov 17 2000 Stuart Gathman <stuart at bmsi.com>
- initial release

More information about the sword-devel mailing list