summaryrefslogtreecommitdiff
path: root/sword.spec.in
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:53:59 -0400
commit03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (patch)
tree847326a4de82f0241ac87cbbc427a1b92a696a02 /sword.spec.in
parentd7469385b05b9510338407fa123e9ad090f80af6 (diff)
Imported Upstream version 1.5.11
Diffstat (limited to 'sword.spec.in')
-rw-r--r--sword.spec.in90
1 files changed, 90 insertions, 0 deletions
diff --git a/sword.spec.in b/sword.spec.in
new file mode 100644
index 0000000..03a8521
--- /dev/null
+++ b/sword.spec.in
@@ -0,0 +1,90 @@
+Summary: The SWORD Project framework for manipulating Bible texts
+Name: sword
+%define version @VERSION@
+Version: %{version}
+Release: 1
+#Icon: sword.gif
+Copyright: GPL
+Packager: CrossWire Bible Society
+URL: http://www.crosswire.org/sword
+Source: http://www.crosswire.org/download/ftpmirror.tmp/pub/sword/source/v1.5/sword-%{version}.tar.gz
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/sword-root
+Requires: curl
+Requires: zlib
+# Requires: icu >= 2.6
+# Patch0: sword-patch-curl.diff
+
+%description
+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
+Requires: sword = %{version}
+Requires: curl-devel >= 7.10.5
+Requires: zlib-devel
+
+%description devel
+Include files and static libraries for developing sword applications. This package is required to compile Sword frontends, too.
+
+%prep
+%setup -q
+# %patch0 -p1
+
+%build
+export CFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS"
+export LDFLAGS='-s'
+ ./usrinst.sh --disable-dependency-tracking --prefix=/usr --sysconfdir=/etc --enable-utilities --with-curl --disable-debug --enable-shared --with-conf
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install-strip DESTDIR="$RPM_BUILD_ROOT"
+make install_config DESTDIR="$RPM_BUILD_ROOT"
+mkdir -p $RPM_BUILD_ROOT/usr/lib/sword
+exit 0
+
+%post devel -p /sbin/ldconfig
+
+%postun devel -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%config /etc/sword.conf
+%config /usr/share/sword/mods.d/globals.conf
+%config /usr/share/sword/locales.d/*.conf
+%doc README AUTHORS NEWS INSTALL
+/usr/lib/libsword*.so*
+#Available when ICU is used in Sword
+# /usr/lib/sword
+
+%files devel
+%defattr(-,root,root)
+%doc doc/*
+/usr/include/sword
+/usr/lib/libsword*.*a
+/usr/bin/*
+
+%changelog
+* Mon Dec 27 2003 Joachim Ansorg <junkmail@joachim.ansorgs.de>
+- Version 1.5.7
+- Added a patch to make installmgr work on Curl version 7.10.5
+- We require libcurl now
+* Mon May 20 2002 Joachim Ansorg <junkmail@joachim.ansorgs.de>
+- Version 1.5.6
+* Mon May 20 2002 Stuart Gathman <stuart@bmsi.com>
+- Version 1.5.3
+* Wed Dec 19 2001 Stuart Gathman <stuart@bmsi.com>
+- add additional utilities, move to /usr/lib/sword
+* Thu Dec 13 2001 Stuart Gathman <stuart@bmsi.com>
+- add locales config
+* Sat Jan 20 2001 Stuart Gathman <stuart@bmsi.com>
+- mkfastmod and other utilities
+* Thu Nov 30 2000 Stuart Gathman <stuart@bmsi.com>
+- cheatah application
+* Fri Nov 17 2000 Stuart Gathman <stuart@bmsi.com>
+- initial release