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