Blame SPECS/hunspell-ny.spec

da69e7
Name: hunspell-ny
da69e7
Summary: Chichewa hunspell dictionaries
da69e7
Epoch: 1
da69e7
Version: 0.01
da69e7
Release: 6%{?dist}
da69e7
Group: Applications/Text
da69e7
Source: http://extensions.services.openoffice.org/e-files/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt
da69e7
URL: http://extensions.services.openoffice.org/en/project/chicspell
da69e7
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
da69e7
License: GPLv3+
da69e7
BuildArch: noarch
da69e7
BuildRequires: hunspell-devel
da69e7
da69e7
Requires: hunspell
da69e7
da69e7
%description
da69e7
Chichewa hunspell dictionaries.
da69e7
da69e7
%prep
da69e7
%setup -q -c
da69e7
da69e7
%build
da69e7
for i in dictionaries/README_ny_MW.txt; do
da69e7
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
da69e7
    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
da69e7
    touch -r $i $i.new
da69e7
    mv -f $i.new $i
da69e7
  fi
da69e7
  tr -d '\r' < $i > $i.new
da69e7
  touch -r $i $i.new
da69e7
  mv -f $i.new $i
da69e7
done
da69e7
da69e7
%install
da69e7
rm -rf $RPM_BUILD_ROOT
da69e7
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
da69e7
cp -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell
da69e7
da69e7
%clean
da69e7
rm -rf $RPM_BUILD_ROOT
da69e7
da69e7
%files
da69e7
%defattr(-,root,root,-)
da69e7
%doc LICENSES-en.txt dictionaries/README_ny_MW.txt
da69e7
%{_datadir}/myspell/*
da69e7
da69e7
%changelog
da69e7
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.01-6
da69e7
- Mass rebuild 2013-12-27
da69e7
da69e7
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-5
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
da69e7
da69e7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-4
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
da69e7
da69e7
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-3
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
da69e7
da69e7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.01-2
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
da69e7
da69e7
* Wed Mar 26 2010 Caolán McNamara <caolanm@redhat.com> - 1:0.01-1
da69e7
- latest version
da69e7
da69e7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-4
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
da69e7
da69e7
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050108-3
da69e7
- tidy spec
da69e7
da69e7
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050108-2
da69e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
da69e7
da69e7
* Fri Nov 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050108-1
da69e7
- initial version