Compare commits

...

28 Commits
f34 ... rawhide

Author SHA1 Message Date
Sandro Mani
b5a2124004 Rebuild (icu) 2024-02-05 11:08:29 +01:00
Pete Walter
80c522df3d Rebuild for ICU 74 2024-01-31 19:54:55 +00:00
Fedora Release Engineering
218c48938e Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 09:31:42 +00:00
Fedora Release Engineering
b26098c627 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 10:01:58 +00:00
Sandro Mani
63fa6b35ec BR catch2-devel -> catch-devel 2023-11-15 10:52:40 +01:00
Sandro Mani
512d5dd247 Update to 5.1.4 2023-11-09 13:51:30 +01:00
Sandro Mani
8ac1e41b90 Fix build 2023-08-29 08:20:13 +02:00
Sandro Mani
f6fcdf77e0 Update to 5.1.3 2023-08-29 07:39:34 +02:00
Fedora Release Engineering
61c2db738a Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 17:00:55 +00:00
Sandro Mani
3a42f912d5 Rebuild (mingw-icu) 2023-07-18 11:50:16 +02:00
František Zatloukal
747c164883 Rebuilt for ICU 73.2 2023-07-11 22:18:24 +02:00
Fedora Release Engineering
c5e38ed940 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:54:24 +00:00
Sandro Mani
8e110a4231 Rebuild (mingw-icu) 2023-01-03 08:56:14 +01:00
Pete Walter
fe2df8005d Rebuild for ICU 72 2022-12-31 03:00:57 +00:00
Sandro Mani
b603e54bef Use SPDX license tag 2022-11-18 22:22:56 +01:00
Sandro Mani
09b69d43d6 Rebase patch 2022-10-01 15:13:50 +02:00
Sandro Mani
018830b54e Update to 5.1.2 2022-10-01 15:01:10 +02:00
Sandro Mani
a0b11dc2be Rebase patch 2022-09-13 10:56:07 +02:00
Sandro Mani
93d9531f71 Update to 5.1.1 2022-09-13 10:39:37 +02:00
Sandro Mani
11182f7cbc Update to 5.1.1 2022-09-13 10:39:16 +02:00
Sandro Mani
77df02fe0c Rebuild (mingw-icu) 2022-08-06 20:10:54 +02:00
Sandro Mani
f735b0f3b5 Add mingw subpackages 2022-08-04 23:38:21 +02:00
František Zatloukal
5f733d8e32 Rebuilt for ICU 71.1 2022-08-01 15:07:33 +02:00
Sandro Mani
d036b63c0c Update to 5.1.0 2022-08-01 08:52:12 +02:00
Fedora Release Engineering
ccefd367c5 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:57:07 +00:00
Fedora Release Engineering
f6efdc61c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:31:48 +00:00
vishalvvr
14e60b0f9d Resolves: rhbz#2022753 nuspell-5.0.1 is available 2021-11-16 09:59:14 +05:30
Fedora Release Engineering
f1018f0f01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:26:06 +00:00
3 changed files with 174 additions and 26 deletions

14
nuspell-dllver.patch Normal file
View 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

View File

@ -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

View File

@ -1 +1 @@
SHA512 (nuspell-5.0.0.tar.gz) = 92605c5f0d413b86711fea3b993d656552d5e72440303d3e71907a503d060ead032dfeb0dd8dbb790f35599b8cca8854bdd8650f0560793d9c62a11aebccc2e5
SHA512 (nuspell-5.1.4.tar.gz) = f4119b3fe5944be8f5bc35ccff8d7a93b0f4fa9f129bc97a7b96879a11b5b35bd714b41dd209267417e94c5fed45fd3a74b349f94424f4b90bde07d9694d1d7d