Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
b5a2124004 | ||
|
80c522df3d | ||
|
218c48938e | ||
|
b26098c627 | ||
|
63fa6b35ec | ||
|
512d5dd247 | ||
|
8ac1e41b90 | ||
|
f6fcdf77e0 | ||
|
61c2db738a | ||
|
3a42f912d5 | ||
|
747c164883 | ||
|
c5e38ed940 | ||
|
8e110a4231 | ||
|
fe2df8005d | ||
|
b603e54bef | ||
|
09b69d43d6 | ||
|
018830b54e | ||
|
a0b11dc2be | ||
|
93d9531f71 | ||
|
11182f7cbc | ||
|
77df02fe0c | ||
|
f735b0f3b5 | ||
|
5f733d8e32 | ||
|
d036b63c0c | ||
|
ccefd367c5 | ||
|
f6efdc61c4 | ||
|
14e60b0f9d | ||
|
f1018f0f01 |
14
nuspell-dllver.patch
Normal file
14
nuspell-dllver.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff -rupN --no-dereference nuspell-5.1.4/src/nuspell/CMakeLists.txt nuspell-5.1.4-new/src/nuspell/CMakeLists.txt
|
||||
--- nuspell-5.1.4/src/nuspell/CMakeLists.txt 2023-11-08 10:44:28.000000000 +0100
|
||||
+++ nuspell-5.1.4-new/src/nuspell/CMakeLists.txt 2023-11-09 13:51:20.918144706 +0100
|
||||
@@ -23,6 +23,10 @@ set_target_properties(nuspell PROPERTIES
|
||||
SOVERSION ${PROJECT_VERSION_MAJOR}
|
||||
CXX_VISIBILITY_PRESET hidden)
|
||||
|
||||
+if(MINGW)
|
||||
+ set_target_properties(nuspell PROPERTIES SUFFIX "-${PROJECT_VERSION_MAJOR}${CMAKE_SHARED_LIBRARY_SUFFIX}")
|
||||
+endif(MINGW)
|
||||
+
|
||||
target_compile_features(nuspell PUBLIC cxx_std_17)
|
||||
|
||||
target_include_directories(nuspell
|
184
nuspell.spec
184
nuspell.spec
@ -1,60 +1,194 @@
|
||||
Name: nuspell
|
||||
Version: 5.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Fast and safe spellchecking C++ library and command-line tool
|
||||
License: LGPLv3+
|
||||
URL: https://nuspell.github.io
|
||||
Source0: https://github.com/%{name}/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: pandoc
|
||||
BuildRequires: catch-devel
|
||||
Requires: hunspell-en-US
|
||||
Name: nuspell
|
||||
Version: 5.1.4
|
||||
Release: 5%{?dist}
|
||||
Summary: Fast and safe spellchecking C++ library and command-line tool
|
||||
License: LGPL-3.0-or-later
|
||||
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
|
||||
BuildRequires: catch-devel
|
||||
|
||||
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
|
||||
|
||||
%description
|
||||
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.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development tools for %{name}
|
||||
Requires: libicu-devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Summary: Development tools for %{name}
|
||||
Requires: libicu-devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains the header files and developer docs for \
|
||||
%{name}.
|
||||
|
||||
|
||||
%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}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%mingw_cmake -DBUILD_TESTING=OFF
|
||||
%mingw_make_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%mingw_make_install
|
||||
|
||||
# Drop docs from mingw packages
|
||||
rm -rf %{buildroot}%{mingw32_docdir}/%{name}
|
||||
rm -rf %{buildroot}%{mingw64_docdir}/%{name}
|
||||
|
||||
%mingw_debug_install_post
|
||||
|
||||
|
||||
%check
|
||||
ctest
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/*.so.5*
|
||||
%license COPYING COPYING.LESSER
|
||||
%doc AUTHORS CHANGELOG.md README.md
|
||||
%license COPYING COPYING.LESSER
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/lib%{name}.so.5*
|
||||
|
||||
%files devel
|
||||
%doc %{_docdir}/nuspell/
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/*.so
|
||||
%{_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
|
||||
|
||||
%doc %{_docdir}/nuspell/
|
||||
|
||||
%changelog
|
||||
* Mon Feb 05 2024 Sandro Mani <manisandro@gmail.com> - 5.1.4-5
|
||||
- Rebuild (icu)
|
||||
|
||||
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 5.1.4-4
|
||||
- Rebuild for ICU 74
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Nov 09 2023 Sandro Mani <manisandro@gmail.com> - 5.1.4-1
|
||||
- Update to 5.1.4
|
||||
|
||||
* Tue Aug 29 2023 Sandro Mani <manisandro@gmail.com> - 5.1.3-1
|
||||
- Update to 5.1.3
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 18 2023 Sandro Mani <manisandro@gmail.com> - 5.1.2-6
|
||||
- Rebuild (mingw-icu)
|
||||
|
||||
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 5.1.2-5
|
||||
- Rebuilt for ICU 73.2
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Jan 03 2023 Sandro Mani <manisandro@gmail.com> - 5.1.2-3
|
||||
- Rebuild (mingw-icu)
|
||||
|
||||
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 5.1.2-2
|
||||
- Rebuild for ICU 72
|
||||
|
||||
* Sat Oct 01 2022 Sandro Mani <manisandro@gmail.com> - 5.1.2-1
|
||||
- Update to 5.1.2
|
||||
|
||||
* Tue Sep 13 2022 Sandro Mani <manisandro@gmail.com> - 5.1.1-1
|
||||
- Update to 5.1.1
|
||||
|
||||
* Sat Aug 06 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-4
|
||||
- Rebuild (mingw-icu)
|
||||
|
||||
* Thu Aug 04 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-3
|
||||
- Add mingw subpackages
|
||||
|
||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 5.1.0-2
|
||||
- Rebuilt for ICU 71.1
|
||||
|
||||
* Sun Jul 31 2022 Sandro Mani <manisandro@gmail.com> - 5.1.0-1
|
||||
- Update to 5.1.0
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Nov 16 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 5.0.1-1
|
||||
- Resolves: rhbz#2022753 nuspell-5.0.1 is available
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon Jun 14 2021 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 5.0.0-1
|
||||
- New release 5.0.0
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (nuspell-5.0.0.tar.gz) = 92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5
|
||||
SHA512 (nuspell-5.1.4.tar.gz) = f4119b3fe5944be8f5bc35ccff8d7a93b0f4fa9f129bc97a7b96879a11b5b35bd714b41dd209267417e94c5fed45fd3a74b349f94424f4b90bde07d9694d1d7d
|
||||
|
Loading…
Reference in New Issue
Block a user