2022-08-04 21:38:21 +00:00
|
|
|
Name: nuspell
|
2023-11-09 12:51:30 +00:00
|
|
|
Version: 5.1.4
|
2024-02-05 10:08:29 +00:00
|
|
|
Release: 5%{?dist}
|
2022-08-04 21:38:21 +00:00
|
|
|
Summary: Fast and safe spellchecking C++ library and command-line tool
|
2022-11-18 21:22:56 +00:00
|
|
|
License: LGPL-3.0-or-later
|
2022-08-04 21:38:21 +00:00
|
|
|
URL: https://nuspell.github.io
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
# Add DLL version suffix
|
|
|
|
Patch0: nuspell-dllver.patch
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libicu-devel
|
|
|
|
BuildRequires: pandoc
|
2023-11-15 09:52:40 +00:00
|
|
|
BuildRequires: catch-devel
|
2022-08-04 21:38:21 +00:00
|
|
|
|
|
|
|
BuildRequires: mingw32-filesystem
|
|
|
|
BuildRequires: mingw32-dlfcn
|
|
|
|
BuildRequires: mingw32-gcc-c++
|
|
|
|
BuildRequires: mingw32-icu
|
|
|
|
|
|
|
|
BuildRequires: mingw64-filesystem
|
|
|
|
BuildRequires: mingw64-dlfcn
|
|
|
|
BuildRequires: mingw64-gcc-c++
|
|
|
|
BuildRequires: mingw64-icu
|
|
|
|
|
|
|
|
Requires: hunspell-en-US
|
2020-04-05 10:41:00 +00:00
|
|
|
|
|
|
|
%description
|
2020-05-18 04:03:47 +00:00
|
|
|
Nuspell is a fast and safe spelling checker software program. It is designed \
|
|
|
|
for languages with rich morphology and complex word compounding. Nuspell is \
|
|
|
|
written in modern C++ and it supports Hunspell dictionaries.
|
2020-04-05 10:41:00 +00:00
|
|
|
|
2022-08-04 21:38:21 +00:00
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
%package devel
|
2022-08-04 21:38:21 +00:00
|
|
|
Summary: Development tools for %{name}
|
|
|
|
Requires: libicu-devel
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2020-04-05 10:41:00 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains the header files and developer docs for \
|
|
|
|
%{name}.
|
|
|
|
|
2022-08-04 21:38:21 +00:00
|
|
|
|
|
|
|
%package -n mingw32-%{name}
|
|
|
|
Summary: MinGW Windows %{name} library
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n mingw32-%{name}
|
|
|
|
MinGW Windows %{pkgname} library.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n mingw64-%{name}
|
|
|
|
Summary: MinGW Windows %{name} library
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n mingw64-%{name}
|
|
|
|
MinGW Windows %{name} library.
|
|
|
|
|
|
|
|
|
|
|
|
%{?mingw_debug_package}
|
|
|
|
|
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
%prep
|
2022-08-04 21:38:21 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{version}
|
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
|
|
|
|
%build
|
2023-08-29 06:20:13 +00:00
|
|
|
%cmake
|
2020-10-12 05:29:45 +00:00
|
|
|
%cmake_build
|
2020-04-05 10:41:00 +00:00
|
|
|
|
2023-08-29 06:20:13 +00:00
|
|
|
%mingw_cmake -DBUILD_TESTING=OFF
|
2022-08-04 21:38:21 +00:00
|
|
|
%mingw_make_build
|
|
|
|
|
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
%install
|
2020-10-12 05:29:45 +00:00
|
|
|
%cmake_install
|
2022-08-04 21:38:21 +00:00
|
|
|
%mingw_make_install
|
|
|
|
|
|
|
|
# Drop docs from mingw packages
|
|
|
|
rm -rf %{buildroot}%{mingw32_docdir}/%{name}
|
|
|
|
rm -rf %{buildroot}%{mingw64_docdir}/%{name}
|
|
|
|
|
|
|
|
%mingw_debug_install_post
|
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
|
2020-05-20 13:50:15 +00:00
|
|
|
%check
|
2022-04-17 15:24:08 +00:00
|
|
|
%ctest
|
2020-05-20 13:50:15 +00:00
|
|
|
|
2022-08-04 21:38:21 +00:00
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
%files
|
|
|
|
%doc AUTHORS CHANGELOG.md README.md
|
2022-08-04 21:38:21 +00:00
|
|
|
%license COPYING COPYING.LESSER
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_libdir}/lib%{name}.so.5*
|
2020-04-05 10:41:00 +00:00
|
|
|
|
|
|
|
%files devel
|
2022-08-04 21:38:21 +00:00
|
|
|
%doc %{_docdir}/nuspell/
|
2020-04-05 10:41:00 +00:00
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/cmake/%{name}/
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2022-08-04 21:38:21 +00:00
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
|
|
|
|
%files -n mingw32-%{name}
|
|
|
|
%license COPYING COPYING.LESSER
|
|
|
|
%{mingw32_bindir}/%{name}.exe
|
|
|
|
%{mingw32_bindir}/lib%{name}-5.dll
|
|
|
|
%{mingw32_includedir}/%{name}/
|
|
|
|
%{mingw32_libdir}/cmake/%{name}/
|
|
|
|
%{mingw32_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{mingw32_libdir}/lib%{name}.dll.a
|
|
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-%{name}
|
|
|
|
%license COPYING COPYING.LESSER
|
|
|
|
%{mingw64_bindir}/%{name}.exe
|
|
|
|
%{mingw64_bindir}/lib%{name}-5.dll
|
|
|
|
%{mingw64_includedir}/%{name}/
|
|
|
|
%{mingw64_libdir}/cmake/%{name}/
|
|
|
|
%{mingw64_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{mingw64_libdir}/lib%{name}.dll.a
|
2020-04-05 10:41:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-02-05 10:08:29 +00:00
|
|
|
* Mon Feb 05 2024 Sandro Mani <manisandro@gmail.com> - 5.1.4-5
|
|
|
|
- Rebuild (icu)
|
|
|
|
|
2024-01-31 19:54:55 +00:00
|
|
|
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 5.1.4-4
|
|
|
|
- Rebuild for ICU 74
|
|
|
|
|
2024-01-25 09:31:42 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 10:01:58 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-11-09 12:51:30 +00:00
|
|
|
* Thu Nov 09 2023 Sandro Mani <manisandro@gmail.com> - 5.1.4-1
|
|
|
|
- Update to 5.1.4
|
|
|
|
|
2023-08-29 05:39:34 +00:00
|
|
|
* Tue Aug 29 2023 Sandro Mani <manisandro@gmail.com> - 5.1.3-1
|
|
|
|
- Update to 5.1.3
|
|
|
|
|
2023-07-20 17:00:55 +00:00
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-07-18 09:50:16 +00:00
|
|
|
* Tue Jul 18 2023 Sandro Mani <manisandro@gmail.com> - 5.1.2-6
|
|
|
|
- Rebuild (mingw-icu)
|
|
|
|
|
2023-07-11 20:18:24 +00:00
|
|
|
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 5.1.2-5
|
|
|
|
- Rebuilt for ICU 73.2
|
|
|
|
|
2023-01-19 21:54:24 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-03 07:56:14 +00:00
|
|
|
* Tue Jan 03 2023 Sandro Mani <manisandro@gmail.com> - 5.1.2-3
|
|
|
|
- Rebuild (mingw-icu)
|
|
|
|
|
2022-12-31 03:00:57 +00:00
|
|
|
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 5.1.2-2
|
|
|
|
- Rebuild for ICU 72
|
|
|
|
|
2022-10-01 13:01:10 +00:00
|
|
|
* Sat Oct 01 2022 Sandro Mani <manisandro@gmail.com> - 5.1.2-1
|
|
|
|
- Update to 5.1.2
|
|
|
|
|
2022-09-13 08:39:16 +00:00
|
|
|
* Tue Sep 13 2022 Sandro Mani <manisandro@gmail.com> - 5.1.1-1
|
|
|
|
- Update to 5.1.1
|
|
|
|
|
2022-08-06 18:10:54 +00:00
|
|
|
* Sat Aug 06 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-4
|
|
|
|
- Rebuild (mingw-icu)
|
|
|
|
|
2022-08-04 21:38:21 +00:00
|
|
|
* Thu Aug 04 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-3
|
|
|
|
- Add mingw subpackages
|
|
|
|
|
2022-08-01 13:07:33 +00:00
|
|
|
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.1.0-2
|
|
|
|
- Rebuilt for ICU 71.1
|
|
|
|
|
2022-08-04 21:38:21 +00:00
|
|
|
* Sun Jul 31 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-1
|
2022-04-17 15:24:08 +00:00
|
|
|
- Update to 5.1.0
|
|
|
|
|
2022-07-22 00:57:07 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 21:31:48 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2022-04-17 15:24:08 +00:00
|
|
|
* Tue Nov 16 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 5.0.1-1
|
2021-11-16 04:29:14 +00:00
|
|
|
- Resolves: rhbz#2022753 nuspell-5.0.1 is available
|
|
|
|
|
2021-07-22 16:26:06 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-14 02:03:46 +00:00
|
|
|
* Mon Jun 14 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 5.0.0-1
|
|
|
|
- New release 5.0.0
|
|
|
|
|
2021-05-20 00:11:26 +00:00
|
|
|
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 4.2.0-5
|
|
|
|
- Rebuild for ICU 69
|
|
|
|
|
2021-05-19 15:47:54 +00:00
|
|
|
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 4.2.0-4
|
|
|
|
- Rebuild for ICU 69
|
|
|
|
|
2021-02-03 15:49:01 +00:00
|
|
|
* Wed Feb 03 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 4.2.0-3
|
|
|
|
- SPEC file cleanup
|
|
|
|
|
2021-02-02 04:26:09 +00:00
|
|
|
* Tue Feb 02 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 4.2.0-2
|
|
|
|
- Update the package summary
|
|
|
|
|
2021-02-02 03:56:50 +00:00
|
|
|
* Tue Feb 02 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 4.2.0-1
|
|
|
|
- New release 4.2.0
|
|
|
|
|
2021-01-26 21:47:33 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2021-01-22 21:03:35 +00:00
|
|
|
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 3.1.2-5
|
|
|
|
- Rebuilt for Boost 1.75
|
|
|
|
|
2020-10-12 05:29:45 +00:00
|
|
|
* Fri Oct 09 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.2-4
|
|
|
|
- Resolves: rhbz#1865076: FTBFS in Fedora rawhide/f33
|
|
|
|
- updated make_build and make_install to cmake_build and cmake_install macro
|
|
|
|
|
2020-08-01 06:34:25 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 11:59:30 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-13 02:21:12 +00:00
|
|
|
* Sat Jul 11 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.2-1
|
|
|
|
- New release 3.1.2
|
|
|
|
|
2020-05-30 07:13:23 +00:00
|
|
|
* Sat May 30 2020 Jonathan Wakely <jwakely@redhat.com> - 3.1.1-3
|
|
|
|
- Rebuilt for Boost 1.73
|
|
|
|
|
2020-05-20 13:50:15 +00:00
|
|
|
* Wed May 20 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-2
|
|
|
|
- added tests
|
|
|
|
|
2020-05-18 04:03:47 +00:00
|
|
|
* Fri May 15 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.1-1
|
|
|
|
- Updated description and summary
|
|
|
|
- New release 3.1.1
|
|
|
|
|
|
|
|
* Mon Apr 27 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.1.0-1
|
|
|
|
- New release
|
2020-05-16 07:21:53 +00:00
|
|
|
|
2020-04-05 10:41:00 +00:00
|
|
|
* Fri Apr 3 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.0-5
|
|
|
|
- Added license files and doc files
|
|
|
|
|
|
|
|
* Thu Mar 26 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.0-4
|
|
|
|
- renamed archive name
|
|
|
|
- replaced cmake with %%cmake and make with %%make_build macro
|
|
|
|
|
|
|
|
* Mon Mar 02 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.0-3
|
|
|
|
- Update URL link
|
|
|
|
- Updated description
|
|
|
|
- Modified man page files macro
|
|
|
|
|
|
|
|
* Thu Feb 27 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.0-2
|
|
|
|
- Updated files to _libdir/cmake/nuspell/ instead of *.cmake files
|
|
|
|
|
|
|
|
* Tue Feb 25 2020 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 3.0.0-1
|
|
|
|
- First release
|