*** empty log message ***
This commit is contained in:
parent
898d8e960e
commit
0ffe355ad7
@ -0,0 +1 @@
|
||||
hyph_sv_SE.zip
|
47
hyphen-sv.spec
Normal file
47
hyphen-sv.spec
Normal file
@ -0,0 +1,47 @@
|
||||
Name: hyphen-sv
|
||||
Summary: Swedish hyphenation rules
|
||||
%define upstreamid 20030814
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 1%{?dist}
|
||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_sv_SE.zip
|
||||
Group: Applications/Text
|
||||
URL: http://sv.speling.org/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPLv2+
|
||||
BuildArch: noarch
|
||||
Requires: hyphen
|
||||
|
||||
%description
|
||||
Swedish hyphenation rules.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n hyphen-sv
|
||||
chmod -x *
|
||||
|
||||
%build
|
||||
iconv -f ISO-8859-1 -t UTF-8 README_hyph_sv_SE.txt > README_hyph_sv_SE.txt.new
|
||||
mv README_hyph_sv_SE.txt.new README_hyph_sv_SE.txt
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
cp -p hyph_sv_SE.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||
sv_SE_aliases="sv_FI"
|
||||
for lang in $sv_SE_aliases; do
|
||||
ln -s hyph_sv_SE.dic hyph_$lang.dic
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_hyph_sv_SE.txt
|
||||
%{_datadir}/hyphen/*
|
||||
|
||||
%changelog
|
||||
* Fri Nov 23 2007 Caolan McNamara <caolanm@redhat.com> - 0.20030814-1
|
||||
- initial version
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
hyphen-sv-0_20030814-1_fc9:HEAD:hyphen-sv-0.20030814-1.fc9.src.rpm:1219518032
|
Loading…
Reference in New Issue
Block a user