Add RPM packaging
authorMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:36:06 +0000 (20:36 +0900)
committerMike McCormack <mj.mccormack@samsung.com>
Mon, 8 Aug 2011 11:36:06 +0000 (20:36 +0900)
packaging/evas.spec [new file with mode: 0644]

diff --git a/packaging/evas.spec b/packaging/evas.spec
new file mode 100644 (file)
index 0000000..3c62f97
--- /dev/null
@@ -0,0 +1,101 @@
+# 
+# Do NOT Edit the Auto-generated Part!
+# Generated by: spectacle version 0.22
+# 
+
+Name:       evas
+Summary:    Multi-platform Canvas Library
+Version:    1.0.999.svn60295
+Release:    1
+Group:      TO_BE/FILLED_IN
+License:    TO BE FILLED IN
+URL:        http://www.enlightenment.org/
+Source0:    http://download.enlightenment.org/releases/evas-%{version}.tar.bz2
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(eina)
+BuildRequires:  pkgconfig(eet)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xrender)
+BuildRequires:  pkgconfig(fontconfig)
+BuildRequires:  pkgconfig(freetype2)
+BuildRequires:  pkgconfig(fribidi)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  libjpeg-devel
+BuildRequires:  libpng-devel
+
+
+%description
+Enlightenment DR17 advanced canvas library Evas is an advanced canvas library, providing six engines for rendering: X11,
+ OpenGL (hardware accelerated), DirectFB, the framebuffer, Microsoft Windows
+ and Qtopia.
+ .
+ Due to its simple API, evas can be developed with rapidly, and cleanly.
+ .
+ This package contains the core library and a set of image loaders and/or savers
+ for various formats: eet, gif, jpeg, png, svg, tiff, bmp, wbmp and xpm
+
+
+
+%package devel
+Summary:    Multi-platform Canvas Library (devel)
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Enlightenment DR17 advanced canvas library (devel)
+
+
+%prep
+%setup -q -n %{name}
+
+
+%build
+
+%autogen --disable-static
+%configure --disable-static \
+%ifarch %{arm}
+    --enable-cpu-neon --enable-winkcodec=yes --enable-gl-x11 --enable-gl-flavor-gles --enable-gles-variety-sgx \
+%endif
+%ifarch %{ix86}
+    --enable-winkcodec=no \
+%endif
+    --enable-line-dither-mask
+
+#    --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
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+
+
+
+
+
+
+%files
+%defattr(-,root,root,-)
+%{_libdir}/libevas.so.*
+%{_libdir}/evas/modules/engines/*/*/module.so
+%{_libdir}/evas/modules/loaders/*/*/module.so
+%{_libdir}/evas/modules/savers/*/*/module.so
+/usr/bin/evas_cserve
+/usr/bin/evas_cserve_tool
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/evas-1/*.h
+%{_libdir}/libevas.so
+%{_libdir}/pkgconfig/*.pc
+/usr/share/evas/examples/*