diff --git a/.gitignore b/.gitignore index e69de29..32970bd 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mythes-1.2.4.tar.gz diff --git a/mythes.spec b/mythes.spec new file mode 100644 index 0000000..83756bb --- /dev/null +++ b/mythes.spec @@ -0,0 +1,139 @@ +Name: mythes +Summary: A thesaurus library +Version: 1.2.4 +Release: 15%{?dist} +Source: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz +URL: http://hunspell.sourceforge.net/ +License: BSD and MIT +BuildRequires: hunspell-devel, gcc-c++ + +%description +MyThes is a simple thesaurus that uses a structured text data file and an +index file with binary search to look up words and phrases and return +information on part of speech, meanings, and synonyms. + +%package devel +Requires: mythes = %{version}-%{release}, pkgconfig +Summary: Files for developing with mythes + +%description devel +Includes and definitions for developing with mythes + +%prep +%setup -q + +%build +%configure --disable-rpath --disable-static +%make_build + +%check +./example th_en_US_new.idx th_en_US_new.dat checkme.lst +./example morph.idx morph.dat morph.lst morph.aff morph.dic + +%install +rm -rf $RPM_BUILD_ROOT +%make_install +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes + +%ldconfig_scriptlets + +%files +%doc README COPYING AUTHORS +%{_libdir}/*.so.* +%{_datadir}/mythes + +%files devel +%doc data_layout.txt +%{_includedir}/mythes.hxx +%{_libdir}/*.so +%{_libdir}/pkgconfig/mythes.pc +%{_bindir}/th_gen_idx.pl + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.2.4-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 14 2020 Tom Stellard - 1.2.4-14 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + +* Wed Jan 29 2020 Fedora Release Engineering - 1.2.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.2.4-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.2.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.2.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1.2.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.2.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.2.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.2.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 1.2.4-3 +- Rebuilt for GCC 5 C++11 ABI change + +* Sun Aug 17 2014 Fedora Release Engineering - 1.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Jun 27 2014 Caolán McNamara - 1.2.4-1 +- latest version + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.2.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Apr 04 2013 Caolán McNamara - 1.2.3-5 +- Resolves: rhbz#926191 support aarch64 + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 05 2012 Caolán McNamara - 1.2.3-3 +- tarball contains MIT-alike licensed wordnet-derived sample thesaurus data + +* Fri Jul 20 2012 Fedora Release Engineering - 1.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Caolán McNamara - 1.2.3-1 +- latest version + +* Fri Jan 13 2012 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Dec 21 2011 Caolán McNamara - 1.2.2-1 +- latest version +- drop integrated mythes-1.2.1-rhbz675806.patch + +* Tue Feb 08 2011 Fedora Release Engineering - 1.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Feb 08 2011 Caolán McNamara - 1.2.1-2 +- Resolves: rhbz#675806 fix crash if thesarus is busted + +* Mon Jun 21 2010 Caolán McNamara - 1.2.1-1 +- latest version + +* Thu Mar 11 2010 Caolán McNamara - 1.2.0-1 +- initial version diff --git a/sources b/sources new file mode 100644 index 0000000..d52c227 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +a8c2c5b8f09e7ede322d5c602ff6a4b6 mythes-1.2.4.tar.gz