hfst-ospell/hfst-ospell.spec

98 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: hfst-ospell
Version: 0.5.4
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: libarchive-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libglibmm24-devel
BuildRequires: libicu-devel
BuildRequires: libpcre-devel
BuildRequires: libsigc++2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml++2-devel
BuildRequires: libxml2-devel
BuildRequires: libz-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*
%{_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.so
%{_libdir}/pkgconfig/hfstospell.pc
%doc ChangeLog ChangeLog.old NEWS README
%changelog
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 0.5.4-1mamba
- automatic version update by autodist
* 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