]> git.pld-linux.org Git - packages/etox.git/blame - etox.spec
- tabs in preamble
[packages/etox.git] / etox.spec
CommitLineData
38829e37
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
23596bd4 5Summary: Enlightened Text Object Library
16c7a3f0 6Summary(pl.UTF-8): Oświecona biblioteka obiektów tekstowych (Enlightened Text Object Library)
23596bd4 7Name: etox
3dec7fe5
KK
8Version: 0.9.0.004
9Release: 1
23596bd4 10License: BSD
11Group: X11/Libraries
3dec7fe5
KK
12Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13# Source0-md5: ffb6de465dfc9a9b2802b414dd432932
bb86425e 14URL: http://enlightenment.org/Libraries/Etox/
23596bd4 15BuildRequires: autoconf
16BuildRequires: automake
0af1a877 17BuildRequires: ecore-devel
23596bd4 18BuildRequires: libtool
223d9788 19BuildRequires: pkgconfig
20Requires: %{name}-libs = %{version}-%{release}
23596bd4 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Etox is a type setting and text layout library based on Evas. Etox
25helps you when it comes to displaying, moving, resizing, layering,
26clipping, aligning and coloring fonts in different styles.
27
28Among other things, Etox provides a text layout engine that can
29dynamically arrange text flow around other graphical obstacles.
30
17a1267c
JR
31%description -l pl.UTF-8
32Etox to biblioteka składania i rozmieszczania tekstu oparta na Evas.
33Etox pomaga przy wyświetlaniu, przemieszczaniu, zmianie rozmiaru,
34nawarstwianiu, przycinaniu, wyrównywaniu i kolorowaniu fontów w
35różnych stylach.
5323ea01 36
17a1267c
JR
37Wśród innych rzeczy Etex dostarcza silnik do rozmieszczania tekstu
38będący w stanie dynamicznie układać tekst naokoło innych przeszkód
5323ea01
JB
39graficznych.
40
223d9788 41%package libs
42Summary: Etox library
16c7a3f0 43Summary(pl.UTF-8): Biblioteka Etox
223d9788 44Group: X11/Libraries
45
46%description libs
47Etox library.
48
17a1267c 49%description libs -l pl.UTF-8
223d9788 50Biblioteka Etox.
51
23596bd4 52%package devel
5323ea01 53Summary: Etox header file
16c7a3f0 54Summary(pl.UTF-8): Plik nagłówkowy Etox
23596bd4 55Group: Development/Libraries
223d9788 56Requires: %{name}-libs = %{version}-%{release}
23596bd4 57
58%description devel
5323ea01
JB
59Etox development header.
60
17a1267c
JR
61%description devel -l pl.UTF-8
62Plik nagłówkowy Etox.
23596bd4 63
64%package static
5323ea01 65Summary: Static Etox library
16c7a3f0 66Summary(pl.UTF-8): Statyczna biblioteka Etox
23596bd4 67Group: Development/Libraries
5323ea01 68Requires: %{name}-devel = %{version}-%{release}
23596bd4 69
70%description static
5323ea01
JB
71Static Etox library.
72
17a1267c 73%description static -l pl.UTF-8
5323ea01 74Statyczna 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
90rm -rf $RPM_BUILD_ROOT
5323ea01 91
23596bd4 92%{__make} install \
93 DESTDIR=$RPM_BUILD_ROOT
94
95%clean
96rm -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
This page took 0.068784 seconds and 4 git commands to generate.