diff --git a/hunspell-oc.spec b/hunspell-oc.spec new file mode 100644 index 0000000..6bd49de --- /dev/null +++ b/hunspell-oc.spec @@ -0,0 +1,41 @@ +Name: hunspell-oc +Summary: Occitan hunspell dictionaries +Version: 0.5 +Release: 1%{?dist} +Source: https://addons.mozilla.org/en-US/firefox/downloads/file/34604/occitan-languedocien-%{version}-fx+tb+sm.xpi +Group: Applications/Text +URL: https://addons.mozilla.org/en-US/firefox/addon/8235 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv3+ +BuildArch: noarch +BuildRequires: redland + +Requires: hunspell + +%description +Occitan hunspell dictionaries. + +%prep +%setup -q -c -n hunspell-oc + +%build +rdfproc hunspell-oc parse install.rdf +rdfproc hunspell-oc print | grep install-manifest | grep -v targetApplication | sed -e 's/.*#//' | sed -e 's/], "/: /'| sed -e 's/"}//' > CREDITS + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p dictionaries/oc-FR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.aff +cp -p dictionaries/oc-FR.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/oc_FR.dic + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc CREDITS +%{_datadir}/myspell/* + +%changelog +* Sat Sep 20 2008 Caolan McNamara - 0.5-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..f79777f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-oc-0_5-1_fc9:HEAD:hunspell-oc-0.5-1.fc9.src.rpm:1222257104 diff --git a/occitan-languedocien-0.5-fx+tb+sm.xpi b/occitan-languedocien-0.5-fx+tb+sm.xpi new file mode 100644 index 0000000..4f8e0b7 Binary files /dev/null and b/occitan-languedocien-0.5-fx+tb+sm.xpi differ