2005-06-07 11:54:45 +00:00
|
|
|
Name: sword
|
2010-10-23 02:58:39 +00:00
|
|
|
Version: 1.6.2
|
2011-09-09 08:18:31 +00:00
|
|
|
Release: 4%{?dist}
|
2005-06-07 11:54:45 +00:00
|
|
|
Summary: Free Bible Software Project
|
|
|
|
|
2005-06-09 18:05:48 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-08-03 18:24:20 +00:00
|
|
|
License: GPLv2
|
2005-06-07 11:54:45 +00:00
|
|
|
URL: http://www.crosswire.org/sword/
|
2010-01-13 18:38:03 +00:00
|
|
|
Source0: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.6/sword-%{version}.tar.gz
|
2005-06-07 11:54:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: libidn-devel
|
2006-11-09 04:19:49 +00:00
|
|
|
BuildRequires: libicu-devel icu
|
2007-01-15 00:37:56 +00:00
|
|
|
BuildRequires: clucene-core-devel
|
2009-06-09 01:38:34 +00:00
|
|
|
BuildRequires: cppunit-devel
|
2005-06-07 11:54:45 +00:00
|
|
|
|
2011-09-09 13:04:44 +00:00
|
|
|
Patch0: sword-no-curl-types.patch
|
|
|
|
|
2005-06-07 11:54:45 +00:00
|
|
|
%description
|
|
|
|
The SWORD Project is the CrossWire Bible Society's free Bible software
|
|
|
|
project. Its purpose is to create cross-platform open-source tools--
|
|
|
|
covered by the GNU General Public License-- that allow programmers and
|
|
|
|
Bible societies to write new Bible software more quickly and easily. We
|
|
|
|
also create Bible study software for all readers, students, scholars,
|
|
|
|
and translators of the Bible, and have a growing collection of over 200
|
|
|
|
texts in over 50 languages.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the sword project
|
|
|
|
Group: Development/Libraries
|
2005-12-14 23:09:24 +00:00
|
|
|
Requires: %{name} = %{version}
|
2006-06-03 15:18:12 +00:00
|
|
|
Requires: pkgconfig
|
2007-01-20 16:03:50 +00:00
|
|
|
Requires: curl-devel clucene-core-devel libicu-devel
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the development headers and libraries for the
|
|
|
|
sword API. You need this package if you plan on compiling software
|
|
|
|
that uses the sword API, such as Gnomesword or Bibletime.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-09-09 13:04:44 +00:00
|
|
|
%patch0 -p1 -b .no-curl-types
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
%build
|
2010-10-23 02:58:39 +00:00
|
|
|
%configure --disable-static --with-icu --with-lucene
|
2009-06-09 01:38:34 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
2008-05-27 02:05:15 +00:00
|
|
|
make %{?_smp_mflags}
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2008-05-27 02:05:15 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
2008-05-27 02:27:06 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/sword/modules
|
2005-06-07 11:54:45 +00:00
|
|
|
|
2008-05-27 02:05:15 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
%clean
|
2008-05-27 02:05:15 +00:00
|
|
|
rm -rf %{buildroot}
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
|
|
|
|
%doc samples doc
|
2008-05-27 02:05:15 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sword.conf
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/sword/
|
|
|
|
%{_libdir}/libsword-%{version}.so
|
|
|
|
%{_datadir}/sword
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc CODINGSTYLE
|
2008-05-27 02:05:15 +00:00
|
|
|
%{_includedir}/sword
|
|
|
|
%{_libdir}/pkgconfig/sword.pc
|
|
|
|
%{_libdir}/libsword.so
|
2005-06-07 11:54:45 +00:00
|
|
|
|
|
|
|
%changelog
|
2011-09-09 08:18:31 +00:00
|
|
|
* Fri Sep 09 2011 Caolán McNamara <caolanm@redhat.com> - 1.6.2-4
|
|
|
|
- rebuild for icu 4.8.1
|
|
|
|
|
2011-03-07 15:20:00 +00:00
|
|
|
* Mon Mar 07 2011 Caolán McNamara <caolanm@redhat.com> - 1.6.2-3
|
|
|
|
- rebuild for icu 4.6
|
|
|
|
|
2011-02-09 17:16:15 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-10-23 02:58:39 +00:00
|
|
|
* Fri Oct 22 2010 Deji Akingunola <dakingun@gmail.com> - 1.6.2-1
|
|
|
|
- Update to version 1.6.2
|
|
|
|
|
2010-04-02 12:20:06 +00:00
|
|
|
* Fri Apr 02 2010 Caolán McNamara <caolanm@redhat.com> - 1.6.1-3
|
|
|
|
- rebuild for icu 4.4
|
|
|
|
|
2010-03-20 17:08:29 +00:00
|
|
|
* Sat Mar 20 2010 Deji Akingunola <dakingun@gmail.com> - 1.6.1-2
|
|
|
|
- Work around regression in curl-7.20.0 (Patch by Karl Kleinpaste), fix #569685
|
|
|
|
|
2010-01-13 18:38:03 +00:00
|
|
|
* Wed Jan 13 2010 Deji Akingunola <dakingun@gmail.com> - 1.6.1-1
|
|
|
|
- Update to version 1.6.1
|
|
|
|
|
2009-07-27 05:14:04 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-09 01:38:34 +00:00
|
|
|
* Thu May 14 2009 Deji Akingunola <dakingun@gmail.com> - 1.6.0-1
|
|
|
|
- Update to version 1.6.0
|
|
|
|
|
2009-02-26 04:33:45 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.11-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-04 20:43:53 +00:00
|
|
|
* Wed Feb 04 2009 Deji Akingunola <dakingun@gmail.com> - 1.5.11-3
|
|
|
|
- Add patch to build with gcc-4.4
|
|
|
|
|
2008-06-03 10:30:40 +00:00
|
|
|
* Tue Jun 03 2008 Caolán McNamara <caolanm@redhat.com> - 1.5.11-2
|
|
|
|
- rebuild for new icu
|
|
|
|
|
2008-05-27 02:05:15 +00:00
|
|
|
* Mon May 26 2008 Deji Akingunola <dakingun@gmail.com> - 1.5.11-1
|
|
|
|
- Update to version 1.5.11
|
|
|
|
|
2008-02-21 07:58:22 +00:00
|
|
|
* Thu Feb 21 2008 Deji Akingunola <dakingun@gmail.com> - 1.5.10-3
|
|
|
|
- Fix command injection bug (Bug #433723)
|
|
|
|
|
2008-01-10 18:35:10 +00:00
|
|
|
* Thu Jan 10 2008 Deji Akingunola <dakingun@gmail.com> - 1.5.10-2
|
|
|
|
- Fix build issue with gcc43
|
|
|
|
|
2007-11-05 12:11:03 +00:00
|
|
|
* Mon Nov 05 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.10-1
|
|
|
|
- Update to version 1.5.10
|
|
|
|
|
2007-09-26 03:05:10 +00:00
|
|
|
* Tue Sep 25 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-7
|
|
|
|
- Fix the build failure due to glibc open() check
|
|
|
|
|
2007-08-25 12:42:04 +00:00
|
|
|
* Sat Aug 25 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-6
|
|
|
|
- Rebuild
|
|
|
|
|
2007-08-03 18:24:20 +00:00
|
|
|
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-5
|
|
|
|
- License tag update
|
2007-08-08 18:35:04 +00:00
|
|
|
- Rebuild for new icu
|
2007-08-03 18:24:20 +00:00
|
|
|
|
2007-01-20 16:03:50 +00:00
|
|
|
* Sat Jan 20 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-4
|
|
|
|
- Fix an error (libicu-devel not icu-devel)
|
|
|
|
|
2007-01-20 06:23:48 +00:00
|
|
|
* Sat Jan 20 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-3
|
|
|
|
- Add Requires for the -devel subpackage
|
|
|
|
|
2007-01-15 00:37:56 +00:00
|
|
|
* Sun Jan 14 2007 Deji Akingunola <dakingun@gmail.com> - 1.5.9-2
|
|
|
|
- Rebuild with lucene support
|
|
|
|
|
2006-11-09 04:19:49 +00:00
|
|
|
* Wed Nov 08 2006 Deji Akingunola <dakingun@gmail.com> - 1.5.9-1
|
|
|
|
- New release
|
|
|
|
- Build with icu support
|
2006-10-04 22:36:34 +00:00
|
|
|
|
2006-09-20 21:27:03 +00:00
|
|
|
* Wed Sep 20 2006 Deji Akingunola <dakingun@gmail.com> - 1.5.8-9
|
|
|
|
- Take over from Michael A. Peters
|
|
|
|
- Rebuild for FC6
|
|
|
|
|
2006-06-03 15:18:12 +00:00
|
|
|
* Sat Jun 03 2006 Michael A. Peters <mpeters@mac.com> - 1.5.8-8
|
|
|
|
- Added pkgconfig to devel package Requires
|
|
|
|
|
2006-02-17 12:11:01 +00:00
|
|
|
* Fri Feb 17 2006 Michael A. Peters <mpeters@mac.com> - 1.5.8-7
|
|
|
|
- Rebuild in devel branch
|
|
|
|
|
2005-12-14 23:09:24 +00:00
|
|
|
* Wed Dec 14 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-6
|
|
|
|
- rebuild in devel branch with new compiler suite
|
|
|
|
- remove specific release from devel requires of main package
|
|
|
|
- do not build with %%{_smp_mflags}
|
|
|
|
|
2005-11-21 17:47:03 +00:00
|
|
|
* Mon Nov 21 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-5
|
|
|
|
- disable static library
|
|
|
|
|
2005-11-13 16:29:21 +00:00
|
|
|
* Sun Nov 13 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-4.1
|
|
|
|
- Rebuild against new openssl
|
|
|
|
|
2005-10-29 13:53:48 +00:00
|
|
|
* Sat Oct 29 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-4
|
|
|
|
- Added Arabic support files from Developer mailing list (they have
|
|
|
|
- been added to the upstream SVN version)
|
|
|
|
|
2005-06-09 18:05:48 +00:00
|
|
|
* Thu Jun 09 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-3
|
2005-06-09 14:32:22 +00:00
|
|
|
- fix line breaks
|
|
|
|
|
2005-06-07 11:54:45 +00:00
|
|
|
* Mon Jun 06 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-1
|
|
|
|
- initial CVS checkin for Fedora Extras
|