fixup
This commit is contained in:
parent
0afe8cd211
commit
ff7dd74516
@ -1,12 +1,13 @@
|
||||
Name: hunspell
|
||||
Summary: Hunspell is a spell checker and morphological analyzer library
|
||||
Version: 1.1.4
|
||||
Release: 5%{?dist}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
URL: http://hunspell.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
License: LGPL
|
||||
Name: hunspell
|
||||
Summary: Hunspell is a spell checker and morphological analyzer library
|
||||
Version: 1.1.4
|
||||
Release: 6%{?dist}
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
URL: http://hunspell.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPL
|
||||
|
||||
BuildRequires: libtool
|
||||
Patch0: hunspell-1.1.4-sharedlibs.patch
|
||||
Patch1: hunspell-1.1.4-defaultdictfromlang.patch
|
||||
@ -19,7 +20,7 @@ character encoding. Hunspell interfaces: Ispell-like terminal interface using
|
||||
Curses library, Ispell pipe interface, OpenOffice.org UNO module.
|
||||
|
||||
%package devel
|
||||
Requires: hunspell = %{PACKAGE_VERSION}, pkgconfig
|
||||
Requires: hunspell = %{version}-%{release}, pkgconfig
|
||||
Summary: Files for developing with hunspell
|
||||
Group: Development/Libraries
|
||||
|
||||
@ -37,16 +38,16 @@ libtoolize --automake --force
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
automake
|
||||
%configure
|
||||
%configure --disable-static
|
||||
for i in man/*.? man/hu/*.?; do
|
||||
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
||||
mv -f $i.new $i
|
||||
done
|
||||
make
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%makeinstall
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
%find_lang %{name}
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
@ -61,7 +62,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/myspell
|
||||
@ -74,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/*/man4/hunspell.4.gz
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/%{name}
|
||||
%{_libdir}/*.so
|
||||
%{_bindir}/munch
|
||||
@ -82,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/hunspell.pc
|
||||
|
||||
%changelog
|
||||
* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-6
|
||||
- some spec cleanups
|
||||
|
||||
* Fri Jan 19 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-5
|
||||
- .pc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user