Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 39cdf3d554750548177b8e3bef3a7f7c > files > 2

hyphen-ca-0.9.3-4.mga3.src.rpm

Name: hyphen-ca
Summary: Catalan hyphenation rules
Epoch: 1
Version: 0.9.3
Release: %mkrel 4
Source: http://extensions.services.openoffice.org/e-files/2010/7/hyph-ca.oxt
Group: Text tools
URL: http://extensions.services.openoffice.org/project/ca_hyph
License: GPLv3
BuildArch: noarch
Requires: hyphen
Requires: locales-ca

%description
Catalan hyphenation rules.

%prep
%setup -q -c

%build
for i in release-note_en.txt release-note_ca.txt; do
  tr -d '\r' < $i > $i.new
  touch -r $i $i.new
  mv -f $i.new $i
done

chmod -x description.xml dictionaries.xcu hyph_ca_ANY.dic

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $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
        ln -s hyph_ca_ES.dic hyph_$lang.dic
done
popd

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc release-note_en.txt release-note_ca.txt LICENSES-en.txt LLICENCIES-ca.txt
%{_datadir}/hyphen/*


%changelog

* Fri Mar 29 2013 tv <tv> 1:0.9.3-4.mga3
+ Revision: 406150
- requires locales-hyphen-ca (mga#9540)

* Sat Jan 12 2013 umeabot <umeabot> 1:0.9.3-3.mga3
+ Revision: 353841
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Mar 12 2011 ahmad <ahmad> 1:0.9.3-2.mga1
+ Revision: 69971
- fix permissions

* Sat Mar 12 2011 ahmad <ahmad> 1:0.9.3-1.mga1
+ Revision: 69856
- fix license
- imported package hyphen-ca