]> git.pld-linux.org Git - packages/evas.git/blob - evas.spec
- updated to 0.9.9.013
[packages/evas.git] / evas.spec
1 #
2 %bcond_without  mmx             # without MMX and MMX2
3 %bcond_without  sse             # without SSE
4 %bcond_without  altivec         # without altivec
5 #
6 %ifnarch i586 i686 athlon
7 %undefine       with_mmx
8 %endif
9 %ifnarch i686 athlon
10 %undefine       with_sse
11 %endif
12 %ifnarch ppc
13 %undefine       with_altivec
14 %endif
15 #
16 Summary:        Multi-platform Canvas Library
17 Summary(pl):    Wieloplatformowa biblioteka do rysowania
18 Name:           evas
19 Version:        0.9.9.013
20 Release:        1
21 License:        BSD
22 Group:          Libraries
23 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
24 # Source0-md5:  6d888cc6427d783ae517185c1e446e38
25 URL:            http://enlightenment.org/
26 BuildRequires:  DirectFB-devel
27 BuildRequires:  OpenGL-devel
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  edb-devel
31 BuildRequires:  eet-devel
32 BuildRequires:  freetype-devel
33 BuildRequires:  libjpeg-devel
34 BuildRequires:  libpng-devel
35 BuildRequires:  libtool
36 BuildRequires:  pkgconfig
37 Requires:       fonts-TTF-bitstream-vera
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Evas is a clean display canvas API for several target display systems
42 that can draw anti-aliased text, smooth super and sub-sampled scaled
43 images, alpha-blend objects much and more.
44
45 %description -l pl
46 Evas to czyste API "p³ótna obrazu" dla ró¿nych systemów wy¶wietlania,
47 bêd±ce w stanie rysowaæ tekst z antyaliasingiem, wyg³adzane, skalowane
48 obrazy, obiekty z alpha-blendingiem i inne elementy.
49
50 %package devel
51 Summary:        Evas header files
52 Summary(pl):    Pliki nag³ówkowe Evas
53 Group:          Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       DirectFB-devel
56 Requires:       OpenGL-devel
57 Requires:       edb-devel
58 Requires:       eet-devel
59 Requires:       freetype-devel
60 Requires:       libjpeg-devel
61 Requires:       libpng-devel
62
63 %description devel
64 Header files for Evas.
65
66 %description devel -l pl
67 Pliki nag³ówkowe Evas.
68
69 %package static
70 Summary:        Static Evas library
71 Summary(pl):    Statyczna biblioteka Evas
72 Group:          Development/Libraries
73 Requires:       %{name}-devel = %{version}-%{release}
74
75 %description static
76 Static Evas library.
77
78 %description static -l pl
79 Statyczna biblioteka Evas.
80
81 %prep
82 %setup -q
83
84 %build
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         --enable-software-x11   \
92         --disable-software-xcb  \
93         --enable-direct-fb      \
94         --enable-fb             \
95         --enable-buffer         \
96         --disable-software-qtopia \
97         --enable-gl-x11         \
98         --enable-image-loader-png       \
99         --enable-image-loader-jpeg      \
100         --enable-image-loader-eet       \
101         --enable-font-loader-eet        \
102         --enable-image-loader-edb       \
103 %if %{with mmx}
104         --enable-cpu-mmx        \
105 %else
106         --disable-cpu-mmx       \
107 %endif
108 %if %{with sse}
109         --enable-cpu-sse        \
110 %else
111         --disable-cpu-sse       \
112 %endif
113 %if %{with altivec}
114         --enable-cpu-altivec    \
115 %else
116         --disable-cpu-altivec   \
117 %endif
118         --enable-cpu-c
119
120 %{__make}
121
122 %install
123 rm -rf $RPM_BUILD_ROOT
124
125 %{__make} install \
126         DESTDIR=$RPM_BUILD_ROOT
127
128 cd $RPM_BUILD_ROOT%{_datadir}/%{name}
129 VERA=$(ls Vera*.ttf)
130 for FONT in $VERA; do
131         rm -f $FONT
132         ln -s %{_fontsdir}/TTF/$FONT .
133 done
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post   -p /sbin/ldconfig
139 %postun -p /sbin/ldconfig
140
141 %files
142 %defattr(644,root,root,755)
143 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
144 %attr(755,root,root) %{_bindir}/evas_*
145 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
146 %{_datadir}/%{name}
147
148 %files devel
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_bindir}/evas-config
151 %attr(755,root,root) %{_libdir}/libevas.so
152 %{_libdir}/libevas.la
153 %{_pkgconfigdir}/evas.pc
154 %{_includedir}/Evas*
155
156 %files static
157 %defattr(644,root,root,755)
158 %{_libdir}/libevas.a
This page took 0.030719 seconds and 3 git commands to generate.