Blame SPECS/enchant2.spec

7b77f5
Name:          enchant2
7b77f5
Version:       2.2.3
807697
Release:       3%{?snap}%{?dist}
7b77f5
Summary:       An Enchanting Spell Checking Library
7b77f5
7b77f5
License:       LGPLv2+
7b77f5
URL:           https://github.com/AbiWord/enchant
7b77f5
Source0:       https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
7b77f5
7b77f5
BuildRequires: glib2-devel
7b77f5
BuildRequires: aspell-devel
7b77f5
BuildRequires: hunspell-devel
7b77f5
BuildRequires: libvoikko-devel
7b77f5
7b77f5
Provides:      bundled(gnulib)
7b77f5
7b77f5
7b77f5
%description
7b77f5
A library that wraps other spell checking backends.
7b77f5
7b77f5
7b77f5
%package aspell
7b77f5
Summary:       Integration with aspell for libenchant
7b77f5
Requires:      enchant2%{?_isa} = %{version}-%{release}
7b77f5
7b77f5
%description aspell
7b77f5
Libraries necessary to integrate applications using libenchant with aspell.
7b77f5
7b77f5
%package voikko
7b77f5
Summary:       Integration with voikko for libenchant
7b77f5
Requires:      enchant2%{?_isa} = %{version}-%{release}
7b77f5
7b77f5
%description voikko
7b77f5
Libraries necessary to integrate applications using libenchant with voikko.
7b77f5
7b77f5
7b77f5
%package devel
7b77f5
Summary:       Development files for %{name}
7b77f5
Requires:      enchant2%{?_isa} = %{version}-%{release}
7b77f5
Requires:      glib2-devel
7b77f5
7b77f5
%description devel
7b77f5
The %{name}-devel package contains libraries and header files for
7b77f5
developing applications that use %{name}.
7b77f5
7b77f5
7b77f5
%prep
7b77f5
%autosetup -p1 -n enchant-%{version}
7b77f5
7b77f5
7b77f5
%build
7b77f5
%configure \
7b77f5
    --with-aspell \
7b77f5
    --with-hunspell-dir=%{_datadir}/myspell \
7b77f5
    --disable-static
7b77f5
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
7b77f5
        s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
7b77f5
%make_build pkgdatadir=%{_datadir}/enchant-2
7b77f5
7b77f5
7b77f5
%install
7b77f5
%make_install pkgdatadir=%{_datadir}/enchant-2
7b77f5
find %{buildroot} -name '*.la' -delete
7b77f5
7b77f5
7b77f5
%post -p /sbin/ldconfig
7b77f5
7b77f5
%postun -p /sbin/ldconfig
7b77f5
7b77f5
7b77f5
%files
7b77f5
%doc AUTHORS NEWS README
7b77f5
%license COPYING.LIB
7b77f5
%{_bindir}/enchant-2
7b77f5
%{_bindir}/enchant-lsmod-2
7b77f5
%{_libdir}/libenchant-2.so.*
7b77f5
%dir %{_libdir}/enchant-2
7b77f5
%{_libdir}/enchant-2/enchant_hunspell.so
7b77f5
%{_mandir}/man1/*
7b77f5
%{_datadir}/enchant-2
7b77f5
7b77f5
%files aspell
7b77f5
%{_libdir}/enchant-2/enchant_aspell.so*
7b77f5
7b77f5
%files voikko
7b77f5
%{_libdir}/enchant-2/enchant_voikko.so*
7b77f5
7b77f5
%files devel
7b77f5
%{_libdir}/libenchant-2.so
7b77f5
%{_libdir}/pkgconfig/enchant-2.pc
7b77f5
%{_includedir}/enchant-2
7b77f5
7b77f5
7b77f5
%changelog
807697
* Tue Oct 13 2020 Tomas Popela <tpopela@redhat.com> - 2.2.3-3
807697
- Rebuild for the annobin fixes
807697
- Resolves: rhbz#1703990
807697
7b77f5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.3-2
7b77f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7b77f5
7b77f5
* Mon Feb 05 2018 Sandro Mani <manisandro@gmail.com> - 2.2.3-1
7b77f5
- Update to 2.2.3
7b77f5
7b77f5
* Wed Jan 03 2018 Sandro Mani <manisandro@gmail.com> - 2.2.1-1
7b77f5
- Update to 2.2.1
7b77f5
7b77f5
* Thu Dec 14 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-2
7b77f5
- Add patch to fix FSF addresses
7b77f5
- Kill rpath
7b77f5
7b77f5
* Wed Dec 13 2017 Sandro Mani <manisandro@gmail.com> - 2.2.0-1
7b77f5
- Initial package