initial version
This commit is contained in:
parent
6f36959d58
commit
52e0919bad
22
hyphen.spec
22
hyphen.spec
@ -20,6 +20,14 @@ Group: Development/Libraries
|
||||
%description devel
|
||||
Includes and definitions for developing with hyphen
|
||||
|
||||
%package en
|
||||
Requires: hyphen
|
||||
Summary: English hyphenation rules
|
||||
Group: Applications/Text
|
||||
|
||||
%description en
|
||||
English hyphenation rules.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -32,6 +40,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
||||
en_US_aliases="en_AU en_BS en_BZ en_CA en_GH en_GB en_IE en_IN en_JM en_NA en_NZ en_PH en_TT en_ZA en_ZW"
|
||||
for lang in $en_US_aliases; do
|
||||
ln -s hyph_en_US.dic hyph_$lang.dic
|
||||
done
|
||||
popd
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
@ -43,7 +59,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO
|
||||
%{_libdir}/*.so.*
|
||||
%{_datadir}/hyphen/
|
||||
%dir %{_datadir}/hyphen
|
||||
|
||||
%files en
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/hyphen/hyph_en*.dic
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user