source: projects/specs/trunk/h/hyphen/hyphen-vl.spec @ 9791

Revision 9791, 2.2 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1Name:      hyphen
2Summary:   A text hyphenation library
3Version:   2.8.8
4Release:   1%{?_dist_release}
5Source:    http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
6Group:     System Environment/Libraries
7URL:       http://hunspell.sf.net
8BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
9License:   LGPLv2+ or MPLv1.1
10BuildRequires: perl, patch
11
12%description
13Hyphen is a library for high quality hyphenation and justification.
14
15%package devel
16Requires: hyphen = %{version}-%{release}
17Summary: Files for developing with hyphen
18Group: Development/Libraries
19
20%description devel
21Includes and definitions for developing with hyphen
22
23%package en
24Requires: hyphen
25Summary: English hyphenation rules
26Summary(ja): English hyphenation rules
27Group: Applications/Text
28
29%description en
30English hyphenation rules.
31
32%prep
33%setup -q
34
35%build
36%configure --disable-static
37make %{?_smp_mflags}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make DESTDIR=$RPM_BUILD_ROOT install
42rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
43
44pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
45en_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"
46for lang in $en_US_aliases; do
47        ln -s hyph_en_US.dic hyph_$lang.dic
48done
49popd
50
51
52%clean
53rm -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* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.8-1
77- update to 2.8.8
78
79* Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.3-1
80- update to 2.8.3
81
82* Fri Jul 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4-1
83- initial build for Vine Linux
84
85* Fri May 02 2008 Caolan McNamara <caolanm@redhat.com> - 2.4-1
86- latest version
87
88* Tue Feb 19 2008 Caolan McNamara <caolanm@redhat.com> - 2.3.1-1
89- latest version
90
91* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3-2
92- Autorebuild for GCC 4.3
93
94* Mon Nov 12 2007 Caolan McNamara <caolanm@redhat.com> - 2.3-1
95- initial version
Note: See TracBrowser for help on using the repository browser.