Enlightenment CVS committal
Author : mej
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore
Modified Files:
ecore.spec.in
Log Message:
Tue Dec 5 16:50:38 2006 Michael Jennings (mej)
Fix spec file and add directfb support.
----------------------------------------------------------------------
===================================================================
RCS file: /cvs/e/e17/libs/ecore/ecore.spec.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ecore.spec.in 28 Oct 2006 11:41:53 -0000 1.15
+++ ecore.spec.in 5 Dec 2006 21:50:39 -0000 1.16
@@ -16,16 +16,19 @@
%endif
## disabled features
-%bcond_with lib_ecore_fb
-## not setup yet...
## enabled features
##%bcond_without module_engine_software_x11
+%bcond_without lib_ecore_fb
+%bcond_without lib_ecore_directfb
# This just keeps a missing doxygen from killing the build.
%define _missing_doc_files_terminate_build 0
+%define ac_with_lib_ecore_fb
--%{?with_lib_ecore_fb:en}%{!?with_lib_ecore_fb:dis}able-ecore-fb
+%define ac_with_lib_ecore_directfb
--%{?with_lib_ecore_directfb:en}%{!?with_lib_ecore_directfb:dis}able-ecore-dfb
+
Summary: Enlightened Core X interface library
Name: @PACKAGE@
Version: @VERSION@
@@ -53,9 +56,9 @@
Group: Development/Libraries
Requires: %{name} = %{version}
Requires: openssl-devel, evas-devel, eet-devel
-Requires: ecore-con, ecore-config, ecore-dbus, ecore-desktop, ecore-evas,
ecore-file, ecore-ipc, ecore-job, ecore-txt, ecore-x
-##removed fb
-##Requires: ecore-con, ecore-config, ecore-dbus, ecore-desktop, ecore-evas,
ecore-fb, ecore-file, ecore-ipc, ecore-job, ecore-txt, ecore-x
+Requires: ecore-con, ecore-config, ecore-dbus, ecore-desktop,
+Requires: ecore-evas, ecore-file, ecore-ipc, ecore-job, ecore-txt
+Requires: ecore-x %{?with_lib_ecore_fb:ecore-fb}
%{?with_lib_ecore_directfb:ecore-directfb}
%description devel
Ecore development files
@@ -100,6 +103,15 @@
%description desktop
Ecore freedesktop.org .desktop, icon, menu parsing Library
+%if %{with lib_ecore_directfb}
+%package directfb
+Summary: Ecore DirectFB system functions
+Group: Development/Libraries
+Requires: %{name} = %{version}
+%description directfb
+Ecore DirectFB system functions
+%endif
+
%package evas
Summary: Ecore Evas Wrapper Library
Group: Development/Libraries
@@ -115,9 +127,6 @@
Requires: %{name} = %{version}
%description fb
Ecore frame buffer system functions
-%define ac_with_lib_ecore_fb --enable-ecore-fb
-%else
-%define ac_with_lib_ecore_fb --disable-ecore-fb
%endif
%package file
@@ -160,8 +169,6 @@
%description x
Ecore functions for dealing with the X Windows System
-
-
%prep
%setup -q -n %{name}-%{version}
@@ -169,8 +176,7 @@
CFLAGS="-I/usr/kerberos/include -I/usr/X11R6/include/X11/extensions"
LDFLAGS="-L/usr/kerberos/lib -L/usr/X11R6/%{_lib}"
export CFLAGS LDFLAGS
-%{configure} --prefix=%{_prefix} --disable-ecore-dfb \
- %{ac_with_lib_ecore_fb}
+%{configure} --prefix=%{_prefix} %{?ac_with_lib_ecore_fb}
%{?ac_with_lib_ecore_directfb}
%{__make} %{?_smp_mflags} %{?mflags}
%install
@@ -220,6 +226,12 @@
%files desktop
%defattr(-, root, root)
%{_libdir}/libecore_desktop.so.*
+
+%if %{with lib_ecore_directfb}
+%files directfb
+%defattr(-, root, root)
+%{_libdir}/libecore_directfb.so.*
+%endif
%files evas
%defattr(-, root, root)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs