Group :: Ferramentas de texto
RPM: aspell-mr
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Text tools
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global debug_package %{nil}
%global lang mr
%global langrelease 0
Name: aspell-mr
Version: 0.10
Release: alt2_32
Summary: GNU Aspell Marathi Dictionary Package
License: GPL-2.0-only
URL: http://aspell.net/
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2
Patch1: marathi-specific-chars-426943.patch
# This package has been deprecated since Fedora 39 due to aspell package deprecation
# Change proposal is located here: https://fedoraproject.org/wiki/Changes/AspellDeprecation
Provides: deprecated()
BuildRequires: aspell libaspell
Requires: aspell libaspell
Source44: import.info
%description
GNU Aspell Marathi Dictionary Package
# Note that this package, like other aspell's language packs, does not come up
# cleanly through rpmlint, but with the following errors:
# E: aspell-mr no-binary
# E: aspell-mr only-non-binary-in-usr-lib
# This is because the package contains only data files which sit under /usr/lib.
# They have to stay there, as they are architecture-dependent (due to
# byte-ordering issues).
# E: aspell-mr configure-without-libdir-spec
# The configure script isn't actually one generated by autoconf and doesn't accept
# --libdir, so this error is bogus.
%prep
%setup -q -n aspell6-%{lang}-%{version}-%{langrelease}
%patch1 -p0
iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8
mv Copyright.utf8 Copyright
mv u-deva.cset u-deva-mr.cset
mv u-deva.cmap u-deva-mr.cmap
%build
./configure
%make_build
%install
make install DESTDIR=%{buildroot}
%files
%doc Copyright
%doc --no-dereference COPYING
%{_libdir}/aspell/*
%{_datadir}/aspell/*
%changelog
…
Todas as alterações você pod ver aqui
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%global debug_package %{nil}
%global lang mr
%global langrelease 0
Name: aspell-mr
Version: 0.10
Release: alt2_32
Summary: GNU Aspell Marathi Dictionary Package
License: GPL-2.0-only
URL: http://aspell.net/
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2
Patch1: marathi-specific-chars-426943.patch
# This package has been deprecated since Fedora 39 due to aspell package deprecation
# Change proposal is located here: https://fedoraproject.org/wiki/Changes/AspellDeprecation
Provides: deprecated()
BuildRequires: aspell libaspell
Requires: aspell libaspell
Source44: import.info
%description
GNU Aspell Marathi Dictionary Package
# Note that this package, like other aspell's language packs, does not come up
# cleanly through rpmlint, but with the following errors:
# E: aspell-mr no-binary
# E: aspell-mr only-non-binary-in-usr-lib
# This is because the package contains only data files which sit under /usr/lib.
# They have to stay there, as they are architecture-dependent (due to
# byte-ordering issues).
# E: aspell-mr configure-without-libdir-spec
# The configure script isn't actually one generated by autoconf and doesn't accept
# --libdir, so this error is bogus.
%prep
%setup -q -n aspell6-%{lang}-%{version}-%{langrelease}
%patch1 -p0
iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8
mv Copyright.utf8 Copyright
mv u-deva.cset u-deva-mr.cset
mv u-deva.cmap u-deva-mr.cmap
%build
./configure
%make_build
%install
make install DESTDIR=%{buildroot}
%files
%doc Copyright
%doc --no-dereference COPYING
%{_libdir}/aspell/*
%{_datadir}/aspell/*
%changelog
…
Todas as alterações você pod ver aqui