hunspell-fo/hunspell-fo.spec

82 lines
2.1 KiB
RPMSpec
Raw Normal View History

2008-03-27 15:20:41 +00:00
Name: hunspell-fo
Summary: Faroese hunspell dictionaries
2010-01-04 09:11:13 +00:00
Version: 0.2.39
2009-09-04 11:39:55 +00:00
Release: 1%{?dist}
2009-08-10 13:53:09 +00:00
Source: http://fo.speling.org/filer/myspell-fo-%{version}.tar.bz2
2008-03-27 15:20:41 +00:00
Group: Applications/Text
URL: http://fo.speling.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: GPLv2+
BuildArch: noarch
Requires: hunspell
%description
Faroese hunspell dictionaries.
%prep
%setup -q -n myspell-fo-%{version}
%build
for i in Copyright contributors README; do
2009-07-11 13:38:53 +00:00
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
2008-03-27 15:20:41 +00:00
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
2009-07-11 13:38:53 +00:00
touch -r $i $i.new
2008-03-27 15:20:41 +00:00
mv -f $i.new $i
2009-07-11 13:38:53 +00:00
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
2008-03-27 15:20:41 +00:00
done
2009-07-11 13:38:53 +00:00
2008-03-27 15:20:41 +00:00
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README Copyright contributors COPYING
%{_datadir}/myspell/*
%changelog
2010-01-04 09:11:13 +00:00
* Mon Jan 04 2010 Caolan McNamara <caolanm@redhat.com> - 0.2.39-1
- latest version
2009-11-05 15:40:24 +00:00
* Thu Nov 05 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.38-1
- latest version
2009-09-04 11:39:55 +00:00
* Fri Sep 04 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.37-1
- latest version
2009-08-10 13:53:09 +00:00
* Mon Aug 10 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.36-4
- .gz -> .bz2
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.36-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-11 13:38:53 +00:00
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.36-2
- tidy spec
2009-05-19 11:27:38 +00:00
* Tue May 19 2009 Caolan McNamara <caolanm@redhat.com> - 0.2.36-1
- latest version
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-23 16:36:35 +00:00
* Sun Nov 23 2008 Caolan McNamara <caolanm@redhat.com> - 0.2.35-1
- latest version
2008-09-08 16:36:46 +00:00
* Mon Sep 08 2008 Caolan McNamara <caolanm@redhat.com> - 0.2.34-1
- latest version
2008-07-07 11:14:55 +00:00
* Mon Jul 07 2008 Caolan McNamara <caolanm@redhat.com> - 0.2.33-1
- latest version
2008-03-27 15:20:41 +00:00
* Thu Mar 27 2008 Caolan McNamara <caolanm@redhat.com> - 0.2.32-1
- initial version