hunspell-fj/hunspell-fj.spec

57 lines
1.4 KiB
RPMSpec
Raw Normal View History

2008-11-05 23:01:33 +00:00
Name: hunspell-fj
Summary: Fijian hunspell dictionaries
2010-04-07 12:04:52 +00:00
%define upstreamid 20090521
2008-11-05 23:01:33 +00:00
Version: 0.%{upstreamid}
2010-04-07 12:04:52 +00:00
Release: 1%{?dist}
2008-11-05 23:01:33 +00:00
Group: Applications/Text
2010-04-07 12:04:52 +00:00
Source: http://www.foss.usp.ac.fj/OOo_fj/OOo_fj_FJ.zip
URL: http://www.foss.usp.ac.fj/OOo_fj/
2008-11-05 23:01:33 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-04-07 12:04:52 +00:00
License: LGPLv2+ or GPLv2+ or MPLv1.1
2008-11-05 23:01:33 +00:00
BuildArch: noarch
BuildRequires: hunspell-devel
Requires: hunspell
%description
Fijian hunspell dictionaries.
%prep
2010-04-07 12:04:52 +00:00
%setup -q -n OOo_fj_FJ
2008-11-05 23:01:33 +00:00
%build
2009-07-11 16:09:21 +00:00
for i in README_fj_FJ.txt; do
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
2008-11-05 23:01:33 +00:00
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p fj_FJ.* $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_fj_FJ.txt
%{_datadir}/myspell/*
%changelog
2010-04-07 12:04:52 +00:00
* Wed Apr 07 2010 Caolan McNamara <caolanm@redhat.com> - 0.20090521-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050811-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-07-11 16:09:21 +00:00
* Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.20050811-3
- tidy spec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050811-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-05 23:01:33 +00:00
* Sat Nov 01 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050811-1
- initial version