latest version
This commit is contained in:
parent
66400a58d2
commit
e8820edbe2
@ -1 +1 @@
|
||||
hyph_ca_ES.zip
|
||||
hyph-ca.oxt
|
||||
|
||||
@ -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 <caolanm@redhat.com> - 1:0.9.2-1
|
||||
- latest version
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20030920-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user