SHA256
1
0
forked from pool/aspell
OBS User unknown 2007-08-15 18:20:48 +00:00 committed by Git OBS Bridge
parent 3766ae993e
commit 7cf83a8a47
2 changed files with 23 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 15 13:26:44 CEST 2007 - lmichnovic@suse.cz
- using lang macro
- not using obsoleted %run_ldconfig macro
- defining dict- and data-dir to arch independent directory which
allow made dictionaries noarch and save 30 MB on BiArch media
-------------------------------------------------------------------
Sat Mar 31 19:23:54 CEST 2007 - rguenther@suse.de

View File

@ -12,7 +12,7 @@
Name: aspell
BuildRequires: gcc-c++ ncurses-devel
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
License: LGPL v2 or later
Group: Productivity/Text/Spell
Provides: spell pspell
Recommends: aspell-en
@ -20,7 +20,7 @@ Obsoletes: pspell
PreReq: %install_info_prereq
Autoreqprov: on
Version: 0.60.5
Release: 10
Release: 35
Summary: A Free and Open Source Spell Checker
URL: http://aspell.net/
Source: aspell-%{version}.tar.bz2
@ -72,11 +72,14 @@ CXXFLAGS="$RPM_OPT_FLAGS" \
--libdir=%{_prefix}/%_lib \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
--enable-pkgdatadir=%{_prefix}/share/aspell-0.60 \
--enable-dict-dir=%{_prefix}/share/aspell-0.60 \
--enable-static
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
#mv $RPM_BUILD_ROOT%{_datadir}/aspell/spell $RPM_BUILD_ROOT%{_bindir}/
#
# create directory for precompiled dictionaries
@ -89,11 +92,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun
%run_ldconfig
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%post devel
@ -102,7 +105,7 @@ rm -rf $RPM_BUILD_ROOT
%postun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}-dev.info.gz
%files
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING README
%doc manual/aspell.html
@ -115,7 +118,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/pre*
%{_libdir}/libaspell.so.*
%{_libdir}/libpspell.so.*
%{_libdir}/aspell-0.60
#%{_libdir}/aspell-0.60
%{_prefix}/share/aspell-0.60
%{_datadir}/locale/*/*/aspell.mo
%files devel
@ -130,6 +134,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libpspell.so
%changelog
* Wed Aug 15 2007 - lmichnovic@suse.cz
- using lang macro
- not using obsoleted %%run_ldconfig macro
- defining dict- and data-dir to arch independent directory which
allow made dictionaries noarch and save 30 MB on BiArch media
* Sat Mar 31 2007 - rguenther@suse.de
- add ncurses-devel BuildRequires.
* Sat Mar 31 2007 - aj@suse.de