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