enchant/enchant.spec

120 lines
2.8 KiB
RPMSpec

#
# spec file for package enchant (Version 1.2.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: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Productivity/Text/Spell
Autoreqprov: on
Version: 1.2.0
Release: 46
Summary: An Enchanting Spell Checking Library
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-infinite-loop.patch
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 devel
Summary: Include Files and Libraries mandatory for Development.
Group: Productivity/Text/Spell
Requires: %{name} = %{version} glib2-devel
Autoreqprov: on
%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
%patch
%build
ACLOCAL="aclocal -I ac-helpers" autoreconf -f -i
# needed for enchant-1.2.0:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS BUGS COPYING.LIB ChangeLog MAINTAINERS NEWS README TODO
%defattr (-, root, root)
%{_bindir}/*
%{_datadir}/enchant
%{_libdir}/*.so.*
%{_libdir}/enchant
%doc %{_mandir}/man?/*.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog -n enchant
* 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.