110 lines
2.9 KiB
RPMSpec
110 lines
2.9 KiB
RPMSpec
Name: hfst-ospell
|
|
Version: 0.5.3
|
|
Release: 1mamba
|
|
Summary: HFST spell checker library and command line tool
|
|
Group: Applications/Spelling Checker
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/hfst/hfst-ospell
|
|
Source: https://github.com/hfst/hfst-ospell.git/v%{version}/hfst-ospell-%{version}.tar.bz2
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libacl-devel
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: libattr-devel
|
|
BuildRequires: libb2-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libglibmm24-devel
|
|
BuildRequires: libgomp-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: liblz4-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: liblzo-devel
|
|
BuildRequires: libnettle-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libsigc++2-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libxml++2-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: libzstd-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: libhfstospell = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
HFST spell checker library and command line tool.
|
|
|
|
%package -n libhfstospell
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n libhfstospell
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n libhfstospell-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: libhfstospell = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description -n libhfstospell-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n libhfstospell -p /sbin/ldconfig
|
|
%postun -n libhfstospell -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/hfst-ospell
|
|
%{_bindir}/hfst-ospell-office
|
|
%{_mandir}/man1/hfst-ospell-office.1*
|
|
%{_mandir}/man1/hfst-ospell.1*
|
|
|
|
%files -n libhfstospell
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libhfstospell.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n libhfstospell-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*.h
|
|
%{_libdir}/libhfstospell.a
|
|
%{_libdir}/libhfstospell.la
|
|
%{_libdir}/libhfstospell.so
|
|
%{_libdir}/pkgconfig/hfstospell.pc
|
|
%doc ChangeLog ChangeLog.old NEWS README
|
|
|
|
%changelog
|
|
* Tue Mar 15 2022 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Dec 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-1mamba
|
|
- update to 0.5.2
|
|
|
|
* Thu Apr 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
- package created using the webbuild interface
|