|
|
02c480 |
Name: hunspell-csb
|
|
|
02c480 |
Summary: Kashubian hunspell dictionaries
|
|
|
02c480 |
%define upstreamid 20050311
|
|
|
02c480 |
Version: 0.%{upstreamid}
|
|
|
02c480 |
Release: 10%{?dist}
|
|
|
02c480 |
Group: Applications/Text
|
|
|
02c480 |
Source: http://ftp.gnu.org/gnu/aspell/dict/csb/aspell6-csb-0.02-0.tar.bz2
|
|
|
02c480 |
URL: http://borel.slu.edu/crubadan/apps.html
|
|
|
02c480 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
02c480 |
License: GPLv2+
|
|
|
02c480 |
BuildArch: noarch
|
|
|
02c480 |
BuildRequires: aspell, hunspell-devel
|
|
|
02c480 |
|
|
|
02c480 |
Requires: hunspell
|
|
|
02c480 |
|
|
|
02c480 |
%description
|
|
|
02c480 |
Kashubian hunspell dictionaries.
|
|
|
02c480 |
|
|
|
02c480 |
%prep
|
|
|
02c480 |
%setup -q -n aspell6-csb-0.02-0
|
|
|
02c480 |
|
|
|
02c480 |
%build
|
|
|
02c480 |
export LANG=csb_PL.utf8
|
|
|
02c480 |
preunzip csb.cwl
|
|
|
02c480 |
wordlist2hunspell csb.wl csb_PL
|
|
|
02c480 |
for i in Copyright doc/Crawler.txt; do
|
|
|
02c480 |
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
|
|
|
02c480 |
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
|
|
|
02c480 |
touch -r $i $i.new
|
|
|
02c480 |
mv -f $i.new $i
|
|
|
02c480 |
fi
|
|
|
02c480 |
tr -d '\r' < $i > $i.new
|
|
|
02c480 |
touch -r $i $i.new
|
|
|
02c480 |
mv -f $i.new $i
|
|
|
02c480 |
done
|
|
|
02c480 |
|
|
|
02c480 |
%install
|
|
|
02c480 |
rm -rf $RPM_BUILD_ROOT
|
|
|
02c480 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
02c480 |
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
02c480 |
|
|
|
02c480 |
%clean
|
|
|
02c480 |
rm -rf $RPM_BUILD_ROOT
|
|
|
02c480 |
|
|
|
02c480 |
%files
|
|
|
02c480 |
%defattr(-,root,root,-)
|
|
|
02c480 |
%doc COPYING Copyright README doc/Crawler.txt
|
|
|
02c480 |
%{_datadir}/myspell/*
|
|
|
02c480 |
|
|
|
02c480 |
%changelog
|
|
|
02c480 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20050311-10
|
|
|
02c480 |
- Mass rebuild 2013-12-27
|
|
|
02c480 |
|
|
|
02c480 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-9
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Fri Nov 02 2012 Caolan McNamara <caolanm@redhat.com> - 0.20050311-8
|
|
|
02c480 |
- clarify license
|
|
|
02c480 |
|
|
|
02c480 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-7
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-6
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-5
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-4
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050311-3
|
|
|
02c480 |
- tidy spec
|
|
|
02c480 |
|
|
|
02c480 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050311-2
|
|
|
02c480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
02c480 |
|
|
|
02c480 |
* Sat Oct 18 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050311-1
|
|
|
02c480 |
- initial version
|