]> git.pld-linux.org Git - packages/edje.git/blob - edje.spec
- R: cpp
[packages/edje.git] / edje.spec
1 Summary:        Complex Graphical Design/Layout Engine
2 Summary(pl):    Z³o¿ony silnik graficznego projektowania/planowania
3 Name:           edje
4 Version:        0.5.0.018
5 Release:        1
6 License:        BSD
7 Group:          X11/Libraries
8 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  684addc556ca267244f1bf77ca59204f
10 Patch0:         %{name}-missing_m4.patch
11 URL:            http://enlightenment.org/Libraries/Edje/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  ecore-devel
15 BuildRequires:  embryo-devel
16 BuildRequires:  imlib2-devel >= 1.2.1
17 BuildRequires:  libtool
18 Requires:       %{name}-libs = %{version}-%{release}
19 Requires:       cpp
20 Requires:       fonts-TTF-bitstream-vera
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Edje is a complex graphical design and layout engine. It provides a
25 mechanism for allowing configuration data to define visual elements in
26 terms of layout, behavior, and appearance. Edje allows for multiple
27 collections of layouts in one file, allowing a complete set of images,
28 animations, and controls to exist as a unified whole.
29
30 Edje separates the arrangement, appearance, and behavior logic into
31 distinct independent entities. This allows visual objects to share
32 image data and configuration information without requiring them to do
33 so. This separation and simplistic event driven style of programming
34 can produce almost any look and feel one could want for basic visual
35 elements. Anything more complex is likely the domain of an application
36 or widget set that may use Edje as a convenient way of being able to
37 configure parts of the display.
38
39 %description -l pl
40 Edje to z³o¿ony silnik graficznego projektowania i planowania.
41 Dostarcza mechanizm pozwalaj±cy na definiowanie elementów graficznych
42 za pomoc± danych konfiguracyjnych poprzez rozmieszczenie, zachowanie i
43 wygl±d. Edje pozwala na wiele kolekcji projektów w jednym pliku,
44 zezwalaj±c na istnienie pe³nego zbioru obrazów, animacji i kontrolek
45 jako ca³o¶ci.
46
47 Edje oddziela rozmieszczenie, wygl±d i logikê zachowania na ró¿ne,
48 niezale¿ne elementy. Pozwala to na wspó³dzielenie danych obrazów i
49 informacji o konfiguracji elementów graficznych bez wymagania tego.
50 Rozdzielenie to i uproszczony model programowania sterowanego
51 zdarzeniami mo¿e stworzyæ prawie dowolny wygl±d i zachowanie
52 podstawowych elementów graficznych. Wszystko bardziej z³o¿one jest
53 raczej domen± aplikacji lub zbioru widgetów, które mog± u¿ywaæ Edje
54 jako wygodnego sposobu konfigurowania czê¶ci ekranu.
55
56 %package libs
57 Summary:        Edje library
58 Summary(pl):    Biblioteka edje
59 Group:          X11/Libraries
60
61 %description libs
62 Edje library.
63
64 %description libs -l pl
65 Biblioteka edje.
66
67 %package devel
68 Summary:        Edje header files
69 Summary(pl):    Pliki nag³ówkowe Edje
70 Group:          Development/Libraries
71 Requires:       %{name}-libs = %{version}-%{release}
72 Requires:       ecore-devel
73 Requires:       embryo-devel
74 Requires:       imlib2-devel >= 1.2.1
75
76 %description devel
77 Header files for Edje.
78
79 %description devel -l pl
80 Pliki nag³ówkowe Edje.
81
82 %package static
83 Summary:        Static Edje library
84 Summary(pl):    Statyczna biblioteka Edje
85 Group:          Development/Libraries
86 Requires:       %{name}-devel = %{version}-%{release}
87
88 %description static
89 Static Edje library.
90
91 %description static -l pl
92 Statyczna biblioteka Edje.
93
94 %prep
95 %setup -q
96 %patch0 -p1
97
98 %build
99 %{__libtoolize}
100 %{__aclocal}
101 %{__autoconf}
102 %{__autoheader}
103 %{__automake}
104 %configure \
105         --enable-edje-cc
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/test/fonts
115 VERA=$(ls Vera*.ttf)
116 for FONT in $VERA; do
117         rm -f $FONT
118         ln -s %{_fontsdir}/TTF/$FONT .
119 done
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post libs      -p /sbin/ldconfig
125 %postun libs    -p /sbin/ldconfig
126
127 %files
128 %defattr(644,root,root,755)
129 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
130 %attr(755,root,root) %{_bindir}/edje
131 %attr(755,root,root) %{_bindir}/edje_*
132 %{_datadir}/%{name}
133
134 %files libs
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/libedje.so.*.*.*
137
138 %files devel
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/edje-config
141 %attr(755,root,root) %{_libdir}/libedje.so
142 %{_libdir}/libedje.la
143 %{_includedir}/Edje*
144 %{_pkgconfigdir}/edje.pc
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/libedje.a
This page took 0.1064 seconds and 3 git commands to generate.