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