3 %bcond_without static_libs # don't build static library
5 Summary: Complex Graphical Design/Layout Engine
6 Summary(pl): Z³o¿ony silnik graficznego projektowania/planowania
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 8e7541cdbe29cc130d2801555aa98b76
14 URL: http://enlightenment.org/Libraries/Edje/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: ecore-devel
18 BuildRequires: embryo-devel
19 BuildRequires: imlib2-devel >= 1.2.1
20 BuildRequires: libtool
21 Requires: %{name}-libs = %{version}-%{release}
23 Requires: fonts-TTF-bitstream-vera
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Edje is a complex graphical design and layout engine. It provides a
30 mechanism for allowing configuration data to define visual elements in
31 terms of layout, behavior, and appearance. Edje allows for multiple
32 collections of layouts in one file, allowing a complete set of images,
33 animations, and controls to exist as a unified whole.
35 Edje separates the arrangement, appearance, and behavior logic into
36 distinct independent entities. This allows visual objects to share
37 image data and configuration information without requiring them to do
38 so. This separation and simplistic event driven style of programming
39 can produce almost any look and feel one could want for basic visual
40 elements. Anything more complex is likely the domain of an application
41 or widget set that may use Edje as a convenient way of being able to
42 configure parts of the display.
45 Edje to z³o¿ony silnik graficznego projektowania i planowania.
46 Dostarcza mechanizm pozwalaj±cy na definiowanie elementów graficznych
47 za pomoc± danych konfiguracyjnych poprzez rozmieszczenie, zachowanie i
48 wygl±d. Edje pozwala na wiele kolekcji projektów w jednym pliku,
49 zezwalaj±c na istnienie pe³nego zbioru obrazów, animacji i kontrolek
52 Edje oddziela rozmieszczenie, wygl±d i logikê zachowania na ró¿ne,
53 niezale¿ne elementy. Pozwala to na wspó³dzielenie danych obrazów i
54 informacji o konfiguracji elementów graficznych bez wymagania tego.
55 Rozdzielenie to i uproszczony model programowania sterowanego
56 zdarzeniami mo¿e stworzyæ prawie dowolny wygl±d i zachowanie
57 podstawowych elementów graficznych. Wszystko bardziej z³o¿one jest
58 raczej domen± aplikacji lub zbioru widgetów, które mog± u¿ywaæ Edje
59 jako wygodnego sposobu konfigurowania czê¶ci ekranu.
63 Summary(pl): Biblioteka edje
69 %description libs -l pl
73 Summary: Edje header files
74 Summary(pl): Pliki nag³ówkowe Edje
75 Group: Development/Libraries
76 Requires: %{name}-libs = %{version}-%{release}
78 Requires: embryo-devel
79 Requires: imlib2-devel >= 1.2.1
82 Header files for Edje.
84 %description devel -l pl
85 Pliki nag³ówkowe Edje.
88 Summary: Static Edje library
89 Summary(pl): Statyczna biblioteka Edje
90 Group: Development/Libraries
91 Requires: %{name}-devel = %{version}-%{release}
96 %description static -l pl
97 Statyczna biblioteka Edje.
104 %{!?with_static_libs:--disable-static} \
109 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT
114 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/test/fonts
116 for FONT in $VERA; do
118 ln -s %{_fontsdir}/TTF/$FONT .
122 rm -rf $RPM_BUILD_ROOT
124 %post libs -p /sbin/ldconfig
125 %postun libs -p /sbin/ldconfig
128 %defattr(644,root,root,755)
129 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
130 %attr(755,root,root) %{_bindir}/edje
131 %attr(755,root,root) %{_bindir}/edje_*
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/libedje.so.*.*.*
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/edje-config
141 %attr(755,root,root) %{_libdir}/libedje.so
142 %{_libdir}/libedje.la
144 %{_pkgconfigdir}/edje.pc
146 %if %{with static_libs}
148 %defattr(644,root,root,755)