enchant/enchant.spec

141 lines
3.4 KiB
RPMSpec

#
# spec file for package enchant (Version 1.3.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: enchant
BuildRequires: aspell-devel gcc-c++ glib2-devel
License: LGPL v2 or later
Group: Productivity/Text/Spell
AutoReqProv: on
Version: 1.3.0
Release: 1
Summary: An Enchanting Spell Checking Library
Source: %{name}-%{version}.tar.bz2
Url: http://www.abisource.com/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A library that wraps around other spell checking back-ends.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package -n libenchant1
Summary: An Enchanting Spell Checking Library
Group: System/Libraries
Requires: %{name} >= %{version}
%description -n libenchant1
A library that wraps around other spell checking back-ends.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glib2-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Dom Lachowicz <cinamod@hotmail.com>
%prep
%setup -q
%build
ACLOCAL="aclocal -I ac-helpers" autoreconf -f -i
# needed for enchant-1.3.0:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libenchant1
%run_ldconfig
%postun -n libenchant1
%run_ldconfig
%files
%defattr(-,root,root)
# AUTHORS == MAINTAINERS in 1.3.0
%doc AUTHORS BUGS COPYING.LIB ChangeLog NEWS README TODO
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/enchant
%{_libdir}/enchant
%doc %{_mandir}/man?/*.*
%files -n libenchant1
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
* Thu Oct 18 2007 - sbrabec@suse.cz
- Updated to version 1.3.0:
* New personal wordlist implementation.
* Bug and compilation fixes.
- Split according to shared library packaging policy.
* Tue Feb 13 2007 - sbrabec@suse.cz
- Do not build unusable static libraries (#238552#c17).
* Thu Jan 04 2007 - sbrabec@suse.cz
- Spec file cleanup.
* Tue Apr 11 2006 - jpr@suse.de
- Fix potential infinite loop (#164682)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 - sbrabec@suse.cz
- Updated to version 1.2.0.
* Tue Nov 08 2005 - dmueller@suse.de
- don't build as root
* Wed Aug 03 2005 - sbrabec@suse.cz
- Updated to version 1.1.6.
- Removed unneeded static modules and .la files for modules.
* Wed Jun 01 2005 - sbrabec@suse.cz
- Fixed devel requirements.
* Tue Jan 11 2005 - sbrabec@suse.cz
- Updated to version 1.1.5.
* Wed May 05 2004 - sbrabec@suse.cz
- Added -fno-strict-aliasing.
* Wed Oct 29 2003 - sbrabec@suse.cz
- Updated to version 1.1.1.
* Thu Aug 21 2003 - ro@suse.de
- fix build on x86_64
- run autoreconf for full libtool update
* Tue Aug 19 2003 - sbrabec@suse.cz
- Initial SuSE version 0.2.0.