]>
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 | |
71c9c8e9 JB |
4 | Version: 2.8.8 |
5 | Release: 1 | |
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 |
71c9c8e9 JB |
9 | # Source0-md5: 5ade6ae2a99bc1e9e57031ca88d36dad |
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 | |
49 | ||
50 | %build | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post -p /sbin/ldconfig | |
64 | %postun -p /sbin/ldconfig | |
65 | ||
66 | %files | |
67 | %defattr(644,root,root,755) | |
68 | %doc AUTHORS COPYING ChangeLog NEWS README* THANKS TODO doc/tb87nemeth.pdf | |
69 | %attr(755,root,root) %{_bindir}/substrings.pl | |
70 | %attr(755,root,root) %{_libdir}/libhyphen.so.*.*.* | |
71 | %attr(755,root,root) %ghost %{_libdir}/libhyphen.so.0 | |
72 | %dir %{_datadir}/hyphen | |
73 | %{_datadir}/hyphen/hyph_en_US.dic | |
74 | ||
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
77 | %attr(755,root,root) %{_libdir}/libhyphen.so | |
78 | %{_libdir}/libhyphen.la | |
79 | %{_includedir}/hyphen.h | |
80 | ||
81 | %files static | |
82 | %defattr(644,root,root,755) | |
83 | %{_libdir}/libhyphen.a |