1 | Name: hyphen |
---|
2 | Summary: A text hyphenation library |
---|
3 | Version: 2.4 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://hunspell.sf.net |
---|
8 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
9 | License: LGPLv2+ or MPLv1.1 |
---|
10 | BuildRequires: perl, patch |
---|
11 | |
---|
12 | %description |
---|
13 | Hyphen is a library for high quality hyphenation and justification. |
---|
14 | |
---|
15 | %package devel |
---|
16 | Requires: hyphen = %{version}-%{release} |
---|
17 | Summary: Files for developing with hyphen |
---|
18 | Group: Development/Libraries |
---|
19 | |
---|
20 | %description devel |
---|
21 | Includes and definitions for developing with hyphen |
---|
22 | |
---|
23 | %package en |
---|
24 | Requires: hyphen |
---|
25 | Summary: English hyphenation rules |
---|
26 | Summary(ja): English hyphenation rules |
---|
27 | Group: Applications/Text |
---|
28 | |
---|
29 | %description en |
---|
30 | English hyphenation rules. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | %build |
---|
36 | %configure --disable-static |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
42 | rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la |
---|
43 | |
---|
44 | pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ |
---|
45 | 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" |
---|
46 | for lang in $en_US_aliases; do |
---|
47 | ln -s hyph_en_US.dic hyph_$lang.dic |
---|
48 | done |
---|
49 | popd |
---|
50 | |
---|
51 | |
---|
52 | %clean |
---|
53 | rm -rf $RPM_BUILD_ROOT |
---|
54 | |
---|
55 | %post -p /sbin/ldconfig |
---|
56 | |
---|
57 | %postun -p /sbin/ldconfig |
---|
58 | |
---|
59 | %files |
---|
60 | %defattr(-,root,root,-) |
---|
61 | %doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO |
---|
62 | %{_libdir}/*.so.* |
---|
63 | %dir %{_datadir}/hyphen |
---|
64 | |
---|
65 | %files en |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %{_datadir}/hyphen/hyph_en*.dic |
---|
68 | |
---|
69 | %files devel |
---|
70 | %defattr(-,root,root,-) |
---|
71 | %{_includedir}/hyphen.h |
---|
72 | %{_libdir}/*.so |
---|
73 | %{_bindir}/substrings.pl |
---|
74 | |
---|
75 | %changelog |
---|
76 | * Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1 |
---|
77 | - initial build for Vine Linux |
---|
78 | |
---|
79 | * Fri May 02 2008 Caolan McNamara <caolanm@redhat.com> - 2.4-1 |
---|
80 | - latest version |
---|
81 | |
---|
82 | * Tue Feb 19 2008 Caolan McNamara <caolanm@redhat.com> - 2.3.1-1 |
---|
83 | - latest version |
---|
84 | |
---|
85 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-2 |
---|
86 | - Autorebuild for GCC 4.3 |
---|
87 | |
---|
88 | * Mon Nov 12 2007 Caolan McNamara <caolanm@redhat.com> - 2.3-1 |
---|
89 | - initial version |
---|