Group :: Sistema/Internacionalização
RPM: aspell-pa
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Packager: Igor Vlasenko <viy at altlinux.ru>
%define debug_package %{nil}
%define lang pa
%define langrelease 1
Name: aspell-pa
Version: 0.01
Release: alt1_3
Summary: GNU Aspell Punjabi Dictionary Package
Group: System/Internationalization
License: GPLv2+
URL: http://aspell.net/
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2
BuildRequires: aspell >= 0.60
Requires: aspell >= 0.60
%description
GNU Aspell Punjabi 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-pa no-binary
# E: aspell-pa 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-pa 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}
%build
./configure
make %{?_smp_mflags}
%install
make install datadir=%{_libdir}/aspell DESTDIR=%{buildroot}
%files
%doc COPYING Copyright
%{_libdir}/aspell/*
%changelog
…
Todas as alterações você pod ver aqui
%define debug_package %{nil}
%define lang pa
%define langrelease 1
Name: aspell-pa
Version: 0.01
Release: alt1_3
Summary: GNU Aspell Punjabi Dictionary Package
Group: System/Internationalization
License: GPLv2+
URL: http://aspell.net/
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2
BuildRequires: aspell >= 0.60
Requires: aspell >= 0.60
%description
GNU Aspell Punjabi 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-pa no-binary
# E: aspell-pa 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-pa 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}
%build
./configure
make %{?_smp_mflags}
%install
make install datadir=%{_libdir}/aspell DESTDIR=%{buildroot}
%files
%doc COPYING Copyright
%{_libdir}/aspell/*
%changelog
…
Todas as alterações você pod ver aqui