From 7fab90c2a1756e412d14dd30c743037eb74bc8d4 Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Sat, 6 Jan 2024 07:29:21 +0100 Subject: [PATCH] rebuilt [release 2.0.9l-2mamba;Sun Apr 10 2011] --- README.md | 2 ++ mythes-it.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 mythes-it.spec diff --git a/README.md b/README.md index e439da1..8bb7d02 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # mythes-it +Italian thesaurus. + diff --git a/mythes-it.spec b/mythes-it.spec new file mode 100644 index 0000000..4b4b72f --- /dev/null +++ b/mythes-it.spec @@ -0,0 +1,62 @@ +Name: mythes-it +Version: 2.0.9l +Release: 2mamba +Summary: Italian thesaurus +Group: System/Internationalization +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://linguistico.sourceforge.net/pages/thesaurus_italiano.html +Source: http://downloads.sourceforge.net/project/linguistico/Thesaurus%20OOo%202.x.x/02_09_l_2008_11_29/thesaurus2_it_02_09_l_2008_11_29.zip +License: AGPL +Requires: libmythes +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Italian thesaurus. + +%prep +%setup -q -c %{name}-%{version} + + +%build + +for i in th_it_IT_README th_it_IT_ChangeLog th_it_IT_AUTHORS; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-1 -t UTF-8 $i > $i.new + touch -r $i $i.new + mv -f $i.new $i + fi + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +mkdir -p %{buildroot}%{_datadir}/mythes +cp -p th_it_IT.dat %{buildroot}%{_datadir}/mythes/th_it_IT_v2.dat +cp -p th_it_IT.idx %{buildroot}%{_datadir}/mythes/th_it_IT_v2.idx + +( + cd %{buildroot}%{_datadir}/mythes/ + ln -s th_it_IT_v2.dat th_it_CH_v2.dat + ln -s th_it_IT_v2.idx th_it_CH_v2.idx +) + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_datadir}/mythes/* +%doc *AUTHORS *COPYING *ChangeLog *copyright_licenza.txt +%doc *INSTALL *lettera_in_inglese.txt *README + +%changelog +* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto 2.0.9l-2mamba +- rebuilt + +* Sat Jan 22 2011 gil 2.0.9l-1mamba +- package created by autospec