eda1aed7cf
- disable bad buildroot rpaths in libs, don't use %makeinstall - require %{epoch} of main package in -devel package (Fridrich Strba) Also: remove old tarball from "sources" and ".cvsignore"
100 lines
2.7 KiB
RPMSpec
100 lines
2.7 KiB
RPMSpec
Summary: An Enchanting Spell Checking Library
|
|
Name: enchant
|
|
Version: 1.1.6
|
|
Release: 3
|
|
Epoch: 1
|
|
Group: System Environment/Libraries
|
|
License: LGPL
|
|
Source: http://www.abisource.com/downloads/enchant/%{version}/enchant-%{version}.tar.gz
|
|
URL: http://www.abisource.com/
|
|
Requires: glib2 >= 2.0.0
|
|
BuildRequires: glib2-devel >= 2.0.0
|
|
BuildRequires: aspell-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
A library that wraps other spell checking backends.
|
|
|
|
%package devel
|
|
Summary: Support files necessary to compile applications with libenchant.
|
|
Group: Development/Libraries
|
|
Requires: enchant = %{epoch}:%{version}-%{release}
|
|
Requires: glib2-devel
|
|
|
|
%description devel
|
|
Libraries, headers, and support files necessary to compile applications using libenchant.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-ispell
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING.LIB README
|
|
%{_bindir}/*
|
|
%{_libdir}/lib*.so.*
|
|
%dir %{_libdir}/enchant
|
|
%{_libdir}/enchant/lib*.so*
|
|
%{_mandir}/man1/enchant.1.gz
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_libdir}/*.a
|
|
%{_libdir}/*.so
|
|
%{_libdir}/enchant/*.a
|
|
%{_libdir}/pkgconfig/enchant.pc
|
|
%{_includedir}/enchant
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -r $RPM_BUILD_ROOT
|
|
|
|
%changelog
|
|
* Mon Apr 4 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-3
|
|
- make in %%build
|
|
- disable bad buildroot rpaths in libs, don't use %%makeinstall
|
|
- require %%{epoch} of main package in -devel package (Fridrich Strba)
|
|
|
|
* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1:1.1.6-2
|
|
- add dep glib2-devel for pkgconfig in -devel package
|
|
- include %%{_libdir}/enchant dir in main package
|
|
- make -devel package require exact VR of main package
|
|
- use -p /sbin/ldconfig in scriptlets
|
|
|
|
* Mon Mar 28 2005 Marc Maurer <uwog@abisource.com> 1:1.1.6-1
|
|
- update to 1.1.6
|
|
- drop the manpage patch (RH#145010#)
|
|
- fix version numbers in the spec changelog
|
|
|
|
* Wed Mar 2 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-3
|
|
- rebuild with gcc4
|
|
|
|
* Fri Jan 14 2005 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-2
|
|
- RH#145010# misformatted manpage
|
|
|
|
* Mon Dec 20 2004 Caolan McNamara <caolanm@redhat.com> 1:1.1.5-1
|
|
- initial fedora import
|
|
|
|
* Sun Aug 24 2003 Rui Miguel Seabra <rms@1407.org>
|
|
- update spec to current stat of affairs
|
|
- building from source rpm is now aware of --with and --without flags:
|
|
- --without aspell --without ispell --without myspell --with uspell
|
|
|
|
* Wed Jul 16 2003 Rui Miguel Seabra <rms@1407.org>
|
|
- take advantage of environment rpm macros
|
|
|
|
* Sun Jul 13 2003 Dom Lachowicz <cinamod@hotmail.com>
|
|
- Initial version
|