update to 1.2.5 [release 1.2.5-1mamba;Fri Dec 30 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 05:07:59 +01:00
parent 4e062e963f
commit b09a2a709a

View File

@ -1,22 +1,22 @@
%define apiver %(echo %version | cut -d. -f 1-2) %define apiver %(echo %version | cut -d. -f 1-2)
Name: libmythes Name: libmythes
Version: 1.2.4 Version: 1.2.5
Release: 1mamba Release: 1mamba
Summary: A simple thesaurus library Summary: A simple thesaurus library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://hunspell.sourceforge.net/ URL: http://hunspell.github.io/
Source: http://downloads.sourceforge.net/project/hunspell/MyThes/%{version}/mythes-%{version}.tar.gz Source: https://github.com/hunspell/mythes.git/v%{version}/mythes-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/hunspell/MyThes/%{version}/mythes-%{version}.tar.gz
License: BSD License: BSD
BuildRequires: libhunspell-devel
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libhunspell-devel
%description %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. 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.
@ -28,12 +28,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %description devel
A thesaurus library. A thesaurus library.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %debug_package
%prep %prep
%setup -q -n mythes-%{version} %setup -q -n mythes-%{version}
./autogen.sh
%build %build
%configure \ %configure \
@ -48,9 +49,9 @@ This package contains static libraries and header files need for development.
rm -f %{buildroot}%{_libdir}/*.*a rm -f %{buildroot}%{_libdir}/*.*a
mkdir -p %{buildroot}%{_datadir}/mythes mkdir -p %{buildroot}%{_datadir}/mythes
%check #% check
./example th_en_US_new.idx th_en_US_new.dat checkme.lst #./example th_en_US_new.idx th_en_US_new.dat checkme.lst
./example morph.idx morph.dat morph.lst morph.aff morph.dic #./example morph.idx morph.dat morph.lst morph.aff morph.dic
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -71,9 +72,12 @@ mkdir -p %{buildroot}%{_datadir}/mythes
%{_libdir}/libmythes-%{apiver}.so %{_libdir}/libmythes-%{apiver}.so
%{_libdir}/pkgconfig/mythes.pc %{_libdir}/pkgconfig/mythes.pc
%doc data_layout.txt %doc data_layout.txt
%doc ChangeLog README %doc README
%changelog %changelog
* Fri Dec 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-1mamba
- update to 1.2.5
* Sat Jun 28 2014 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba * Sat Jun 28 2014 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic version update by autodist - automatic version update by autodist