rpms/hyphen/devel hyphen.spec,1.1,1.2

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Fri Nov 23 17:33:29 UTC 2007


Author: caolanm

Update of /cvs/pkgs/rpms/hyphen/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21436

Modified Files:
	hyphen.spec 
Log Message:
initial version


Index: hyphen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hyphen/devel/hyphen.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hyphen.spec	23 Nov 2007 17:29:21 -0000	1.1
+++ hyphen.spec	23 Nov 2007 17:32:56 -0000	1.2
@@ -20,6 +20,14 @@
 %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 @@
 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 @@
 %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,-)




More information about the fedora-extras-commits mailing list