From 6a7e39f04329fa66e640a077bffc76809354d078 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Nov 30 2007 08:11:44 +0000 Subject: *** empty log message *** --- diff --git a/.cvsignore b/.cvsignore index e69de29..bf080ed 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +thes_sk_SK_v2.zip diff --git a/mythes-sk.spec b/mythes-sk.spec new file mode 100644 index 0000000..1f4b42a --- /dev/null +++ b/mythes-sk.spec @@ -0,0 +1,40 @@ +Name: mythes-sk +Summary: Slovak thesarus +%define upstreamid 20050503 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/thes_sk_SK_v2.zip +Group: Applications/Text +URL: http://rak.bb.euroweb.sk/~zdpo/thesaurus +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: python, perl +License: BSD +BuildArch: noarch + +%description +Slovak thesarus. + +%prep +%setup -q -c + +%build +tr -d '\r' < README_th_sk_SK_v2.txt > README_th_sk_SK_v2.txt.new +iconv -f ISO-8859-2 -t UTF-8 README_th_sk_SK_v2.txt.new > README_th_sk_SK_v2.txt + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes +cp -p th_sk_SK_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README_th_sk_SK_v2.txt +%dir %{_datadir}/mythes +%{_datadir}/mythes/* + +%changelog +* Wed Nov 28 2007 Caolan McNamara - 0.20050503-1 +- initial version diff --git a/sources b/sources index e69de29..d51545d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +26c67da6fd2fe486a2ad90e51f3c9446 thes_sk_SK_v2.zip