]>
Commit | Line | Data |
---|---|---|
46804467 JB |
1 | Summary: Hyphenation library to use converted TeX hyphenation patterns |
2 | Summary(pl.UTF-8): Biblioteka przenoszenia słów używająca przekonwertowanych wzorców TeXa | |
3 | Name: hyphen | |
9148e183 | 4 | Version: 2.8.7 |
aff0b24e | 5 | Release: 2 |
46804467 JB |
6 | License: GPL v2+ or LGPL v2.1+ or MPL 1.1+ |
7 | Group: Libraries | |
454593f9 | 8 | Source0: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz |
9148e183 | 9 | # Source0-md5: ecaf645cb09bd7b6ad0497b8a91fbd22 |
aff0b24e | 10 | Patch0: %{name}-includes.patch |
46804467 JB |
11 | URL: http://lingucomponent.openoffice.org/ |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | Hyphen is a hyphenation library to use converted TeX hyphenation | |
16 | patterns. This was part of libHnj library by Raph Levien. | |
17 | ||
18 | %description -l pl.UTF-8 | |
19 | Hyphen to biblioteka przenoszenia słów używająca przekonwertowanych | |
20 | wzorców przenoszenia z TeXa. Była częścią biblioteki libHnj autorstwa | |
21 | Rapha Leviena. | |
22 | ||
23 | %package devel | |
24 | Summary: Header files for hyphen library | |
25 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki hyphen | |
26 | Group: Development/Libraries | |
27 | Requires: %{name} = %{version}-%{release} | |
28 | ||
29 | %description devel | |
30 | Header files for hyphen library. | |
31 | ||
32 | %description devel -l pl.UTF-8 | |
33 | Pliki nagłówkowe biblioteki hyphen. | |
34 | ||
35 | %package static | |
36 | Summary: Static hyphen library | |
37 | Summary(pl.UTF-8): Statyczna biblioteka hyphen | |
38 | Group: Development/Libraries | |
39 | Requires: %{name}-devel = %{version}-%{release} | |
40 | ||
41 | %description static | |
42 | Static hyphen library. | |
43 | ||
44 | %description static -l pl.UTF-8 | |
45 | Statyczna biblioteka hyphen. | |
46 | ||
47 | %prep | |
48 | %setup -q | |
aff0b24e | 49 | %patch0 -p1 |
46804467 JB |
50 | |
51 | %build | |
52 | %configure | |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post -p /sbin/ldconfig | |
65 | %postun -p /sbin/ldconfig | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc AUTHORS COPYING ChangeLog NEWS README* THANKS TODO doc/tb87nemeth.pdf | |
70 | %attr(755,root,root) %{_bindir}/substrings.pl | |
71 | %attr(755,root,root) %{_libdir}/libhyphen.so.*.*.* | |
72 | %attr(755,root,root) %ghost %{_libdir}/libhyphen.so.0 | |
73 | %dir %{_datadir}/hyphen | |
74 | %{_datadir}/hyphen/hyph_en_US.dic | |
75 | ||
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
78 | %attr(755,root,root) %{_libdir}/libhyphen.so | |
79 | %{_libdir}/libhyphen.la | |
80 | %{_includedir}/hyphen.h | |
81 | ||
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %{_libdir}/libhyphen.a |