X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ecore.spec;h=5f5d4c9435d9ed7f444eb98f2767e463d87cf74d;hb=c889814d57fdbe8aa4c2b7ec5642d1e20cf3f080;hp=b182364c3fcda3c85e403616054847b2d334169d;hpb=967c161c6da5feb04ac5cbb2c149901037a4637c;p=packages%2Fecore.git diff --git a/ecore.spec b/ecore.spec index b182364..5f5d4c9 100644 --- a/ecore.spec +++ b/ecore.spec @@ -1,32 +1,92 @@ +# NOTE: for versions >= 1.8 see efl.spec +# TODO: drop --disable-ecore-evas-software-8-x11 when fixed (xcb_api only) # # Conditional build: %bcond_without static_libs # don't build static library +%bcond_without xcb # force disabling XCB usage +%bcond_with xcb_api # XCB instead of Xlib (highly experimental, no XIM module) + # must be consistent with xcb_api setting in evas! +%bcond_without cares # use c-ares +%bcond_without ibus # IBus module +%bcond_without scim # SCIM module +%bcond_without wayland # Wayland library module # +%if %{without xcb} +%undefine xcb_api +%endif +%if %{with xcb_api} +%undefine with_wayland +%define xapi xcb +%else +%define xapi xlib +%endif +%define eina_ver 1.7.10 +%define eet_ver 1.7.10 +%define evas_ver 1.7.10 Summary: Enlightened Core X interface library Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core Name: ecore -Version: 0.9.9.036 -Release: 2 +Version: 1.7.10 +Release: 1 License: BSD Group: X11/Libraries -Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz -# Source0-md5: b2f3ba94aa47a885c77c3ad7a686ee42 -URL: http://enlightenment.org/Libraries/Ecore/ -BuildRequires: DirectFB-devel -BuildRequires: autoconf -BuildRequires: automake +Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 +# Source0-md5: eada670139dc1984eda5a24eb4781f43 +URL: http://trac.enlightenment.org/e/wiki/Ecore +BuildRequires: DirectFB-devel >= 0.9.16 +BuildRequires: SDL-devel >= 1.2.0 +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1.6 +%if %{with cares} +BuildRequires: c-ares-devel >= 1.6.1 +%endif BuildRequires: curl-devel -BuildRequires: evas-devel +BuildRequires: eina-devel >= %{eina_ver} +# for disabled config library +#BuildRequires: eet-devel >= %{eet_ver} +BuildRequires: evas-devel(%{xapi}) >= %{evas_ver} +BuildRequires: gettext-devel >= 0.17 +BuildRequires: glib2-devel >= 2.0 +BuildRequires: gnutls-devel >= 2.10.2 +%{?with_ibus:BuildRequires: ibus-devel >= 1.4} BuildRequires: libtool -BuildRequires: openssl-devel -BuildRequires: pkgconfig +BuildRequires: pkgconfig >= 1:0.22 +%{?with_scim:BuildRequires: scim-devel} +BuildRequires: tslib-devel +%if %{with xcb_api} +BuildRequires: libxcb-devel +BuildRequires: pixman-devel +BuildRequires: xcb-util-devel >= 0.3.8 +BuildRequires: xcb-util-image-devel +BuildRequires: xcb-util-keysyms-devel >= 0.3.8 +BuildRequires: xcb-util-wm-devel >= 0.3.8 +%else +BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXScrnSaver-devel +BuildRequires: xorg-lib-libXcomposite-devel BuildRequires: xorg-lib-libXcursor-devel BuildRequires: xorg-lib-libXdamage-devel +BuildRequires: xorg-lib-libXext-devel +BuildRequires: xorg-lib-libXfixes-devel +BuildRequires: xorg-lib-libXi-devel >= 1.3 BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXp-devel BuildRequires: xorg-lib-libXrandr-devel +BuildRequires: xorg-lib-libXrender-devel +BuildRequires: xorg-lib-libXtst-devel +# xorg-lib-libXgesture-devel +%endif +%if %{with wayland} +BuildRequires: Mesa-libEGL-devel >= 7.10 +BuildRequires: Mesa-libwayland-egl-devel +BuildRequires: wayland-devel >= 1.0.0 +BuildRequires: xorg-lib-libxkbcommon-devel +%endif +Requires: eina >= %{eina_ver} +Obsoletes: ecore-desktop +Obsoletes: ecore-job Obsoletes: ecore-libs +Obsoletes: ecore-txt BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %undefine __cxx @@ -44,200 +104,679 @@ bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do ułatwienia swojej pracy przy aplikacjach. +%package devel +Summary: Header files for Ecore library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ecore +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: eina-devel >= %{eina_ver} +Requires: glib2-devel >= 2.0 + +%description devel +Header files for Ecore library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki Ecore. + +%package static +Summary: Static Ecore library +Summary(pl.UTF-8): Statyczna biblioteka Ecore +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static Ecore library. + +%description static -l pl.UTF-8 +Statyczna biblioteka Ecore. + %package con -Summary: Ecore Connection Library -Summary(pl.UTF-8): Biblioteka połączeń Ecore +Summary: Ecore Con(nection) library +Summary(pl.UTF-8): Biblioteka połączeń Ecore Con Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: gnutls >= 2.10.2 %description con -Ecore Connection Library. +Ecore Con(nection) Library. %description con -l pl.UTF-8 -Biblioteka połączeń Ecore. +Biblioteka połączeń Ecore Con. + +%package con-devel +Summary: Header file for Ecore Con library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore Con +Group: Development/Libraries +Requires: %{name}-con = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +%{?with_cares:Requires: c-ares-devel >= 1.6.1} +Requires: curl-devel +Requires: gnutls-devel >= 2.10.2 + +%description con-devel +Header file for Ecore Con(nection) library. + +%description con-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki połączeń Ecore Con. + +%package con-static +Summary: Static Ecore Con library +Summary(pl.UTF-8): Statyczna biblioteka Ecore Con +Group: Development/Libraries +Requires: %{name}-con-devel = %{version}-%{release} + +%description con-static +Static Ecore Con(nection) library. + +%description con-static -l pl.UTF-8 +Statyczna biblioteka połączeń Ecore Con. %package config -Summary: Ecore Enlightened Property Library -Summary(pl.UTF-8): Biblioteka właściwości Ecore +Summary: Ecore Config library +Summary(pl.UTF-8): Biblioteka właściwości Ecore Config Group: Libraries -Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-ipc = %{version}-%{release} +Requires: eet >= %{eet_ver} +Requires: evas >= %{evas_ver} %description config -Ecore Enlightened Property Library. +Ecore Config library. %description config -l pl.UTF-8 -Biblioteka właściwości Ecore. +Biblioteka właściwości Ecore Config. -%package dbus -Summary: Ecore DBus Library -Summary(pl.UTF-8): Biblioteka Ecore DBus -Group: Libraries -Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +%package config-devel +Summary: Header file for Ecore Config library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore Config +Group: Development/Libraries +Requires: %{name}-config = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-ipc-devel = %{version}-%{release} +Requires: eet-devel >= %{eet_ver} +Requires: evas-devel >= %{evas_ver} -%description dbus -Ecore DBus Library. +%description config-devel +Header file for Ecore Config library. -%description dbus -l pl.UTF-8 -Biblioteka Ecore DBus. +%description config-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki właściwości Ecore Config. -%package desktop -Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library -Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu -Group: X11/Libraries -Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +%package config-static +Summary: Static Ecore Config library +Summary(pl.UTF-8): Statyczna biblioteka Ecore Config +Group: Development/Libraries +Requires: %{name}-config-devel = %{version}-%{release} -%description desktop -Ecore freedesktop.org .desktop, icon, menu parsing Library. +%description config-static +Static Ecore Config library. -%description desktop -l pl.UTF-8 -Biblioteka przetwarzania plików .desktop, ikon i menu. +%description config-static -l pl.UTF-8 +Statyczna biblioteka właściwości Ecore Config. %package directfb -Summary: Ecore frame buffer system functions -Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore +Summary: Ecore DirectFB (frame buffer system functions) library +Summary(pl.UTF-8): Biblioteka Ecore DirectFB (funkcji systemowych framebuffera) Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: DirectFB >= 0.9.16 %description directfb -Ecore frame buffer system functions. +Ecore DirectFB (frame buffer system functions) library. %description directfb -l pl.UTF-8 -Funkcje systemowe framebuffera Ecore. +Biblioteka Ecore DirectFB (funkcji systemowych framebuffera). + +%package directfb-devel +Summary: Header file for Ecore DirectFB library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore DirectFB +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-directfb = %{version}-%{release} +Requires: DirectFB-devel >= 0.9.16 + +%description directfb-devel +Header file for Ecore DirectFB (frame buffer system functions) +library. + +%description directfb-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore DirectFB (funkcji systemowych +framebuffera). + +%package directfb-static +Summary: Static Ecore DirectFB library +Summary(pl.UTF-8): Statyczna biblioteka Ecore DirectFB +Group: Development/Libraries +Requires: %{name}-directfb-devel = %{version}-%{release} + +%description directfb-static +Static Ecore DirectFB (frame buffer system functions) library. + +%description directfb-static -l pl.UTF-8 +Statyczna biblioteka Ecore DirectFB (funkcji systemowych +framebuffera). %package evas -Summary: Ecore Evas Wrapper Library -Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper +Summary: Ecore Evas library +Summary(pl.UTF-8): Biblioteka Ecore Evas Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-directfb = %{version}-%{release} +Requires: %{name}-fb = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} +Requires: %{name}-input-evas = %{version}-%{release} +Requires: %{name}-ipc = %{version}-%{release} +Requires: %{name}-sdl = %{version}-%{release} +%if %{with wayland} +Requires: %{name}-wayland = %{version}-%{release} +Requires: Mesa-libEGL >= 7.10 +%endif +Requires: %{name}-x = %{version}-%{release} +Requires: evas >= %{evas_ver} %description evas -Ecore Evas Wrapper Library. +Ecore Evas library. %description evas -l pl.UTF-8 -Biblioteka Ecore Evas Wrapper. +Biblioteka Ecore Evas. + +%package evas-devel +Summary: Header file for Ecore Evas library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore Evas +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-directfb-devel = %{version}-%{release} +Requires: %{name}-evas = %{version}-%{release} +Requires: %{name}-fb-devel = %{version}-%{release} +Requires: %{name}-input-devel = %{version}-%{release} +Requires: %{name}-input-evas-devel = %{version}-%{release} +Requires: %{name}-ipc-devel = %{version}-%{release} +Requires: %{name}-sdl-devel = %{version}-%{release} +%if %{with wayland} +Requires: %{name}-wayland-devel = %{version}-%{release} +Requires: Mesa-libEGL-devel >= 7.10 +Requires: Mesa-libwayland-egl-devel +%endif +Requires: %{name}-x-devel = %{version}-%{release} +Requires: evas-devel >= %{evas_ver} + +%description evas-devel +Header file for Ecore Evas library. + +%description evas-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore Evas. + +%package evas-static +Summary: Static Ecore Evas library +Summary(pl.UTF-8): Biblioteka statyczna Ecore Evas +Group: Development/Libraries +Requires: %{name}-evas-devel = %{version}-%{release} + +%description evas-static +Static Ecore Evas library. + +%description evas-static -l pl.UTF-8 +Biblioteka statyczna Ecore Evas. %package fb -Summary: Ecore frame buffer system functions -Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore +Summary: Ecore FB (frame buffer system functions) library +Summary(pl.UTF-8): Biblioteka Ecore FB (funkcji systemowych framebuffera) Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs %description fb -Ecore frame buffer system functions. +Ecore FB (frame buffer system functions) library. %description fb -l pl.UTF-8 -Funkcje systemowe framebuffera Ecore. +Biblioteka Ecore FB (funkcji systemowych framebuffera). + +%package fb-devel +Summary: Header file for Ecore FB library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore FB +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-fb = %{version}-%{release} +Requires: tslib-devel + +%description fb-devel +Header file for Ecore FB (frame buffer system functions) library. + +%description fb-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore FB (funkcji systemowych +framebuffera). + +%package fb-static +Summary: Static Ecore FB library +Summary(pl.UTF-8): Statyczna biblioteka Ecore FB +Group: Development/Libraries +Requires: %{name}-fb-devel = %{version}-%{release} + +%description fb-static +Static Ecore FB (frame buffer system functions) library. + +%description fb-static -l pl.UTF-8 +Statyczna biblioteka Ecore FB (funkcji systemowych framebuffera). %package file -Summary: Ecore File Library +Summary: Ecore File library Summary(pl.UTF-8): Biblioteka Ecore File Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-con = %{version}-%{release} %description file -Ecore File Library. +Ecore File library. %description file -l pl.UTF-8 Biblioteka Ecore File. +%package file-devel +Summary: Header file for Ecore File library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore File +Group: Development/Libraries +Requires: %{name}-con-devel = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-file = %{version}-%{release} + +%description file-devel +Header file for Ecore File library. + +%description file-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore File. + +%package file-static +Summary: Static Ecore File library +Summary(pl.UTF-8): Statyczna biblioteka Ecore File +Group: Development/Libraries +Requires: %{name}-file-devel = %{version}-%{release} + +%description file-static +Static Ecore File library. + +%description file-static -l pl.UTF-8 +Statyczna biblioteka Ecore File. + +%package imf +Summary: Ecore IMF library +Summary(pl.UTF-8): Biblioteka Ecore IMF +Group: Libraries +Requires: %{name} = %{version}-%{release} + +%description imf +Ecore IMF library. + +%description imf -l pl.UTF-8 +Biblioteka Ecore IMF. + +%package imf-devel +Summary: Header file for Ecore IMF library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore IMF +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-imf = %{version}-%{release} + +%description imf-devel +Header file for Ecore IMF library. + +%description imf-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore IMF. + +%package imf-static +Summary: Static Ecore IMF library +Summary(pl.UTF-8): Statyczna biblioteka Ecore IMF +Group: Development/Libraries +Requires: %{name}-imf-devel = %{version}-%{release} + +%description imf-static +Static Ecore IMF library. + +%description imf-static -l pl.UTF-8 +Statyczna biblioteka Ecore IMF. + +%package imf-evas +Summary: Ecore IMF Evas library +Summary(pl.UTF-8): Biblioteka Ecore IMF Evas +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-imf = %{version}-%{release} +Requires: evas >= %{evas_ver} + +%description imf-evas +Ecore IMF Evas library. + +%description imf-evas -l pl.UTF-8 +Biblioteka Ecore IMF Evas. + +%package imf-evas-devel +Summary: Header file for Ecore IMF Evas library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore IMF Evas +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-imf-devel = %{version}-%{release} +Requires: %{name}-imf-evas = %{version}-%{release} +Requires: evas-devel >= %{evas_ver} + +%description imf-evas-devel +Header file for Ecore IMF Evas library. + +%description imf-evas-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore IMF Evas. + +%package imf-evas-static +Summary: Static Ecore IMF Evas library +Summary(pl.UTF-8): Statyczna biblioteka Ecore IMF Evas +Group: Development/Libraries +Requires: %{name}-imf-evas-devel = %{version}-%{release} + +%description imf-evas-static +Static Ecore IMF Evas library. + +%description imf-evas-static -l pl.UTF-8 +Statyczna biblioteka Ecore IMF Evas. + +%package input +Summary: Ecore Input library +Summary(pl.UTF-8): Biblioteka Ecore Input +Group: Libraries +Requires: %{name} = %{version}-%{release} + +%description input +Ecore Input library. + +%description input -l pl.UTF-8 +Biblioteka Ecore Input. + +%package input-devel +Summary: Header file for Ecore Input library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore Input +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} + +%description input-devel +Header file for Ecore Input library. + +%description input-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore Input. + +%package input-static +Summary: Static Ecore Input library +Summary(pl.UTF-8): Statyczna biblioteka Ecore Input +Group: Development/Libraries +Requires: %{name}-input-devel = %{version}-%{release} + +%description input-static +Static Ecore Input library. + +%description input-static -l pl.UTF-8 +Statyczna biblioteka Ecore Input. + +%package input-evas +Summary: Ecore Input Evas extension library +Summary(pl.UTF-8): Biblioteka rozszerzenia Ecore Input Evas +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} +Requires: evas >= %{evas_ver} + +%description input-evas +Ecore Input Evas extension library. + +%description input-evas -l pl.UTF-8 +Biblioteka rozszerzenia Ecore Input Evas. + +%package input-evas-devel +Summary: Header file for Ecore Input Evas extension library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-input-devel = %{version}-%{release} +Requires: evas-devel >= %{evas_ver} + +%description input-evas-devel +Header file for Ecore Input Evas extension library. + +%description input-evas-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas. + +%package input-evas-static +Summary: Static Ecore Input Evas extension library +Summary(pl.UTF-8): Statyczna biblioteka rozszerzenia Ecore Input Evas +Group: Libraries +Requires: %{name}-input-evas-devel = %{version}-%{release} + +%description input-evas-static +Static Ecore Input Evas extension library. + +%description input-evas-static -l pl.UTF-8 +Statyczna biblioteka rozszerzenia Ecore Input Evas. + %package ipc -Summary: Ecore inter-process communication functions -Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore +Summary: Ecore IPC (inter-process communication functions) library +Summary(pl.UTF-8): Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej) Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-con = %{version}-%{release} %description ipc -Ecore inter-process communication functions. +Ecore IPC (inter-process communication functions) library. %description ipc -l pl.UTF-8 -Funkcje komunikacji międzyprocesowej Ecore. +Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej). + +%package ipc-devel +Summary: Header file for Ecore IPC library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore IPC +Group: Development/Libraries +Requires: %{name}-con-devel = %{version}-%{release} +Requires: %{name}-ipc = %{version}-%{release} + +%description ipc-devel +Header file for Ecore IPC (inter-process communication functions) +library. + +%description ipc-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore IPC (funkcji komunikacji +międzyprocesowej). + +%package ipc-static +Summary: Static Ecore IPC library +Summary(pl.UTF-8): Statyczna biblioteka Ecore IPC +Group: Development/Libraries +Requires: %{name}-ipc-devel = %{version}-%{release} + +%description ipc-static +Static Ecore IPC (inter-process communication functions) library. + +%description ipc-static -l pl.UTF-8 +Statyczna biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej). -%package job -Summary: Ecore job dealing functions -Summary(pl.UTF-8): Funkcje obsługi zadań Ecore +%package sdl +Summary: Ecore SDL library +Summary(pl.UTF-8): Biblioteka Ecore SDL Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-input = %{version}-%{release} +Requires: SDL >= 1.2.0 + +%description sdl +Ecore SDL library. + +%description sdl -l pl.UTF-8 +Biblioteka Ecore SDL. + +%package sdl-devel +Summary: Header file for Ecore SDL library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore SDL +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-input-devel = %{version}-%{release} +Requires: SDL-devel >= 1.2.0 + +%description sdl-devel +Header file for Ecore SDL library. + +%description sdl-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore SDL. -%description job -Ecore job dealing functions. +%package sdl-static +Summary: Static Ecore SDL library +Summary(pl.UTF-8): Statyczna biblioteka Ecore SDL +Group: Development/Libraries +Requires: %{name}-sdl-devel = %{version}-%{release} + +%description sdl-static +Static Ecore SDL library. -%description job -l pl.UTF-8 -Funkcje obsługi zadań Ecore. +%description sdl-static -l pl.UTF-8 +Statyczna biblioteka Ecore SDL. -%package txt -Summary: Ecore text encoding conversion functions -Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore +%package wayland +Summary: Ecore Wayland library +Summary(pl.UTF-8): Biblioteka Ecore Wayland Group: Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-input = %{version}-%{release} +Requires: wayland >= 1.0.0 + +%description wayland +Ecore Wayland library. + +%description wayland -l pl.UTF-8 +Biblioteka Ecore Wayland. + +%package wayland-devel +Summary: Header file for Ecore Wayland library +Summary(pl.UTF-8): Plik nagłówkowy biblioteki Ecore Wayland +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-input-devel = %{version}-%{release} +Requires: wayland-devel >= 1.0.0 + +%description wayland-devel +Header file for Ecore Wayland library. + +%description wayland-devel -l pl.UTF-8 +Plik nagłówkowy biblioteki Ecore Wayland. + +%package wayland-static +Summary: Static Ecore Wayland library +Summary(pl.UTF-8): Statyczna biblioteka Ecore Wayland +Group: Development/Libraries +Requires: %{name}-wayland-devel = %{version}-%{release} -%description txt -Ecore text encoding conversion functions. +%description wayland-static +Static Ecore Wayland library. -%description txt -l pl.UTF-8 -Funkcje konwersji kodowania tekstu Ecore. +%description wayland-static -l pl.UTF-8 +Statyczna biblioteka Ecore Wayland. %package x -Summary: Ecore functions for dealing with the X Window System -Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System +Summary: Ecore X (functions for dealing with the X Window System) library +Summary(pl.UTF-8): Biblioteka Ecore X (funkcji do obsługi X Window System) Group: X11/Libraries Requires: %{name} = %{version}-%{release} -Conflicts: ecore-libs +Requires: %{name}-input = %{version}-%{release} %description x -Ecore functions for dealing with the X Window System. +Ecore X (functions for dealing with the X Window System) library. %description x -l pl.UTF-8 -Funkcje Ecore do obsługi X Window System. +Biblioteka Ecore X (funkcji do obsługi X Window System). -%package devel -Summary: Ecore header files -Summary(pl.UTF-8): Pliki nagłówkowe Ecore +%package x-devel +Summary: Header files for Ecore X library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Ecore X Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: %{name}-con = %{version}-%{release} -Requires: %{name}-config = %{version}-%{release} -Requires: %{name}-dbus = %{version}-%{release} -Requires: %{name}-desktop = %{version}-%{release} -Requires: %{name}-directfb = %{version}-%{release} -Requires: %{name}-evas = %{version}-%{release} -Requires: %{name}-fb = %{version}-%{release} -Requires: %{name}-file = %{version}-%{release} -Requires: %{name}-ipc = %{version}-%{release} -Requires: %{name}-job = %{version}-%{release} -Requires: %{name}-txt = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-input-devel = %{version}-%{release} Requires: %{name}-x = %{version}-%{release} -Requires: curl-devel -Requires: evas-devel -Requires: openssl-devel +%if %{with xcb} +Requires: libxcb-devel +Requires: pixman-devel +Requires: xcb-util-devel >= 0.3.8 +Requires: xcb-util-image-devel +Requires: xcb-util-keysyms-devel >= 0.3.8 +Requires: xcb-util-wm-devel >= 0.3.8 +%else +Requires: xorg-lib-libX11-devel +Requires: xorg-lib-libXScrnSaver-devel +Requires: xorg-lib-libXcomposite-devel +Requires: xorg-lib-libXcursor-devel +Requires: xorg-lib-libXdamage-devel +Requires: xorg-lib-libXext-devel +Requires: xorg-lib-libXfixes-devel +Requires: xorg-lib-libXi-devel >= 1.3 +Requires: xorg-lib-libXinerama-devel +Requires: xorg-lib-libXp-devel +Requires: xorg-lib-libXrandr-devel +Requires: xorg-lib-libXrender-devel +Requires: xorg-lib-libXtst-devel +%endif -%description devel -Ecore development files. +%description x-devel +Header files for Ecore X (functions for dealing with the X Window +System) library. -%description devel -l pl.UTF-8 -Pliki programistyczne Ecore. +%description x-devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki Ecore X (funkcji do obsługi X Window +System). -%package static -Summary: Static Ecore libraries -Summary(pl.UTF-8): Statyczne biblioteki Ecore +%package x-static +Summary: Static Ecore X library +Summary(pl.UTF-8): Statyczna biblioteka Ecore X Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-x-devel = %{version}-%{release} -%description static -Static Ecore libraries. +%description x-static +Static Ecore X (functions for dealing with the X Window System) +library. -%description static -l pl.UTF-8 -Statyczne biblioteki Ecore. +%description x-static -l pl.UTF-8 +Statyczna biblioteka Ecore X (funkcji do obsługi X Window System). + +%package module-ibus +Summary: Ecore IBus input method module +Summary(pl.UTF-8): Ecore - moduł metody wprowadzania znaków IBus +Group: X11/Libraries +Requires: %{name}-imf = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} +Requires: %{name}-x = %{version}-%{release} +Requires: ibus >= 1.4 + +%description module-ibus +Ecore IBus input method module. + +%description module-ibus -l pl.UTF-8 +Ecore - moduł metody wprowadzania znaków IBus. + +%package module-scim +Summary: Ecore SCIM input method module +Summary(pl.UTF-8): Ecore - moduł metody wprowadzania znaków SCIM +Group: X11/Libraries +Requires: %{name}-imf = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} +Requires: %{name}-x = %{version}-%{release} +Requires: scim + +%description module-scim +Ecore SCIM input method module. + +%description module-scim -l pl.UTF-8 +Ecore - moduł metody wprowadzania znaków SCIM. + +%package module-xim +Summary: Ecore XIM input method module +Summary(pl.UTF-8): Ecore - moduł metody wprowadzania znaków XIM +Group: X11/Libraries +Requires: %{name}-imf = %{version}-%{release} +Requires: %{name}-input = %{version}-%{release} +Requires: %{name}-x = %{version}-%{release} + +%description module-xim +Ecore XIM input method module. + +%description module-xim -l pl.UTF-8 +Ecore - moduł metody wprowadzania znaków XIM. %prep %setup -q @@ -249,35 +788,37 @@ Statyczne biblioteki Ecore. %{__autoheader} %{__automake} %configure \ + --disable-silent-rules \ %{!?with_static_libs:--disable-static} \ - --enable-ecore-txt \ - --enable-ecore-x \ - --enable-ecore-job \ + --disable-ecore-evas-software-8-x11 \ + --enable-ecore-con \ + --enable-ecore-directfb \ --enable-ecore-fb \ + --enable-ecore-file \ + --enable-ecore-ipc \ + --enable-ecore-sdl \ + %{!?with_wayland:--disable-ecore-wayland} \ + --enable-ecore-x \ + %{?with_xcb_api:--enable-ecore-x-xcb} \ --enable-ecore-evas \ - --enable-ecore-evas-gl \ - --enable-ecore-evas-xrender \ - --enable-ecore-evas-dfb \ --enable-ecore-evas-fb \ - --enable-ecore-evas-buffer \ - --enable-ecore-con \ - --enable-openssl \ - --enable-ecore-ipc \ - --enable-ecore-dbus \ - --enable-ecore-config \ - --enable-ecore-file \ - --enable-inotify \ - --enable-poll \ + --enable-cares \ --enable-curl \ - --enable-pthreads + --enable-inotify \ + --enable-poll %{__make} %install rm -rf $RPM_BUILD_ROOT + %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} $RPM_BUILD_ROOT%{_libdir}/ecore/immodules/*.la + +%find_lang %{name} --all-name + %clean rm -rf $RPM_BUILD_ROOT @@ -287,92 +828,325 @@ rm -rf $RPM_BUILD_ROOT %postun con -p /sbin/ldconfig %post config -p /sbin/ldconfig %postun config -p /sbin/ldconfig -%post dbus -p /sbin/ldconfig -%postun dbus -p /sbin/ldconfig %post directfb -p /sbin/ldconfig %postun directfb -p /sbin/ldconfig -%post desktop -p /sbin/ldconfig -%postun desktop -p /sbin/ldconfig %post evas -p /sbin/ldconfig %postun evas -p /sbin/ldconfig %post fb -p /sbin/ldconfig %postun fb -p /sbin/ldconfig %post file -p /sbin/ldconfig %postun file -p /sbin/ldconfig +%post imf -p /sbin/ldconfig +%postun imf -p /sbin/ldconfig +%post imf-evas -p /sbin/ldconfig +%postun imf-evas -p /sbin/ldconfig +%post input -p /sbin/ldconfig +%postun input -p /sbin/ldconfig +%post input-evas -p /sbin/ldconfig +%postun input-evas -p /sbin/ldconfig %post ipc -p /sbin/ldconfig %postun ipc -p /sbin/ldconfig -%post job -p /sbin/ldconfig -%postun job -p /sbin/ldconfig -%post txt -p /sbin/ldconfig -%postun txt -p /sbin/ldconfig +%post sdl -p /sbin/ldconfig +%postun sdl -p /sbin/ldconfig %post x -p /sbin/ldconfig %postun x -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS COPYING COPYING-PLAIN INSTALL README +%doc AUTHORS COPYING ChangeLog NEWS README %attr(755,root,root) %{_libdir}/libecore.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore.so.1 +%dir %{_libdir}/ecore +%dir %{_libdir}/ecore/immodules + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore.so +%{_libdir}/libecore.la +%dir %{_includedir}/ecore-1 +%{_includedir}/ecore-1/Ecore.h +%{_includedir}/ecore-1/Ecore_Getopt.h +%{_pkgconfigdir}/ecore.pc + +%if %{with static_libs} +%files static +%defattr(644,root,root,755) +%{_libdir}/libecore.a +%endif %files con %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_con.so.1 + +%files con-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_con.so +%{_libdir}/libecore_con.la +%{_includedir}/ecore-1/Ecore_Con.h +%{_pkgconfigdir}/ecore-con.pc + +%if %{with static_libs} +%files con-static +%defattr(644,root,root,755) +%{_libdir}/libecore_con.a +%endif +%if 0 %files config %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/ecore_config %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_config.so.1 -%files dbus +%files config-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.* +%attr(755,root,root) %{_libdir}/libecore_config.so +%{_libdir}/libecore_config.la +%{_includedir}/ecore-1/Ecore_Config.h +%{_pkgconfigdir}/ecore-config.pc + +%if %{with static_libs} +%files config-static +%defattr(644,root,root,755) +%{_libdir}/libecore_config.a +%endif +%endif %files directfb %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_directfb.so.1 -%files desktop +%files directfb-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.* +%attr(755,root,root) %{_libdir}/libecore_directfb.so +%{_libdir}/libecore_directfb.la +%{_includedir}/ecore-1/Ecore_DirectFB.h +%{_pkgconfigdir}/ecore-directfb.pc + +%if %{with static_libs} +%files directfb-static +%defattr(644,root,root,755) +%{_libdir}/libecore_directfb.a +%endif %files evas %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_evas.so.1 + +%files evas-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_evas.so +%{_libdir}/libecore_evas.la +%{_includedir}/ecore-1/Ecore_Evas.h +%{_pkgconfigdir}/ecore-evas.pc + +%if %{with static_libs} +%files evas-static +%defattr(644,root,root,755) +%{_libdir}/libecore_evas.a +%endif %files fb %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_fb.so.1 + +%files fb-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_fb.so +%{_libdir}/libecore_fb.la +%{_includedir}/ecore-1/Ecore_Fb.h +%{_pkgconfigdir}/ecore-fb.pc + +%if %{with static_libs} +%files fb-static +%defattr(644,root,root,755) +%{_libdir}/libecore_fb.a +%endif %files file %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_file.so.1 + +%files file-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_file.so +%{_libdir}/libecore_file.la +%{_includedir}/ecore-1/Ecore_File.h +%{_pkgconfigdir}/ecore-file.pc + +%if %{with static_libs} +%files file-static +%defattr(644,root,root,755) +%{_libdir}/libecore_file.a +%endif + +%files imf +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_imf.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_imf.so.1 + +%files imf-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_imf.so +%{_libdir}/libecore_imf.la +%{_includedir}/ecore-1/Ecore_IMF.h +%{_pkgconfigdir}/ecore-imf.pc + +%if %{with static_libs} +%files imf-static +%defattr(644,root,root,755) +%{_libdir}/libecore_imf.a +%endif + +%files imf-evas +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas.so.1 + +%files imf-evas-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_imf_evas.so +%{_libdir}/libecore_imf_evas.la +%{_includedir}/ecore-1/Ecore_IMF_Evas.h +%{_pkgconfigdir}/ecore-imf-evas.pc + +%if %{with static_libs} +%files imf-evas-static +%defattr(644,root,root,755) +%{_libdir}/libecore_imf_evas.a +%endif + +%files input +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_input.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_input.so.1 + +%files input-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_input.so +%{_libdir}/libecore_input.la +%{_includedir}/ecore-1/Ecore_Input.h +%{_pkgconfigdir}/ecore-input.pc + +%if %{with static_libs} +%files input-static +%defattr(644,root,root,755) +%{_libdir}/libecore_input.a +%endif + +%files input-evas +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_input_evas.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_input_evas.so.1 + +%files input-evas-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_input_evas.so +%{_libdir}/libecore_input_evas.la +%{_includedir}/ecore-1/Ecore_Input_Evas.h +%{_pkgconfigdir}/ecore-input-evas.pc + +%if %{with static_libs} +%files input-evas-static +%defattr(644,root,root,755) +%{_libdir}/libecore_input_evas.a +%endif %files ipc %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_ipc.so.1 + +%files ipc-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_ipc.so +%{_libdir}/libecore_ipc.la +%{_includedir}/ecore-1/Ecore_Ipc.h +%{_pkgconfigdir}/ecore-ipc.pc + +%if %{with static_libs} +%files ipc-static +%defattr(644,root,root,755) +%{_libdir}/libecore_ipc.a +%endif + +%files sdl +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_sdl.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_sdl.so.1 + +%files sdl-devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_sdl.so +%{_libdir}/libecore_sdl.la +%{_includedir}/ecore-1/Ecore_Sdl.h +%{_pkgconfigdir}/ecore-sdl.pc + +%if %{with static_libs} +%files sdl-static +%defattr(644,root,root,755) +%{_libdir}/libecore_sdl.a +%endif + +%if %{with wayland} +%files wayland +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libecore_wayland.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_wayland.so.1 -%files job +%files wayland-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libecore_job.so.*.*.* +%attr(755,root,root) %{_libdir}/libecore_wayland.so +%{_libdir}/libecore_wayland.la +%{_includedir}/ecore-1/Ecore_Wayland.h +%{_pkgconfigdir}/ecore-wayland.pc -%files txt +%if %{with static_libs} +%files wayland-static %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.* +%{_libdir}/libecore_wayland.a +%endif +%endif %files x %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libecore_x.so.1 -%files devel +%files x-devel %defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/ecore-config -%attr(755,root,root) %{_libdir}/libecore*.so -%{_libdir}/libecore*.la -%{_pkgconfigdir}/ecore.pc -%{_aclocaldir}/ecore.m4 -%{_includedir}/Ecore*.h +%attr(755,root,root) %{_libdir}/libecore_x.so +%{_libdir}/libecore_x.la +%{_includedir}/ecore-1/Ecore_X.h +%{_includedir}/ecore-1/Ecore_X_Atoms.h +%{_includedir}/ecore-1/Ecore_X_Cursor.h +%{_pkgconfigdir}/ecore-x.pc %if %{with static_libs} -%files static +%files x-static +%defattr(644,root,root,755) +%{_libdir}/libecore_x.a +%endif + +%if %{with ibus} +%files module-ibus +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/ecore/immodules/ibus.so +%endif + +%if %{with scim} +%files module-scim +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/ecore/immodules/scim.so +%endif + +%if %{without xcb_api} +%files module-xim %defattr(644,root,root,755) -%{_libdir}/libecore*.a +%attr(755,root,root) %{_libdir}/ecore/immodules/xim.so %endif