|
@@ -1,31 +1,34 @@
|
|
|
%define _noVersionedDependencies 1
|
|
|
|
|
|
-%define ver 0.60.6
|
|
|
-%define rel 2
|
|
|
-
|
|
|
-Summary: A spelling checker.
|
|
|
-Summary(ja): スペルチェッカ
|
|
|
-Name: aspell
|
|
|
-Version: %{ver}
|
|
|
-Release: %{rel}%{?_dist_release}
|
|
|
-License: LGPL
|
|
|
-Group: Applications/Text
|
|
|
-URL: http://aspell.net/
|
|
|
-Source0: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz
|
|
|
-Source10: %{name}-install.sh
|
|
|
-Source11: %{name}-remove.sh
|
|
|
-Source12: %{name}-init.el
|
|
|
-Source100: aspell.conf
|
|
|
-Patch1003: aspell-0.60.3-install_info.patch
|
|
|
-Patch1005: aspell-0.60.5-fileconflict.patch
|
|
|
-Patch1007: aspell-0.60.5-pspell_conf.patch
|
|
|
-Patch1008: aspell-0.60.6-zero.patch
|
|
|
-
|
|
|
-Buildrequires: gcc-c++
|
|
|
-Requires(post,preun): %{_syssbindir}/install-info
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Provides: pspell
|
|
|
-Obsoletes: ispell, pspell
|
|
|
+%define ver 0.60.6.1
|
|
|
+%define rel 1
|
|
|
+
|
|
|
+Summary: A spelling checker.
|
|
|
+Summary(ja): スペルチェッカ
|
|
|
+Name: aspell
|
|
|
+Version: %{ver}
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
+License: LGPL
|
|
|
+Group: Applications/Text
|
|
|
+URL: http://aspell.net/
|
|
|
+Source0: ftp://ftp.gnu.org/gnu/aspell/aspell-%{version}.tar.gz
|
|
|
+Source10: %{name}-install.sh
|
|
|
+Source11: %{name}-remove.sh
|
|
|
+Source12: %{name}-init.el
|
|
|
+Source100: aspell.conf
|
|
|
+Patch1003: aspell-0.60.3-install_info.patch
|
|
|
+Patch1005: aspell-0.60.5-fileconflict.patch
|
|
|
+Patch1007: aspell-0.60.5-pspell_conf.patch
|
|
|
+Patch1008: aspell-0.60.6-zero.patch
|
|
|
+Patch1009: aspell-0.60.6-mp.patch
|
|
|
+
|
|
|
+BuildRequires: gcc-c++ gettext ncurses-devel pkgconfig
|
|
|
+BuildRequires: chrpath
|
|
|
+Requires(post): %{_syssbindir}/install-info
|
|
|
+Requires(preun): %{_syssbindir}/install-info
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+Provides: pspell
|
|
|
+Obsoletes: ispell, pspell
|
|
|
|
|
|
|
|
|
%description
|
|
@@ -62,38 +65,55 @@ elisp for using aspell within emacsen.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
%setup -q
|
|
|
%patch1003 -p1 -b .iinfo
|
|
|
%patch1005 -p1 -b .fc
|
|
|
%patch1007 -p1 -b .mlib
|
|
|
%patch1008 -p1 -b .zero
|
|
|
+%patch1009 -p1 -b .ai
|
|
|
iconv -f windows-1252 -t utf-8 manual/aspell.info -o manual/aspell.info.aux
|
|
|
mv manual/aspell.info.aux manual/aspell.info
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
+%configure --disable-rpath
|
|
|
make %{?_smp_mflags}
|
|
|
+cp scripts/aspell-import examples/aspell-import
|
|
|
+chmod 644 examples/aspell-import
|
|
|
+cp manual/aspell-import.1 examples/aspell-import.1
|
|
|
+
|
|
|
|
|
|
%install
|
|
|
+rm -rf %{buildroot}
|
|
|
%makeinstall
|
|
|
|
|
|
-mv ${RPM_BUILD_ROOT}%{_libdir}/aspell-*/ispell ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
-mv ${RPM_BUILD_ROOT}%{_libdir}/aspell-*/spell ${RPM_BUILD_ROOT}%{_bindir}
|
|
|
+mv %{buildroot}%{_libdir}/aspell-*/ispell %{buildroot}%{_bindir}
|
|
|
+mv %{buildroot}%{_libdir}/aspell-*/spell %{buildroot}%{_bindir}
|
|
|
+
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//nroff-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//sgml-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//context-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//email-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//tex-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/aspell-0.60//texinfo-filter.so
|
|
|
+chrpath --delete %{buildroot}%{_bindir}/aspell
|
|
|
+chrpath --delete %{buildroot}%{_libdir}/libpspell.so.*
|
|
|
+
|
|
|
+rm -f %{buildroot}%{_libdir}/libaspell.la
|
|
|
+rm -f %{buildroot}%{_libdir}/libpspell.la
|
|
|
+rm -f %{buildroot}%{_libdir}/aspell-0.60/*-filter.la
|
|
|
+rm -f %{buildroot}%{_bindir}/aspell-import
|
|
|
+rm -f %{buildroot}%{_mandir}/man1/aspell-import.1*
|
|
|
|
|
|
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/libaspell.la
|
|
|
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/libpspell.la
|
|
|
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60/*-filter.la
|
|
|
|
|
|
# Add by H.Irokawa(2004.02.23)
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
-install -m 644 %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/aspell.conf
|
|
|
+mkdir -p %{buildroot}%{_sysconfdir}
|
|
|
+install -m 644 %{SOURCE100} %{buildroot}%{_sysconfdir}/aspell.conf
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/aspell
|
|
|
-mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/emacsen-common/packages/install
|
|
|
-mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/emacsen-common/packages/remove
|
|
|
+mkdir -p %{buildroot}%{_prefix}/lib/emacsen-common/packages/install
|
|
|
+mkdir -p %{buildroot}%{_prefix}/lib/emacsen-common/packages/remove
|
|
|
|
|
|
-install -m 644 %{SOURCE12} $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/%{name}
|
|
|
+install -m 644 %{SOURCE12} %{buildroot}/usr/share/emacs/site-lisp/%{name}
|
|
|
|
|
|
# install script( bytecompile el and install elc , remove )
|
|
|
|
|
@@ -155,25 +175,36 @@ fi
|
|
|
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root)
|
|
|
%config(noreplace) %{_sysconfdir}/aspell.conf
|
|
|
-%doc README TODO
|
|
|
-%{_bindir}/*
|
|
|
+%doc README TODO COPYING examples/aspell-import examples/aspell-import.1
|
|
|
+%dir %{_libdir}/aspell-0.60
|
|
|
+%{_bindir}/a*
|
|
|
+%{_bindir}/ispell
|
|
|
+%{_bindir}/pr*
|
|
|
+%{_bindir}/run-with-aspell
|
|
|
+%{_bindir}/spell
|
|
|
+%{_bindir}/word-list-compress
|
|
|
%{_libdir}/lib*.so.*
|
|
|
-%{_libdir}/aspell-*
|
|
|
-%{_infodir}/aspell.info*
|
|
|
-%{_mandir}/man1/*
|
|
|
+%{_libdir}/aspell-0.60/*
|
|
|
+%{_infodir}/aspell.*
|
|
|
+%{_mandir}/man1/aspell.1.*
|
|
|
+%{_mandir}/man1/run-with-aspell.1*
|
|
|
+%{_mandir}/man1/word-list-compress.1*
|
|
|
+%{_mandir}/man1/prezip-bin.1.*
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root)
|
|
|
+%{_bindir}/pspell-config
|
|
|
%{_includedir}/aspell.h
|
|
|
%{_includedir}/pspell
|
|
|
%{_infodir}/aspell-dev.info*
|
|
|
%{_libdir}/lib*spell.so
|
|
|
%{_libdir}/pkgconfig/aspell.pc
|
|
|
+%{_mandir}/man1/pspell-config.1*
|
|
|
|
|
|
%files el
|
|
|
%{_datadir}/emacs/site-lisp/%{name}/
|
|
@@ -181,6 +212,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_prefix}/lib/emacsen-common/packages/remove/%{name}
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.60.6.1-1
|
|
|
+- updated to 0.60.6.1
|
|
|
+- import Patch1009 from Fedora
|
|
|
+
|
|
|
* Tue May 3 2011 IWAI, Masaharu <iwai@alib.jp> 0.60.6-2
|
|
|
- update aspell.conf (Source100)
|
|
|
|