]> git.pld-linux.org Git - packages/evas.git/blobdiff - evas.spec
- up to 0.9.9.024
[packages/evas.git] / evas.spec
index 161bbc5acc5d45bf64c86a1e7d6b7194cb2016ef..b4816d989b639c26a6c4e80f28c3c6324db03f8e 100644 (file)
--- a/evas.spec
+++ b/evas.spec
@@ -3,11 +3,13 @@
 %bcond_without mmx             # without MMX and MMX2
 %bcond_without sse             # without SSE
 %bcond_without altivec         # without altivec
+%bcond_without directfb        # build without DirectFB support
+%bcond_without static_libs     # don't build static library
 #
-%ifnarch i586 i686 athlon
+%ifnarch i586 i686 athlon %{x8664}
 %undefine      with_mmx
 %endif
-%ifnarch i686 athlon
+%ifnarch i686 athlon %{x8664}
 %undefine      with_sse
 %endif
 %ifnarch ppc
 Summary:       Multi-platform Canvas Library
 Summary(pl):   Wieloplatformowa biblioteka do rysowania
 Name:          evas
-Version:       0.9.9.019
+Version:       0.9.9.024
 Release:       1
 License:       BSD
 Group:         Libraries
 Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 1766c37200f2efb37076e302fd07517b
-Patch0:                %{name}-missing_m4.patch
+# Source0-md5: e363ee32718b209b66a3e0bcb4215e14
+#Patch0:               %{name}-missing_m4.patch
 URL:           http://enlightenment.org/Libraries/Evas/
-BuildRequires: DirectFB-devel
+%{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: OpenGL-devel
 BuildRequires: autoconf
 BuildRequires: automake
@@ -40,6 +42,8 @@ Requires:     %{name}-libs = %{version}-%{release}
 Requires:      fonts-TTF-bitstream-vera
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine      __cxx
+
 %description
 Evas is a clean display canvas API for several target display systems
 that can draw anti-aliased text, smooth super and sub-sampled scaled
@@ -66,7 +70,7 @@ Summary:      Evas header files
 Summary(pl):   Pliki nag³ówkowe Evas
 Group:         Development/Libraries
 Requires:      %{name}-libs = %{version}-%{release}
-Requires:      DirectFB-devel
+%{?with_directfb:Requires:     DirectFB-devel}
 Requires:      OpenGL-devel
 Requires:      edb-devel
 Requires:      eet-devel
@@ -94,22 +98,24 @@ Statyczna biblioteka Evas.
 
 %prep
 %setup -q
-%patch0 -p1
+#%%patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
+#%%{__libtoolize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
 %configure \
+       %{!?with_static_libs:--disable-static} \
        --enable-software-x11   \
        --disable-software-xcb  \
-       --enable-direct-fb      \
+       --%{?with_directfb:en}%{!?with_directfb:dis}able-directfb       \
        --enable-fb             \
        --enable-buffer         \
        --disable-software-qtopia \
        --enable-gl-x11         \
+       --enable-xrender-x11    \
        --enable-image-loader-png       \
        --enable-image-loader-jpeg      \
        --enable-image-loader-eet       \
@@ -130,7 +136,8 @@ Statyczna biblioteka Evas.
 %else
        --disable-cpu-altivec   \
 %endif
-       --enable-cpu-c
+       --enable-cpu-c          \
+       --disable-valgrind
 
 %{__make}
 
@@ -162,6 +169,12 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libevas.so.*.*.*
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/modules
+%dir %{_libdir}/%{name}/modules/*
+%dir %{_libdir}/%{name}/modules/*/*
+%dir %{_libdir}/%{name}/modules/*/*/linux-gnu-*
+%attr(755,root,root) %{_libdir}/%{name}/modules/*/*/linux-gnu-*/module.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -171,6 +184,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/evas.pc
 %{_includedir}/Evas*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libevas.a
+%endif
This page took 0.039551 seconds and 4 git commands to generate.