SPECS: openoffice.org-thesaurus-pl-alt.spec (NEW) - version which ...

qboosh qboosh at pld-linux.org
Thu Dec 28 04:11:05 CET 2006


Author: qboosh                       Date: Thu Dec 28 03:11:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- version which works with ooo 2 (based on openoffice-thesaurus-pl-alt)

---- Files affected:
SPECS:
   openoffice.org-thesaurus-pl-alt.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/openoffice.org-thesaurus-pl-alt.spec
diff -u /dev/null SPECS/openoffice.org-thesaurus-pl-alt.spec:1.1
--- /dev/null	Thu Dec 28 04:11:05 2006
+++ SPECS/openoffice.org-thesaurus-pl-alt.spec	Thu Dec 28 04:11:00 2006
@@ -0,0 +1,144 @@
+# $Revision$, $Date$
+Summary:	Free Polish thesaurus
+Summary(pl):	Wolnodostępny słownik wyrazów bliskoznacznych języka polskiego
+Name:		openoffice.org-thesaurus-pl-alt
+Version:	1.2
+Release:	1
+License:	GPL
+Group:		X11/Applications
+Source0:	http://dl.sourceforge.net/synonimy/OOo2-Thesaurus-%{version}.zip
+# Source0-md5:	b8e4aba5d995d40ae252417407196891
+URL:		http://synonimy.ux.pl/
+BuildRequires:	unzip
+Requires:	openoffice.org >= 1:2.0
+Obsoletes:	openoffice-thesaurus-pl-alt
+# same as openoffice
+ExclusiveArch:  %{ix86} ppc sparc sparcv9
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define oolib		%{_libdir}/openoffice.org
+%define dictlst		%{oolib}/share/dict/ooo/dictionary.lst
+
+%description
+Free Polish thesaurus. Currently it's work in progress, words are now
+at 10% error-rate, because of automatic means of creation. Everyone is
+invited to help with improving. Data was taken from a few free
+two-language dictionaries:
+- English-Polish dictionary (sap) by ethanak
+- Interlingua-Polish by Pawel Wimmer;
+- English-Polish on GPL licence;
+- Esperanto-Polish on LGPL license; 
+  As of 2006-03-15 it has 27327 words.
+
+%description -l pl
+Słownik synonimów to wolnodostępny słownik wyrazów bliskoznacznych
+języka polskiego. Obecnie jest w postaci roboczej, zawierającej około
+10% błędów spowodowanych automatyczną metodą jego utworzenia. Każdy
+chętny może wziąć udział w jego ulepszaniu. Dane pochodzą z kilku
+bezpłatnych słowników dwujęzycznych:
+- angielsko-polskiego (sap), wykonanego przez ethanaka;
+- interlingua-polskiego Pawła Wimmera;
+- angielsko-polskiego na licencji GPL;
+- esperancko-polskiego na licencji LGPL. 
+  Na dzień 2006-03-15 zawierał 27327 słów.
+
+%prep
+%setup -q -n OOo2-Thesaurus
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+echo "THES pl PL th_pl_PL_v2" > dictionary.lst.thes.pl
+
+install -d $RPM_BUILD_ROOT{%{oolib}/share/dict/ooo,%{_datadir}/synonimy}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/synonimy-%{version}
+
+install th_pl_PL_v2.* $RPM_BUILD_ROOT%{oolib}/share/dict/ooo
+install dictionary.lst.thes.pl $RPM_BUILD_ROOT%{oolib}/share/dict/ooo
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+cat %{dictlst}.* 2>/dev/null | LC_ALL=C sort -u > %{dictlst}
+
+%postun
+umask 022
+cat %{dictlst}.* 2>/dev/null | LC_ALL=C sort -u > %{dictlst}
+
+%files
+%defattr(644,root,root,755)
+%{oolib}/share/dict/ooo/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/28 03:11:00  qboosh
+- version which works with ooo 2 (based on openoffice-thesaurus-pl-alt)
+
+Revision 1.18  2006/09/17 18:44:32  rotom
+- up to 1.2
+
+Revision 1.17  2006/07/06 20:29:22  rotom
+- up to 1.1
+
+Revision 1.16  2006/05/19 13:12:01  qboosh
+- complete URL
+
+Revision 1.15  2006/05/14 10:01:47  piti
+- up to version 1.0
+
+Revision 1.14  2006/01/07 01:51:59  blekot
+- now ready for openoffice.org
+- rel 2
+
+Revision 1.13  2005/11/12 22:15:40  dzeus
+- up to 1.0b
+
+Revision 1.12  2005/09/20 13:25:57  djurban
+- update to 0.9b
+
+Revision 1.11  2005/06/01 02:10:31  ankry
+- EA, rel. 2
+
+Revision 1.10  2005/05/28 06:15:57  kolodko
+- up to 0.8b
+- rel 1 STBR Ac
+
+Revision 1.9  2005/04/08 13:08:16  kolodko
+- up to 0.7a
+- hash OO v2
+- rm subpackage Kworld, I think it's not proper place for it
+- rel 0.1
+
+Revision 1.8  2005/03/07 21:44:28  qboosh
+- not noarch - arch-dependent %%{_libdir} is used
+- missing dirs detected - release down to 0.1
+- typos, missing defattr, unified examplesdir
+
+Revision 1.7  2005/03/06 14:26:48  hunter
+- provide thesaurus for OO2,Kword
+
+Revision 1.6  2005/03/06 13:40:56  hunter
+-up to 0.6a
+-buildarch: noarch !
+-corrected summary (pl, en)
+
+Revision 1.5  2004/11/14 18:40:29  undefine
+- update to 0.5a
+
+Revision 1.4  2004/10/30 20:45:20  kolodko
+- up to 0.4a (dl.sourceforge.net not work, why?)
+
+Revision 1.3  2004/08/20 06:25:53  qboosh
+- Source0 URL unification, little more en
+
+Revision 1.2  2004/08/16 12:35:27  kolodko
+- cosmetics
+
+Revision 1.1  2004/08/16 12:30:30  kolodko
+- new
================================================================


More information about the pld-cvs-commit mailing list