]>
Commit | Line | Data |
---|---|---|
af51f0e1 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
1b64f69f | 5 | Summary: Complex Graphical Design/Layout Engine |
6cf2a602 | 6 | Summary(pl.UTF-8): Złożony silnik graficznego projektowania/planowania |
1b64f69f | 7 | Name: edje |
06d2f063 JB |
8 | Version: 0.5.0.038 |
9 | Release: 1 | |
1b64f69f | 10 | License: BSD |
11 | Group: X11/Libraries | |
bfeb91a4 | 12 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
06d2f063 | 13 | # Source0-md5: 9ad7ffd1c18e150f483e4a3d9b24dac3 |
f081a9cc | 14 | URL: http://enlightenment.org/p.php?p=about/libs/edje |
1b64f69f | 15 | BuildRequires: autoconf |
06d2f063 JB |
16 | BuildRequires: automake >= 1.4 |
17 | # ecore-evas, ecore-job | |
18 | BuildRequires: ecore-devel >= 0.9.9.038 | |
19 | BuildRequires: eet-devel >= 0.9.10.038 | |
20 | BuildRequires: embryo-devel >= 0.9.1.038 | |
21 | BuildRequires: evas-devel >= 0.9.9.038 | |
1b64f69f | 22 | BuildRequires: libtool |
06d2f063 | 23 | BuildRequires: pkgconfig |
f2a53523 | 24 | Requires: %{name}-libs = %{version}-%{release} |
b4b78ee4 | 25 | Requires: cpp |
06d2f063 JB |
26 | Requires: evas-engine-buffer >= 0.9.9.038 |
27 | Requires: evas-loader-png >= 0.9.9.038 | |
1b64f69f | 28 | BuildRoot: %{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 |
35 | Edje is a complex graphical design and layout engine. It provides a | |
36 | mechanism for allowing configuration data to define visual elements in | |
37 | terms of layout, behavior, and appearance. Edje allows for multiple | |
38 | collections of layouts in one file, allowing a complete set of images, | |
39 | animations, and controls to exist as a unified whole. | |
40 | ||
41 | Edje separates the arrangement, appearance, and behavior logic into | |
42 | distinct independent entities. This allows visual objects to share | |
43 | image data and configuration information without requiring them to do | |
44 | so. This separation and simplistic event driven style of programming | |
45 | can produce almost any look and feel one could want for basic visual | |
46 | elements. Anything more complex is likely the domain of an application | |
8caade6f | 47 | or widget set that may use Edje as a convenient way of being able to |
1b64f69f | 48 | configure parts of the display. |
49 | ||
1c868423 JR |
50 | %description -l pl.UTF-8 |
51 | Edje to złożony silnik graficznego projektowania i planowania. | |
52 | Dostarcza mechanizm pozwalający na definiowanie elementów graficznych | |
53 | za pomocą danych konfiguracyjnych poprzez rozmieszczenie, zachowanie i | |
54 | wygląd. Edje pozwala na wiele kolekcji projektów w jednym pliku, | |
55 | zezwalając na istnienie pełnego zbioru obrazów, animacji i kontrolek | |
56 | jako całości. | |
57 | ||
58 | Edje oddziela rozmieszczenie, wygląd i logikę zachowania na różne, | |
59 | niezależne elementy. Pozwala to na współdzielenie danych obrazów i | |
60 | informacji o konfiguracji elementów graficznych bez wymagania tego. | |
8caade6f | 61 | Rozdzielenie to i uproszczony model programowania sterowanego |
1c868423 JR |
62 | zdarzeniami może stworzyć prawie dowolny wygląd i zachowanie |
63 | podstawowych elementów graficznych. Wszystko bardziej złożone jest | |
64 | raczej domeną aplikacji lub zbioru widgetów, które mogą używać Edje | |
65 | jako wygodnego sposobu konfigurowania części ekranu. | |
8caade6f | 66 | |
f2a53523 | 67 | %package libs |
68 | Summary: Edje library | |
6cf2a602 | 69 | Summary(pl.UTF-8): Biblioteka edje |
f2a53523 | 70 | Group: X11/Libraries |
06d2f063 JB |
71 | Requires: ecore-evas >= 0.9.9.038 |
72 | Requires: ecore-job >= 0.9.9.038 | |
73 | Requires: eet >= 0.9.10.038 | |
74 | Requires: embryo >= 0.9.1.038 | |
75 | Requires: evas >= 0.9.9.038 | |
f2a53523 | 76 | |
77 | %description libs | |
78 | Edje library. | |
79 | ||
1c868423 | 80 | %description libs -l pl.UTF-8 |
f2a53523 | 81 | Biblioteka edje. |
82 | ||
1b64f69f | 83 | %package devel |
8caade6f | 84 | Summary: Edje header files |
6cf2a602 | 85 | Summary(pl.UTF-8): Pliki nagłówkowe Edje |
1b64f69f | 86 | Group: Development/Libraries |
f2a53523 | 87 | Requires: %{name}-libs = %{version}-%{release} |
06d2f063 JB |
88 | # ecore-evas, ecore-job |
89 | Requires: ecore-devel >= 0.9.9.038 | |
90 | Requires: eet-devel >= 0.9.10.038 | |
91 | Requires: embryo-devel >= 0.9.1.038 | |
92 | Requires: evas-devel >= 0.9.9.038 | |
1b64f69f | 93 | |
94 | %description devel | |
8caade6f JB |
95 | Header files for Edje. |
96 | ||
1c868423 JR |
97 | %description devel -l pl.UTF-8 |
98 | Pliki nagłówkowe Edje. | |
1b64f69f | 99 | |
100 | %package static | |
ac05b8b7 | 101 | Summary: Static Edje library |
6cf2a602 | 102 | Summary(pl.UTF-8): Statyczna biblioteka Edje |
1b64f69f | 103 | Group: Development/Libraries |
8caade6f | 104 | Requires: %{name}-devel = %{version}-%{release} |
1b64f69f | 105 | |
106 | %description static | |
ac05b8b7 | 107 | Static Edje library. |
8caade6f | 108 | |
1c868423 | 109 | %description static -l pl.UTF-8 |
ac05b8b7 | 110 | Statyczna biblioteka Edje. |
1b64f69f | 111 | |
06d2f063 JB |
112 | %package -n vim-syntax-edc |
113 | Summary: EDC syntax support for Vim | |
114 | Summary(pl.UTF-8): Obsługa składni EDC dla Vima | |
115 | Group: Applications/Editors/Vim | |
116 | Requires: vim-rt | |
117 | ||
118 | %description -n vim-syntax-edc | |
119 | EDC syntax support for Vim. | |
120 | ||
121 | %description -n vim-syntax-edc -l pl.UTF-8 | |
122 | Obsł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 | |
140 | rm -rf $RPM_BUILD_ROOT | |
8caade6f | 141 | |
1b64f69f | 142 | %{__make} install \ |
143 | DESTDIR=$RPM_BUILD_ROOT | |
144 | ||
06d2f063 JB |
145 | install -D data/edc.vim $RPM_BUILD_ROOT/usr/share/vim/vimfiles/syntax/edc.vim |
146 | ||
1b64f69f | 147 | %clean |
148 | rm -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 |