aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
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)
downloadefl-f1bc91e76f21f15ce1a0a6d0f03516417c32dc97.tar.gz
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')
-rw-r--r--spec/efl.spec.in64
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
%description
-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
+
%prep
%setup -q
+
%build
%{configure} --prefix=%{_prefix}
### use this if you have build problems
#./configure --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags}
+
%install
-%{__make} %{?mflags_install} -j 1 DESTDIR=$RPM_BUILD_ROOT install
+%{__make} %{?mflags_install} -j1 DESTDIR=$RPM_BUILD_ROOT install
+
+%{find_lang} %{name}
+
%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
+
%post
/sbin/ldconfig
+
%postun
/sbin/ldconfig
-%files
+
+%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL
%{_bindir}/*
@@ -62,8 +102,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%{_libdir}/ecore/*/*.so
%{_libdir}/ecore_evas/*/*/*/*.so
%{_libexecdir}/*
-%{_datadir}/locale/*/LC_MESSAGES/efl.mo
-%{_datadir}/eo/*
+%{_datadir}/eo/
%files devel
%defattr(-, root, root)
@@ -78,7 +117,8 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%{_libdir}/evas/modules/engines/*/linux-gnu-*/*.la
%{_libdir}/evas/modules/loaders/*/linux-gnu-*/*.la
%{_libdir}/evas/modules/savers/*/linux-gnu-*/*.la
-%{_datadir}/embryo
-%{_datadir}/evas
+%{_datadir}/embryo/
+%{_datadir}/evas/
+
%changelog