Add RPM packaging
[framework/uifw/evas.git] / packaging / evas.spec
1
2 # Do NOT Edit the Auto-generated Part!
3 # Generated by: spectacle version 0.22
4
5
6 Name:       evas
7 Summary:    Multi-platform Canvas Library
8 Version:    1.0.999.svn60295
9 Release:    1
10 Group:      TO_BE/FILLED_IN
11 License:    TO BE FILLED IN
12 URL:        http://www.enlightenment.org/
13 Source0:    http://download.enlightenment.org/releases/evas-%{version}.tar.bz2
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
16 BuildRequires:  pkgconfig(eina)
17 BuildRequires:  pkgconfig(eet)
18 BuildRequires:  pkgconfig(x11)
19 BuildRequires:  pkgconfig(xrender)
20 BuildRequires:  pkgconfig(fontconfig)
21 BuildRequires:  pkgconfig(freetype2)
22 BuildRequires:  pkgconfig(fribidi)
23 BuildRequires:  pkgconfig(xext)
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng-devel
26
27
28 %description
29 Enlightenment DR17 advanced canvas library Evas is an advanced canvas library, providing six engines for rendering: X11,
30  OpenGL (hardware accelerated), DirectFB, the framebuffer, Microsoft Windows
31  and Qtopia.
32  .
33  Due to its simple API, evas can be developed with rapidly, and cleanly.
34  .
35  This package contains the core library and a set of image loaders and/or savers
36  for various formats: eet, gif, jpeg, png, svg, tiff, bmp, wbmp and xpm
37
38
39
40 %package devel
41 Summary:    Multi-platform Canvas Library (devel)
42 Group:      Development/Libraries
43 Requires:   %{name} = %{version}-%{release}
44
45 %description devel
46 Enlightenment DR17 advanced canvas library (devel)
47
48
49 %prep
50 %setup -q -n %{name}
51
52
53 %build
54
55 %autogen --disable-static
56 %configure --disable-static \
57 %ifarch %{arm}
58     --enable-cpu-neon --enable-winkcodec=yes --enable-gl-x11 --enable-gl-flavor-gles --enable-gles-variety-sgx \
59 %endif
60 %ifarch %{ix86}
61     --enable-winkcodec=no \
62 %endif
63     --enable-line-dither-mask
64
65 #    --disable-image-loader-svg --enable-simple-x11 --with-x --enable-fb --enable-xrender-x11 --enable-line-dither-mask --disable-image-loader-edb --disable-rpath --enable-pthreads
66
67 make %{?jobs:-j%jobs}
68
69 %install
70 rm -rf %{buildroot}
71 %make_install
72
73
74
75
76 %post -p /sbin/ldconfig
77
78 %postun -p /sbin/ldconfig
79
80
81
82
83
84
85
86
87 %files
88 %defattr(-,root,root,-)
89 %{_libdir}/libevas.so.*
90 %{_libdir}/evas/modules/engines/*/*/module.so
91 %{_libdir}/evas/modules/loaders/*/*/module.so
92 %{_libdir}/evas/modules/savers/*/*/module.so
93 /usr/bin/evas_cserve
94 /usr/bin/evas_cserve_tool
95
96 %files devel
97 %defattr(-,root,root,-)
98 %{_includedir}/evas-1/*.h
99 %{_libdir}/libevas.so
100 %{_libdir}/pkgconfig/*.pc
101 /usr/share/evas/examples/*