Compare commits

...

6 Commits

View File

@ -1,15 +1,14 @@
%define majver %(echo %version| cut -d. -f1-2)
Name: hunspell
Version: 1.5.4
Version: 1.7.2
Release: 1mamba
Summary: The default spell checker of OpenOffice.org office suite
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://hunspell.sourceforge.net/
URL: http://hunspell.github.io/
Source: https://github.com/hunspell/hunspell.git/v%{version}/hunspell-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/hunspell/hunspell-%{version}.tar.gz
Patch0: %{name}-1.1.11-lib_noversion.patch
Patch1: %{name}-1.2.8-defaultlanguage.patch
License: GPL, LGPL, MPL 1.1
@ -19,8 +18,8 @@ BuildRequires: libgcc
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird.
@ -63,10 +62,13 @@ Main features:
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
autoreconf -fi
%build
%configure \
@ -78,6 +80,9 @@ This package contains static libraries and header files need for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
install -d -m0755 %{buildroot}%{_datadir}/myspell
ln -s . %{buildroot}%{_datadir}/myspell/dicts
#%find_lang %{name}
%clean
@ -107,6 +112,8 @@ This package contains static libraries and header files need for development.
#-f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libhunspell-%{majver}.so.*
%dir %{_datadir}/myspell
%{_datadir}/myspell/dicts
%doc AUTHORS COPYING
%files -n libhunspell-devel
@ -115,15 +122,32 @@ This package contains static libraries and header files need for development.
%{_includedir}/hunspell/*.h
%{_includedir}/hunspell/*.hxx
%{_libdir}/libhunspell-%{majver}.a
%{_libdir}/libhunspell-%{majver}.la
%{_libdir}/libhunspell-%{majver}.so
%{_libdir}/pkgconfig/hunspell.pc
#%{_libdir}/libparsers.a
%{_mandir}/man3/hunspell.3*
%doc BUGS ChangeLog ChangeLog.O NEWS README README.myspell
%doc THANKS TODO
%doc ChangeLog ChangeLog.O NEWS README
%doc THANKS
%changelog
* Sun Jan 01 2023 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Tue Aug 23 2022 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
- automatic version update by autodist
* Thu May 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- provide /usr/share/myspell/dicts as symlink to /usr/share/myspell
* Mon Dec 10 2018 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Tue Sep 05 2017 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Fri Aug 18 2017 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Fri Dec 02 2016 Automatic Build System <autodist@mambasoft.it> 1.5.4-1mamba
- automatic version update by autodist