sword/sword.spec

125 lines
3.5 KiB
RPMSpec
Raw Normal View History

Name: sword
Version: 1.5.9
Release: 3%{?dist}
Summary: Free Bible Software Project
Group: System Environment/Libraries
License: GPL
URL: http://www.crosswire.org/sword/
Source0: http://www.crosswire.org/ftpmirror/pub/sword/source/v1.5/sword-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel
BuildRequires: curl-devel
BuildRequires: zlib-devel
BuildRequires: libidn-devel
BuildRequires: libicu-devel icu
2007-01-15 00:37:56 +00:00
BuildRequires: clucene-core-devel
%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}
Requires: pkgconfig
Requires: curl-devel clucene-core-devel icu-devel
%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
%build
2007-01-15 00:37:56 +00:00
%configure --disable-static --with-icu --with-lucene
2005-12-14 23:09:24 +00:00
make
#%%{?_smp_mflags} sometimes causes build failure
%install
rm -rf %buildroot
make install DESTDIR=%buildroot
%__mkdir_p %buildroot%_datadir/sword/modules
find %buildroot%_libdir -type f -name "*.la" -exec rm -f {} ';'
%clean
rm -rf %buildroot
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README
%doc samples doc
%config(noreplace) %_sysconfdir/sword.conf
%_bindir/*
%_libdir/sword/
%_libdir/libsword-%{version}.so
%_datadir/sword
%files devel
%defattr(-,root,root,-)
%doc CODINGSTYLE
%_includedir/sword
%_libdir/pkgconfig/sword.pc
%_libdir/libsword.so
%changelog
* 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
* 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
* Wed Sep 20 2006 Deji Akingunola <dakingun@gmail.com> - 1.5.8-9
- Take over from Michael A. Peters
- Rebuild for FC6
* 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)
* 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
* Mon Jun 06 2005 Michael A. Peters <mpeters@mac.com> - 1.5.8-1
- initial CVS checkin for Fedora Extras