path: root/spec
diff options
authorMichael Jennings <mej@kainx.org>2012-12-26 08:55:47 +0000
committerMichael Jennings <mej@kainx.org>2012-12-26 08:55:47 +0000
commitf1bc91e76f21f15ce1a0a6d0f03516417c32dc97 (patch)
tree638b85b4e29c119658d55bc6bb32a5e8e1077e48 /spec
parentEo tutorial in Doxygen format. (diff)
The OBS stuff is an utter catastrophe, so I'm trying to make this
thing work. This builds for me on SL6.3; YMMV. Problem reports welcome. SVN revision: 81702
Diffstat (limited to 'spec')
1 files changed, 52 insertions, 12 deletions
diff --git a/spec/efl.spec.in b/spec/efl.spec.in
index ce8f3a2fcd..9c087a8dc5 100644
--- a/spec/efl.spec.in
+++ b/spec/efl.spec.in
@@ -7,50 +7,90 @@ Version: @VERSION@
Release: %{_rel}
License: LGPLv2.1 GPLv2.1 BSD
Group: System Environment/Libraries
+URL: http://www.enlightenment.org/
Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project <enlightenment-devel@lists.sourceforge.net>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
-URL: http://www.enlightenment.org/
-BuildRequires: libjpeg-devel zlib-devel
+BuildRequires: libjpeg-devel, zlib-devel, giflib-devel
+BuildRequires: fribidi-devel, mesa-libGL-devel
+BuildRequires: libX11-devel, libXinerama-devel, libXrender-devel, libXScrnSaver-devel
+Provides: eo = %{version}-%{release}
+Obsoletes: eo < %{version}-%{release}
+Provides: eina = %{version}-%{release}
+Obsoletes: eina < %{version}-%{release}
+Provides: eet = %{version}-%{release}
+Obsoletes: eet < %{version}-%{release}
+Provides: embryo = %{version}-%{release}
+Obsoletes: embryo < %{version}-%{release}
+Provides: evas = %{version}-%{release}
+Obsoletes: evas < %{version}-%{release}
+Provides: eio = %{version}-%{release}
+Obsoletes: eio < %{version}-%{release}
+Provides: ecore = %{version}-%{release}
+Obsoletes: ecore < %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Provides: eo, eina, eet, embryo, evas, eio, ecore
-EFL is a copllection of libraries ranging from data structure handling
-through to communications, rendering and widgets.
+The Enlightenment Foundation Libraries are a collection of libraries
+and tools upon which sophisticated graphical applications can be
+built. Included are a data structure library (Eina), a C-based object
+engine (EO), a data storage library (EET), an object canvas (Evas),
+and more.
%package devel
Summary: EFL headers, static libraries, documentation and test programs
Group: System Environment/Libraries
Requires: %{name} = %{version}
-Provides: eo-devel, eina-devel, eet-devel, embryo-devel, evas-devel
+Provides: eo-devel = %{version}-%{release}
+Obsoletes: eo-devel < %{version}-%{release}
+Provides: eina-devel = %{version}-%{release}
+Obsoletes: eina-devel < %{version}-%{release}
+Provides: eet-devel = %{version}-%{release}
+Obsoletes: eet-devel < %{version}-%{release}
+Provides: embryo-devel = %{version}-%{release}
+Obsoletes: embryo-devel < %{version}-%{release}
+Provides: evas-devel = %{version}-%{release}
+Obsoletes: evas-devel < %{version}-%{release}
+Provides: eio-devel = %{version}-%{release}
+Obsoletes: eio-devel < %{version}-%{release}
+Provides: ecore-devel = %{version}-%{release}
+Obsoletes: ecore-devel < %{version}-%{release}
%description devel
Headers, static libraries, test programs and documentation for EFL
%setup -q
%{configure} --prefix=%{_prefix}
### use this if you have build problems
#./configure --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags}
-%{__make} %{?mflags_install} -j 1 DESTDIR=$RPM_BUILD_ROOT install
+%{__make} %{?mflags_install} -j1 DESTDIR=$RPM_BUILD_ROOT install
+%{find_lang} %{name}
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
+%files -f %{name}.lang
%defattr(-, root, root)
@@ -62,8 +102,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-, root, root)
@@ -78,7 +117,8 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT