102 lines
2.8 KiB
RPMSpec
102 lines
2.8 KiB
RPMSpec
Name: hfst-ospell
|
|
Version: 0.5.1
|
|
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
|
|
## GITSOURCE https://github.com/hfst/hfst-ospell.git v0.5.1
|
|
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: libbzip2-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libglibmm-devel
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libnettle-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libsigc++-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}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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}
|
|
## note: you can add this requirement if .pc files are provided by this package
|
|
#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
|
|
|
|
%build
|
|
./autogen.sh
|
|
%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
|
|
* Thu Apr 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
- package created using the webbuild interface
|