From 39df0d6f49bb8664a349d3ddf412ba480e8a2be7 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 7 Oct 2008 21:27:00 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hunspell-mk-iconv.patch | 7 +++++++ hunspell-mk.spec | 41 +++++++++++++++++++++++++++++++++++++++++ import.log | 1 + sources | 1 + 5 files changed, 51 insertions(+) create mode 100644 hunspell-mk-iconv.patch create mode 100644 hunspell-mk.spec create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index e69de29..36417e7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mk_MK.zip diff --git a/hunspell-mk-iconv.patch b/hunspell-mk-iconv.patch new file mode 100644 index 0000000..1c9445f --- /dev/null +++ b/hunspell-mk-iconv.patch @@ -0,0 +1,7 @@ +--- hunspell-mk.orig/mk_MK.aff 2008-10-03 17:21:09.000000000 +0100 ++++ hunspell-mk/mk_MK.aff 2008-10-03 17:22:00.000000000 +0100 +@@ -1,3 +1,3 @@ +-SET microsoft-cp1251 ++SET cp1251 + TRY àåíîèðâòñêëìïäçÿóáú÷ãöæõøôéùþüûýÀÅÍÎÈÐÂÒÑÊËÌÏÄÇßÓÁÚ×ÃÖÆÕØÔÉÙÞÜÛÝ + diff --git a/hunspell-mk.spec b/hunspell-mk.spec new file mode 100644 index 0000000..c07795d --- /dev/null +++ b/hunspell-mk.spec @@ -0,0 +1,41 @@ +Name: hunspell-mk +Summary: Macedonian hunspell dictionaries +%define upstreamid 20051126 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://mk.openoffice.org/files/documents/215/3053/mk_MK.zip +Group: Applications/Text +URL: http://mk.openoffice.org +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPL+ +BuildArch: noarch +Patch0: hunspell-mk-iconv.patch + +Requires: hunspell + +%description +Macedonian hunspell dictionaries. + +%prep +%setup -q -c -n hunspell-mk +#change encoding name to use the name that iconv knows this under +%patch0 -p1 -b .iconv.patch + +%build + +%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_mk_MK.txt +%{_datadir}/myspell/* + +%changelog +* Fri Oct 03 2008 Caolan McNamara - 0.20051126-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..936e78f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-mk-0_20051126-1_fc9:HEAD:hunspell-mk-0.20051126-1.fc9.src.rpm:1223414815 diff --git a/sources b/sources index e69de29..0abc316 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7b0cd5e64e96680f42fe486ea7b8f9ce mk_MK.zip