3 %bcond_without static_libs # don't build static library
5 %define ecore_ver 1.0.0
7 %define embryo_ver 1.0.0
9 Summary: Complex Graphical Design/Layout Engine
10 Summary(pl.UTF-8): Złożony silnik graficznego projektowania/planowania
16 Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
17 # Source0-md5: ce0fdc6c02bc6d6d99b798c27d1d9466
18 URL: http://trac.enlightenment.org/e/wiki/Edje
19 BuildRequires: autoconf >= 2.52
20 BuildRequires: automake >= 1.6
21 BuildRequires: ecore-devel >= %{ecore_ver}
22 BuildRequires: ecore-evas-devel >= %{ecore_ver}
23 BuildRequires: ecore-file-devel >= %{ecore_ver}
24 BuildRequires: ecore-imf-devel >= %{ecore_ver}
25 BuildRequires: ecore-imf-evas-devel >= %{ecore_ver}
26 BuildRequires: eet-devel >= %{eet_ver}
27 BuildRequires: embryo-devel >= %{embryo_ver}
28 BuildRequires: evas-devel >= %{evas_ver}
29 BuildRequires: libtool
30 BuildRequires: lua51 >= 5.1.0
31 BuildRequires: pkgconfig >= 1:0.22
32 BuildRequires: python >= 1:2.5
33 Requires: %{name}-libs = %{version}-%{release}
35 Requires: evas-engine-buffer >= %{evas_ver}
36 Requires: evas-loader-png >= %{evas_ver}
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 %define specflags_x86_64 -mfpmath=387
41 %define specflags_amd64 -mfpmath=387
44 Edje is a complex graphical design and layout engine. It provides a
45 mechanism for allowing configuration data to define visual elements in
46 terms of layout, behavior, and appearance. Edje allows for multiple
47 collections of layouts in one file, allowing a complete set of images,
48 animations, and controls to exist as a unified whole.
50 Edje separates the arrangement, appearance, and behavior logic into
51 distinct independent entities. This allows visual objects to share
52 image data and configuration information without requiring them to do
53 so. This separation and simplistic event driven style of programming
54 can produce almost any look and feel one could want for basic visual
55 elements. Anything more complex is likely the domain of an application
56 or widget set that may use Edje as a convenient way of being able to
57 configure parts of the display.
59 %description -l pl.UTF-8
60 Edje to złożony silnik graficznego projektowania i planowania.
61 Dostarcza mechanizm pozwalający na definiowanie elementów graficznych
62 za pomocą danych konfiguracyjnych poprzez rozmieszczenie, zachowanie i
63 wygląd. Edje pozwala na wiele kolekcji projektów w jednym pliku,
64 zezwalając na istnienie pełnego zbioru obrazów, animacji i kontrolek
67 Edje oddziela rozmieszczenie, wygląd i logikę zachowania na różne,
68 niezależne elementy. Pozwala to na współdzielenie danych obrazów i
69 informacji o konfiguracji elementów graficznych bez wymagania tego.
70 Rozdzielenie to i uproszczony model programowania sterowanego
71 zdarzeniami może stworzyć prawie dowolny wygląd i zachowanie
72 podstawowych elementów graficznych. Wszystko bardziej złożone jest
73 raczej domeną aplikacji lub zbioru widgetów, które mogą używać Edje
74 jako wygodnego sposobu konfigurowania części ekranu.
78 Summary(pl.UTF-8): Biblioteka edje
80 Requires: ecore >= %{ecore_ver}
81 Requires: ecore-file >= %{ecore_ver}
82 Requires: ecore-imf >= %{ecore_ver}
83 Requires: ecore-imf-evas >= %{ecore_ver}
84 Requires: eet >= %{eet_ver}
85 Requires: embryo >= %{embryo_ver}
86 Requires: evas >= %{evas_ver}
91 %description libs -l pl.UTF-8
95 Summary: Edje header files
96 Summary(pl.UTF-8): Pliki nagłówkowe Edje
97 Group: Development/Libraries
98 Requires: %{name}-libs = %{version}-%{release}
99 Requires: ecore-devel >= %{ecore_ver}
100 Requires: ecore-file-devel >= %{ecore_ver}
101 Requires: ecore-imf-devel >= %{ecore_ver}
102 Requires: ecore-imf-evas-devel >= %{ecore_ver}
103 Requires: eet-devel >= %{eet_ver}
104 Requires: embryo-devel >= %{embryo_ver}
105 Requires: evas-devel >= %{evas_ver}
108 Header files for Edje.
110 %description devel -l pl.UTF-8
111 Pliki nagłówkowe Edje.
114 Summary: Static Edje library
115 Summary(pl.UTF-8): Statyczna biblioteka Edje
116 Group: Development/Libraries
117 Requires: %{name}-devel = %{version}-%{release}
122 %description static -l pl.UTF-8
123 Statyczna biblioteka Edje.
125 %package -n vim-syntax-edc
126 Summary: EDC syntax support for Vim
127 Summary(pl.UTF-8): Obsługa składni EDC dla Vima
128 Group: Applications/Editors/Vim
131 %description -n vim-syntax-edc
132 EDC syntax support for Vim.
134 %description -n vim-syntax-edc -l pl.UTF-8
135 Obsługa składni EDC dla Vima.
147 --disable-silent-rules \
148 %{!?with_static_libs:--disable-static} \
150 --with-vim=/usr/share/vim/vimfiles
154 rm -rf $RPM_BUILD_ROOT
157 DESTDIR=$RPM_BUILD_ROOT
159 install -d $RPM_BUILD_ROOT%{_libdir}/edje
160 install -D data/edc.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax/edc.vim
163 rm -rf $RPM_BUILD_ROOT
165 %post libs -p /sbin/ldconfig
166 %postun libs -p /sbin/ldconfig
169 %defattr(644,root,root,755)
170 %doc AUTHORS COPYING ChangeLog README
171 %attr(755,root,root) %{_bindir}/edje_cc
172 %attr(755,root,root) %{_bindir}/edje_decc
173 %attr(755,root,root) %{_bindir}/edje_external_inspector
174 %attr(755,root,root) %{_bindir}/edje_inspector
175 %attr(755,root,root) %{_bindir}/edje_player
176 %attr(755,root,root) %{_bindir}/edje_recc
177 %attr(755,root,root) %{_bindir}/inkscape2edc
178 %dir %{_libdir}/%{name}
180 %{_datadir}/mime/packages/edje.xml
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libedje.so.*.*.*
185 %attr(755,root,root) %ghost %{_libdir}/libedje.so.1
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libedje.so
190 %{_libdir}/libedje.la
191 %{_includedir}/edje-1
192 %{_pkgconfigdir}/edje.pc
194 %if %{with static_libs}
196 %defattr(644,root,root,755)
200 %files -n vim-syntax-edc
201 %defattr(644,root,root,755)
202 %{_datadir}/vim/vimfiles/syntax/edc.vim