summaryrefslogtreecommitdiff
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
parenteed9825834f1d24c38ae73b11f31a8cdcf8ff8ab (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
-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 ce8f3a2..9c087a8 100644
--- a/spec/efl.spec.in
+++ b/spec/efl.spec.in
@@ -7,50 +7,90 @@ Version: @VERSION@
7Release: %{_rel} 7Release: %{_rel}
8License: LGPLv2.1 GPLv2.1 BSD 8License: LGPLv2.1 GPLv2.1 BSD
9Group: System Environment/Libraries 9Group: System Environment/Libraries
10URL: http://www.enlightenment.org/
10Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz 11Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz
11Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project <enlightenment-devel@lists.sourceforge.net>} 12Packager: %{?_packager:%{_packager}}%{!?_packager:The Enlightenment Project <enlightenment-devel@lists.sourceforge.net>}
12Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} 13Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} 14Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14URL: http://www.enlightenment.org/ 15BuildRequires: libjpeg-devel, zlib-devel, giflib-devel
15BuildRequires: libjpeg-devel zlib-devel 16BuildRequires: fribidi-devel, mesa-libGL-devel
17BuildRequires: libX11-devel, libXinerama-devel, libXrender-devel, libXScrnSaver-devel
18Provides: eo = %{version}-%{release}
19Obsoletes: eo < %{version}-%{release}
20Provides: eina = %{version}-%{release}
21Obsoletes: eina < %{version}-%{release}
22Provides: eet = %{version}-%{release}
23Obsoletes: eet < %{version}-%{release}
24Provides: embryo = %{version}-%{release}
25Obsoletes: embryo < %{version}-%{release}
26Provides: evas = %{version}-%{release}
27Obsoletes: evas < %{version}-%{release}
28Provides: eio = %{version}-%{release}
29Obsoletes: eio < %{version}-%{release}
30Provides: ecore = %{version}-%{release}
31Obsoletes: ecore < %{version}-%{release}
16BuildRoot: %{_tmppath}/%{name}-%{version}-root 32BuildRoot: %{_tmppath}/%{name}-%{version}-root
17Provides: eo, eina, eet, embryo, evas, eio, ecore
18 33
19%description 34%description
20EFL is a copllection of libraries ranging from data structure handling 35The Enlightenment Foundation Libraries are a collection of libraries
21through to communications, rendering and widgets. 36and tools upon which sophisticated graphical applications can be
37built. Included are a data structure library (Eina), a C-based object
38engine (EO), a data storage library (EET), an object canvas (Evas),
39and more.
22 40
23%package devel 41%package devel
24Summary: EFL headers, static libraries, documentation and test programs 42Summary: EFL headers, static libraries, documentation and test programs
25Group: System Environment/Libraries 43Group: System Environment/Libraries
26Requires: %{name} = %{version} 44Requires: %{name} = %{version}
27Provides: eo-devel, eina-devel, eet-devel, embryo-devel, evas-devel 45Provides: eo-devel = %{version}-%{release}
46Obsoletes: eo-devel < %{version}-%{release}
47Provides: eina-devel = %{version}-%{release}
48Obsoletes: eina-devel < %{version}-%{release}
49Provides: eet-devel = %{version}-%{release}
50Obsoletes: eet-devel < %{version}-%{release}
51Provides: embryo-devel = %{version}-%{release}
52Obsoletes: embryo-devel < %{version}-%{release}
53Provides: evas-devel = %{version}-%{release}
54Obsoletes: evas-devel < %{version}-%{release}
55Provides: eio-devel = %{version}-%{release}
56Obsoletes: eio-devel < %{version}-%{release}
57Provides: ecore-devel = %{version}-%{release}
58Obsoletes: ecore-devel < %{version}-%{release}
28 59
29%description devel 60%description devel
30Headers, static libraries, test programs and documentation for EFL 61Headers, static libraries, test programs and documentation for EFL
31 62
63
32%prep 64%prep
33%setup -q 65%setup -q
34 66
67
35%build 68%build
36%{configure} --prefix=%{_prefix} 69%{configure} --prefix=%{_prefix}
37### use this if you have build problems 70### use this if you have build problems
38#./configure --prefix=%{_prefix} 71#./configure --prefix=%{_prefix}
39%{__make} %{?_smp_mflags} %{?mflags} 72%{__make} %{?_smp_mflags} %{?mflags}
40 73
74
41%install 75%install
42%{__make} %{?mflags_install} -j 1 DESTDIR=$RPM_BUILD_ROOT install 76%{__make} %{?mflags_install} -j1 DESTDIR=$RPM_BUILD_ROOT install
77
78%{find_lang} %{name}
79
43 80
44%clean 81%clean
45test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT 82test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
46 83
84
47%post 85%post
48/sbin/ldconfig 86/sbin/ldconfig
49 87
88
50%postun 89%postun
51/sbin/ldconfig 90/sbin/ldconfig
52 91
53%files 92
93%files -f %{name}.lang
54%defattr(-, root, root) 94%defattr(-, root, root)
55%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL 95%doc AUTHORS README NEWS COPYING licenses/COPYING.BSD licenses/COPYING.LGPL licenses/COPYING.GPL
56%{_bindir}/* 96%{_bindir}/*
@@ -62,8 +102,7 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
62%{_libdir}/ecore/*/*.so 102%{_libdir}/ecore/*/*.so
63%{_libdir}/ecore_evas/*/*/*/*.so 103%{_libdir}/ecore_evas/*/*/*/*.so
64%{_libexecdir}/* 104%{_libexecdir}/*
65%{_datadir}/locale/*/LC_MESSAGES/efl.mo 105%{_datadir}/eo/
66%{_datadir}/eo/*
67 106
68%files devel 107%files devel
69%defattr(-, root, root) 108%defattr(-, root, root)
@@ -78,7 +117,8 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
78%{_libdir}/evas/modules/engines/*/linux-gnu-*/*.la 117%{_libdir}/evas/modules/engines/*/linux-gnu-*/*.la
79%{_libdir}/evas/modules/loaders/*/linux-gnu-*/*.la 118%{_libdir}/evas/modules/loaders/*/linux-gnu-*/*.la
80%{_libdir}/evas/modules/savers/*/linux-gnu-*/*.la 119%{_libdir}/evas/modules/savers/*/linux-gnu-*/*.la
81%{_datadir}/embryo 120%{_datadir}/embryo/
82%{_datadir}/evas 121%{_datadir}/evas/
122
83 123
84%changelog 124%changelog