From e8820edbe280ccca4d6b1d218f2d4e132051c8c8 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 16 Jun 2009 08:26:46 +0000 Subject: [PATCH] latest version --- .cvsignore | 2 +- hyphen-ca.spec | 26 +++++++++++++++++--------- sources | 2 +- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.cvsignore b/.cvsignore index 67340ea..561d11f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hyph_ca_ES.zip +hyph-ca.oxt diff --git a/hyphen-ca.spec b/hyphen-ca.spec index b980f51..baaf6d1 100644 --- a/hyphen-ca.spec +++ b/hyphen-ca.spec @@ -1,13 +1,13 @@ Name: hyphen-ca Summary: Catalan hyphenation rules -%define upstreamid 20030920 -Version: 0.%{upstreamid} -Release: 2%{?dist} -Source: http://www.arrakis.es/~jmones/hyph_ca_ES.zip +Epoch: 1 +Version: 0.9.2 +Release: 1%{?dist} +Source: http://extensions.services.openoffice.org/files/2010/5/hyph-ca.oxt Group: Applications/Text -URL: http://www.arrakis.es/~jmones/ +URL: http://extensions.services.openoffice.org/project/ca_hyph BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -License: LPPL +License: GPLv3 BuildArch: noarch Requires: hyphen @@ -19,12 +19,17 @@ Catalan hyphenation rules. %setup -q -c %build -chmod -x * +for file in release-note_en.txt release-note_ca.txt; +do + tr -d '\r' < $file > $file.new + touch -r $file $file.new + mv -f $file.new $file +done %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen -cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen +cp -p hyph_ca_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_ca_ES.dic pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ ca_ES_aliases="ca_AD ca_FR ca_IT" for lang in $ca_ES_aliases; do @@ -37,10 +42,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README_hyph_ca_ES.txt +%doc release-note_en.txt release-note_ca.txt LICENSES-en.txt LLICENCIES-ca.txt %{_datadir}/hyphen/* %changelog +* Tue Jun 16 2009 Caolán McNamara - 1:0.9.2-1 +- latest version + * Tue Feb 24 2009 Fedora Release Engineering - 0.20030920-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 864cfe8..090f4b5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -16ba21e982d981c8c74e54c5a9254fa3 hyph_ca_ES.zip +2170340419e070946b0f67ac2da4c9bf hyph-ca.oxt