]> git.pld-linux.org Git - SPECS.git/blob - liblinebreak.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / liblinebreak.spec
1 Summary:        Unicode line breaking library
2 Summary(pl.UTF-8):      Biblioteka łamania wierszy zgodnie z Unikodem
3 Name:           liblinebreak
4 Version:        2.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/vimgadgets/%{name}-%{version}.tar.gz
9 # Source0-md5:  9fe73b4b230434765be2305e50f8fe45
10 URL:            http://vimgadgets.sourceforge.net/liblinebreak/
11 BuildRequires:  doxygen
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Liblinebreak is an implementation of the line breaking algorithm as
16 described in Unicode 6.0.0 Standard Annex 14, Revision 26. It breaks
17 lines that contain Unicode characters. It is designed to be used in a
18 generic text renderer. FBReader is one real-world example, and you may
19 also check some simple sample code, like showbreak and breaktext.
20
21 %description -l pl.UTF-8
22 Liblinebreak to implementacja algorytmu łamania wierszy opisanego w
23 standardzie Unicode 6.0.0, Annex 14, Revision 26. Obsługuje łamanie
24 wierszy zawierających znaki unikodowe. Jest zaprojektowana do używania
25 w ogólnym kodzie renderującym tekst. Rzeczywistym przykładem jest
26 FBReader, prostsze programy przykładowe to showbreak i breaktext.
27
28 %package devel
29 Summary:        Header files for liblinebreak library
30 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki liblinebreak
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for liblinebreak library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki liblinebreak.
39
40 %package static
41 Summary:        Static liblinebreak library
42 Summary(pl.UTF-8):      Statyczna biblioteka liblinebreak
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static liblinebreak library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka liblinebreak.
51
52 %package apidocs
53 Summary:        liblinebreak API documentation
54 Summary(pl.UTF-8):      Dokumentacja API biblioteki liblinebreak
55 Group:          Documentation
56
57 %description apidocs
58 API and internal documentation for liblinebreak library.
59
60 %description apidocs -l pl.UTF-8
61 Dokumentacja API biblioteki liblinebreak.
62
63 %prep
64 %setup -q
65
66 %build
67 %configure
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog LICENCE NEWS README
85 %attr(755,root,root) %{_libdir}/liblinebreak.so.*.*.*
86 %attr(755,root,root) %ghost %{_libdir}/liblinebreak.so.2
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/liblinebreak.so
91 %{_libdir}/liblinebreak.la
92 %{_includedir}/linebreak*.h
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/liblinebreak.a
97
98 %files apidocs
99 %defattr(644,root,root,755)
100 %doc doc/html/*
This page took 0.4854 seconds and 3 git commands to generate.