]> git.pld-linux.org Git - packages/edje.git/blame - edje.spec
- x32 rebuild
[packages/edje.git] / edje.spec
CommitLineData
cba7a0be 1# NOTE: for versions >= 1.8 see efl.spec
af51f0e1
KK
2#
3# Conditional build:
4%bcond_without static_libs # don't build static library
b4598747 5%bcond_with remix # remix support (not used now as multisense is disabled)
af51f0e1 6#
44871100
JB
7%define ecore_ver 1.7.10
8%define eet_ver 1.7.10
9%define eina_ver 1.7.10
10%define eio_ver 1.7.10
11%define embryo_ver 1.7.10
12%define evas_ver 1.7.10
1b64f69f 13Summary: Complex Graphical Design/Layout Engine
6cf2a602 14Summary(pl.UTF-8): Złożony silnik graficznego projektowania/planowania
1b64f69f 15Name: edje
44871100 16Version: 1.7.10
d842497b 17Release: 2
954792f6 18License: BSD
1b64f69f 19Group: X11/Libraries
8fd946e6 20Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
44871100 21# Source0-md5: edcefc433cb238fa4a5cb5a1bb52bc6e
01fd3afe 22Patch0: %{name}-deps.patch
107ae361 23URL: http://trac.enlightenment.org/e/wiki/Edje
01fd3afe
JB
24# for alsa_snd_player plugin for remix
25%{?with_remix:BuildRequires: alsa-lib-devel >= 1.0.21}
5af407e9
JB
26BuildRequires: autoconf >= 2.52
27BuildRequires: automake >= 1.6
954792f6 28BuildRequires: ecore-devel >= %{ecore_ver}
5af407e9 29BuildRequires: ecore-evas-devel >= %{ecore_ver}
954792f6
JB
30BuildRequires: ecore-file-devel >= %{ecore_ver}
31BuildRequires: ecore-imf-devel >= %{ecore_ver}
32BuildRequires: ecore-imf-evas-devel >= %{ecore_ver}
d56fc2c2 33BuildRequires: eina-devel >= %{eina_ver}
b4598747 34BuildRequires: eio-devel >= %{eio_ver}
d98139d1
BZ
35BuildRequires: eet-devel >= %{eet_ver}
36BuildRequires: embryo-devel >= %{embryo_ver}
37BuildRequires: evas-devel >= %{evas_ver}
01fd3afe
JB
38BuildRequires: flac-devel >= 1.2.1
39BuildRequires: libogg-devel >= 1:1.1.4
40BuildRequires: libsndfile-devel >= 1.0.21
41BuildRequires: libvorbis-devel >= 1:1.2.3
1b64f69f 42BuildRequires: libtool
954792f6
JB
43BuildRequires: lua51 >= 5.1.0
44BuildRequires: pkgconfig >= 1:0.22
45BuildRequires: python >= 1:2.5
01fd3afe
JB
46%{?with_remix:BuildRequires: remix-devel >= 0.2.4}
47%{?with_remix:Requires: alsa-lib >= 1.0.21}
f2a53523 48Requires: %{name}-libs = %{version}-%{release}
d98139d1
BZ
49Requires: evas-engine-buffer >= %{evas_ver}
50Requires: evas-loader-png >= %{evas_ver}
01fd3afe
JB
51Requires: flac >= 1.2.1
52Requires: libogg >= 1:1.1.4
53Requires: libvorbis >= 1:1.2.3
1b64f69f 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
8e2d5a68 56%undefine __cxx
c8474e58 57%define specflags_x86_64 -mfpmath=387
58%define specflags_amd64 -mfpmath=387
8e2d5a68 59
1b64f69f 60%description
61Edje is a complex graphical design and layout engine. It provides a
62mechanism for allowing configuration data to define visual elements in
63terms of layout, behavior, and appearance. Edje allows for multiple
64collections of layouts in one file, allowing a complete set of images,
65animations, and controls to exist as a unified whole.
66
67Edje separates the arrangement, appearance, and behavior logic into
68distinct independent entities. This allows visual objects to share
69image data and configuration information without requiring them to do
70so. This separation and simplistic event driven style of programming
71can produce almost any look and feel one could want for basic visual
72elements. Anything more complex is likely the domain of an application
8caade6f 73or widget set that may use Edje as a convenient way of being able to
1b64f69f 74configure parts of the display.
75
1c868423
JR
76%description -l pl.UTF-8
77Edje to złożony silnik graficznego projektowania i planowania.
78Dostarcza mechanizm pozwalający na definiowanie elementów graficznych
79za pomocą danych konfiguracyjnych poprzez rozmieszczenie, zachowanie i
80wygląd. Edje pozwala na wiele kolekcji projektów w jednym pliku,
81zezwalając na istnienie pełnego zbioru obrazów, animacji i kontrolek
82jako całości.
83
84Edje oddziela rozmieszczenie, wygląd i logikę zachowania na różne,
85niezależne elementy. Pozwala to na współdzielenie danych obrazów i
86informacji o konfiguracji elementów graficznych bez wymagania tego.
8caade6f 87Rozdzielenie to i uproszczony model programowania sterowanego
1c868423
JR
88zdarzeniami może stworzyć prawie dowolny wygląd i zachowanie
89podstawowych elementów graficznych. Wszystko bardziej złożone jest
90raczej domeną aplikacji lub zbioru widgetów, które mogą używać Edje
91jako wygodnego sposobu konfigurowania części ekranu.
8caade6f 92
f2a53523 93%package libs
94Summary: Edje library
6cf2a602 95Summary(pl.UTF-8): Biblioteka edje
f2a53523 96Group: X11/Libraries
954792f6
JB
97Requires: ecore >= %{ecore_ver}
98Requires: ecore-file >= %{ecore_ver}
99Requires: ecore-imf >= %{ecore_ver}
100Requires: ecore-imf-evas >= %{ecore_ver}
abf3461e 101Requires: eina >= %{eina_ver}
b4598747 102Requires: eio >= %{eio_ver}
d98139d1
BZ
103Requires: eet >= %{eet_ver}
104Requires: embryo >= %{embryo_ver}
105Requires: evas >= %{evas_ver}
01fd3afe
JB
106Requires: libsndfile >= 1.0.21
107%{?with_remix:Requires: remix >= 0.2.4}
f2a53523 108
109%description libs
110Edje library.
111
1c868423 112%description libs -l pl.UTF-8
f2a53523 113Biblioteka edje.
114
1b64f69f 115%package devel
8caade6f 116Summary: Edje header files
6cf2a602 117Summary(pl.UTF-8): Pliki nagłówkowe Edje
1b64f69f 118Group: Development/Libraries
f2a53523 119Requires: %{name}-libs = %{version}-%{release}
954792f6
JB
120Requires: ecore-devel >= %{ecore_ver}
121Requires: ecore-file-devel >= %{ecore_ver}
122Requires: ecore-imf-devel >= %{ecore_ver}
123Requires: ecore-imf-evas-devel >= %{ecore_ver}
d98139d1 124Requires: eet-devel >= %{eet_ver}
b4598747 125Requires: eio-devel >= %{eio_ver}
d98139d1
BZ
126Requires: embryo-devel >= %{embryo_ver}
127Requires: evas-devel >= %{evas_ver}
01fd3afe
JB
128Requires: libsndfile-devel >= 1.0.21
129%{?with_remix:Requires: remix-devel >= 0.2.4}
1b64f69f 130
131%description devel
8caade6f
JB
132Header files for Edje.
133
1c868423
JR
134%description devel -l pl.UTF-8
135Pliki nagłówkowe Edje.
1b64f69f 136
137%package static
ac05b8b7 138Summary: Static Edje library
6cf2a602 139Summary(pl.UTF-8): Statyczna biblioteka Edje
1b64f69f 140Group: Development/Libraries
8caade6f 141Requires: %{name}-devel = %{version}-%{release}
1b64f69f 142
143%description static
ac05b8b7 144Static Edje library.
8caade6f 145
1c868423 146%description static -l pl.UTF-8
ac05b8b7 147Statyczna biblioteka Edje.
1b64f69f 148
06d2f063
JB
149%package -n vim-syntax-edc
150Summary: EDC syntax support for Vim
151Summary(pl.UTF-8): Obsługa składni EDC dla Vima
152Group: Applications/Editors/Vim
153Requires: vim-rt
154
155%description -n vim-syntax-edc
156EDC syntax support for Vim.
157
158%description -n vim-syntax-edc -l pl.UTF-8
159Obsługa składni EDC dla Vima.
160
1b64f69f 161%prep
8fd946e6 162%setup -q
785c68ff 163%patch0 -p1
1b64f69f 164
165%build
312766ff 166%{__libtoolize}
dd65346c 167%{__aclocal} -I m4
312766ff 168%{__autoconf}
169%{__autoheader}
170%{__automake}
976715d1 171%configure \
954792f6 172 --disable-silent-rules \
01fd3afe 173 %{!?with_remix:--disable-remix} \
af51f0e1 174 %{!?with_static_libs:--disable-static} \
06d2f063
JB
175 --enable-edje-cc \
176 --with-vim=/usr/share/vim/vimfiles
954792f6 177%{__make}
1b64f69f 178
179%install
180rm -rf $RPM_BUILD_ROOT
8caade6f 181
1b64f69f 182%{__make} install \
183 DESTDIR=$RPM_BUILD_ROOT
184
48c321a9 185install -d $RPM_BUILD_ROOT%{_libdir}/edje/modules
37481ba9 186install -D data/edc.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax/edc.vim
06d2f063 187
01fd3afe
JB
188%if %{with remix}
189%{__rm} $RPM_BUILD_ROOT%{_libdir}/remix/*.la
190%endif
191
1b64f69f 192%clean
193rm -rf $RPM_BUILD_ROOT
194
06d2f063
JB
195%post libs -p /sbin/ldconfig
196%postun libs -p /sbin/ldconfig
1b64f69f 197
198%files
199%defattr(644,root,root,755)
d56fc2c2 200%doc AUTHORS COPYING ChangeLog NEWS README
312766ff 201%attr(755,root,root) %{_bindir}/edje_cc
202%attr(755,root,root) %{_bindir}/edje_decc
954792f6
JB
203%attr(755,root,root) %{_bindir}/edje_external_inspector
204%attr(755,root,root) %{_bindir}/edje_inspector
dd65346c 205%attr(755,root,root) %{_bindir}/edje_player
312766ff 206%attr(755,root,root) %{_bindir}/edje_recc
b4598747 207%attr(755,root,root) %{_bindir}/edje_watch
3e111412 208%attr(755,root,root) %{_bindir}/inkscape2edc
d56fc2c2
JB
209%dir %{_libdir}/%{name}/utils
210%attr(755,root,root) %dir %{_libdir}/%{name}/utils/epp
1b64f69f 211%{_datadir}/%{name}
dd65346c 212%{_datadir}/mime/packages/edje.xml
1b64f69f 213
f2a53523 214%files libs
215%defattr(644,root,root,755)
954792f6
JB
216%attr(755,root,root) %{_libdir}/libedje.so.*.*.*
217%attr(755,root,root) %ghost %{_libdir}/libedje.so.1
48c321a9
JB
218%dir %{_libdir}/%{name}
219%dir %{_libdir}/%{name}/modules
01fd3afe
JB
220%if %{with remix}
221%attr(755,root,root) %{_libdir}/remix/libalsa_snd_player.so
222%attr(755,root,root) %{_libdir}/remix/libeet_sndfile_reader.so
223%endif
f2a53523 224
1b64f69f 225%files devel
226%defattr(644,root,root,755)
227%attr(755,root,root) %{_libdir}/libedje.so
228%{_libdir}/libedje.la
954792f6 229%{_includedir}/edje-1
1b64f69f 230%{_pkgconfigdir}/edje.pc
231
af51f0e1 232%if %{with static_libs}
1b64f69f 233%files static
234%defattr(644,root,root,755)
235%{_libdir}/libedje.a
af51f0e1 236%endif
06d2f063
JB
237
238%files -n vim-syntax-edc
239%defattr(644,root,root,755)
37481ba9 240%{_datadir}/vim/vimfiles/syntax/edc.vim
This page took 0.142758 seconds and 4 git commands to generate.