]>
Commit | Line | Data |
---|---|---|
38829e37 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
23596bd4 | 5 | Summary: Enlightened Text Object Library |
16c7a3f0 | 6 | Summary(pl.UTF-8): Oświecona biblioteka obiektów tekstowych (Enlightened Text Object Library) |
23596bd4 | 7 | Name: etox |
3dec7fe5 KK |
8 | Version: 0.9.0.004 |
9 | Release: 1 | |
23596bd4 | 10 | License: BSD |
11 | Group: X11/Libraries | |
3dec7fe5 KK |
12 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
13 | # Source0-md5: ffb6de465dfc9a9b2802b414dd432932 | |
bb86425e | 14 | URL: http://enlightenment.org/Libraries/Etox/ |
23596bd4 | 15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
0af1a877 | 17 | BuildRequires: ecore-devel |
23596bd4 | 18 | BuildRequires: libtool |
223d9788 | 19 | BuildRequires: pkgconfig |
20 | Requires: %{name}-libs = %{version}-%{release} | |
23596bd4 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | Etox is a type setting and text layout library based on Evas. Etox | |
25 | helps you when it comes to displaying, moving, resizing, layering, | |
26 | clipping, aligning and coloring fonts in different styles. | |
27 | ||
28 | Among other things, Etox provides a text layout engine that can | |
29 | dynamically arrange text flow around other graphical obstacles. | |
30 | ||
17a1267c JR |
31 | %description -l pl.UTF-8 |
32 | Etox to biblioteka składania i rozmieszczania tekstu oparta na Evas. | |
33 | Etox pomaga przy wyświetlaniu, przemieszczaniu, zmianie rozmiaru, | |
34 | nawarstwianiu, przycinaniu, wyrównywaniu i kolorowaniu fontów w | |
35 | różnych stylach. | |
5323ea01 | 36 | |
17a1267c JR |
37 | Wśród innych rzeczy Etex dostarcza silnik do rozmieszczania tekstu |
38 | będący w stanie dynamicznie układać tekst naokoło innych przeszkód | |
5323ea01 JB |
39 | graficznych. |
40 | ||
223d9788 | 41 | %package libs |
42 | Summary: Etox library | |
16c7a3f0 | 43 | Summary(pl.UTF-8): Biblioteka Etox |
223d9788 | 44 | Group: X11/Libraries |
45 | ||
46 | %description libs | |
47 | Etox library. | |
48 | ||
17a1267c | 49 | %description libs -l pl.UTF-8 |
223d9788 | 50 | Biblioteka Etox. |
51 | ||
23596bd4 | 52 | %package devel |
5323ea01 | 53 | Summary: Etox header file |
16c7a3f0 | 54 | Summary(pl.UTF-8): Plik nagłówkowy Etox |
23596bd4 | 55 | Group: Development/Libraries |
223d9788 | 56 | Requires: %{name}-libs = %{version}-%{release} |
23596bd4 | 57 | |
58 | %description devel | |
5323ea01 JB |
59 | Etox development header. |
60 | ||
17a1267c JR |
61 | %description devel -l pl.UTF-8 |
62 | Plik nagłówkowy Etox. | |
23596bd4 | 63 | |
64 | %package static | |
5323ea01 | 65 | Summary: Static Etox library |
16c7a3f0 | 66 | Summary(pl.UTF-8): Statyczna biblioteka Etox |
23596bd4 | 67 | Group: Development/Libraries |
5323ea01 | 68 | Requires: %{name}-devel = %{version}-%{release} |
23596bd4 | 69 | |
70 | %description static | |
5323ea01 JB |
71 | Static Etox library. |
72 | ||
17a1267c | 73 | %description static -l pl.UTF-8 |
5323ea01 | 74 | Statyczna biblioteka Etox. |
23596bd4 | 75 | |
76 | %prep | |
3dec7fe5 | 77 | %setup -q |
23596bd4 | 78 | |
79 | %build | |
80 | %{__libtoolize} | |
81 | %{__aclocal} | |
82 | %{__autoconf} | |
83 | %{__autoheader} | |
84 | %{__automake} | |
38829e37 KK |
85 | %configure \ |
86 | %{!?with_static_libs:--disable-static} | |
23596bd4 | 87 | %{__make} |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
5323ea01 | 91 | |
23596bd4 | 92 | %{__make} install \ |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
0af1a877 | 103 | %doc AUTHORS COPYING README |
23596bd4 | 104 | %attr(755,root,root) %{_bindir}/etox_test |
105 | %attr(755,root,root) %{_bindir}/etox_selections | |
106 | %{_datadir}/%{name} | |
107 | ||
223d9788 | 108 | %files libs |
109 | %defattr(644,root,root,755) | |
110 | %attr(755,root,root) %{_libdir}/libetox.so.*.*.* | |
111 | ||
23596bd4 | 112 | %files devel |
113 | %defattr(644,root,root,755) | |
5323ea01 | 114 | %attr(755,root,root) %{_bindir}/etox-config |
23596bd4 | 115 | %attr(755,root,root) %{_libdir}/libetox.so |
116 | %{_libdir}/libetox.la | |
23596bd4 | 117 | %{_includedir}/Etox.h |
5323ea01 | 118 | %{_pkgconfigdir}/etox.pc |
23596bd4 | 119 | %{_aclocaldir}/etox.m4 |
120 | ||
38829e37 | 121 | %if %{with static_libs} |
23596bd4 | 122 | %files static |
123 | %defattr(644,root,root,755) | |
124 | %{_libdir}/libetox.a | |
38829e37 | 125 | %endif |