aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/ecore.spec.in
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/ecore/ecore.spec.in
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/ecore/ecore.spec.in')
-rw-r--r--libraries/ecore/ecore.spec.in233
1 files changed, 0 insertions, 233 deletions
diff --git a/libraries/ecore/ecore.spec.in b/libraries/ecore/ecore.spec.in
deleted file mode 100644
index bab3df5..0000000
--- a/libraries/ecore/ecore.spec.in
+++ /dev/null
@@ -1,233 +0,0 @@
1# Conditional build stuff; from rpm 4.4 /usr/lib/rpm/macros.
2# bcond_without defaults to WITH, and vice versa. Yes, it's
3# ass-backward. Blame PLD.
4# from KainX's changes to evas...
5%if %{!?with:1}0
6%define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
7%endif
8%if %{!?without:1}0
9%define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
10%endif
11%if %{!?bcond_with:1}0
12%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
13%endif
14%if %{!?bcond_without:1}0
15%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
16%endif
17
18## disabled features
19%bcond_with lib_ecore_directfb
20%bcond_with lib_ecore_sdl
21
22## enabled features
23##%bcond_without module_engine_software_x11
24%bcond_without lib_ecore_fb
25%bcond_without lib_ecore_imf
26
27# This just keeps a missing doxygen from killing the build.
28%define _missing_doc_files_terminate_build 0
29
30%define breq_lib_ecore_directfb %{?with_lib_ecore_directfb:DirectFB}
31%define breq_lib_ecore_sdl %{?with_lib_ecore_sdl:SDL-devel}
32
33%define ac_with_lib_ecore_directfb --%{?with_lib_ecore_directfb:en}%{!?with_lib_ecore_directfb:dis}able-ecore-directfb
34%define ac_with_lib_ecore_fb --%{?with_lib_ecore_fb:en}%{!?with_lib_ecore_fb:dis}able-ecore-fb
35%define ac_with_lib_ecore_imf --%{?with_lib_ecore_imf:en}%{!?with_lib_ecore_imf:dis}able-ecore-imf
36%define ac_with_lib_ecore_sdl --%{?with_lib_ecore_sdl:en}%{!?with_lib_ecore_sdl:dis}able-ecore-sdl
37
38%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
39
40Summary: Enlightened Core X interface library
41Name: @PACKAGE@
42Version: @VERSION@
43Release: %{_rel}
44License: BSD
45Group: User Interface/X
46Source: %{name}-%{version}.tar.gz
47URL: http://www.enlightenment.org
48Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
49Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
50Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
51#BuildSuggests: xorg-x11-devel, XFree86-devel, libX11-devel, c-ares-devel
52BuildRequires: libjpeg-devel, openssl-devel %{?breq_lib_ecore_directfb}
53BuildRequires: curl-devel, evas-devel, eet-devel %{?breq_lib_ecore_sdl}
54BuildRoot: %{_tmppath}/%{name}-%{version}-root
55
56%description
57Ecore is the event/X abstraction layer that makes doing selections,
58Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
59optimized, and convenient. It's a separate library so anyone can make
60use of the work put into Ecore to make this job easy for applications.
61
62%package devel
63Summary: Ecore headers and development libraries.
64Group: Development/Libraries
65Requires: %{name} = %{version}
66Requires: curl-devel, openssl-devel, evas-devel, eet-devel
67Requires: ecore-con, ecore-evas, ecore-file, ecore-ipc
68Requires: ecore-x %{?with_lib_ecore_fb:ecore-fb} %{?with_lib_ecore_directfb:ecore-directfb}
69
70%description devel
71Ecore development files
72
73%package con
74Summary: Ecore Connection Library
75Group: Development/Libraries
76Requires: %{name} = %{version}
77
78%description con
79Ecore Connection Library
80
81%if %{with lib_ecore_directfb}
82%package directfb
83Summary: Ecore DirectFB system functions
84Group: Development/Libraries
85Requires: %{name} = %{version}
86%description directfb
87Ecore DirectFB system functions
88%endif
89
90%package evas
91Summary: Ecore Evas Wrapper Library
92Group: Development/Libraries
93Requires: %{name} = %{version}
94
95%description evas
96Ecore Evas Wrapper Library
97
98%if %{with lib_ecore_fb}
99%package fb
100Summary: Ecore frame buffer system functions
101Group: Development/Libraries
102Requires: %{name} = %{version}
103%description fb
104Ecore frame buffer system functions
105%endif
106
107%package file
108Summary: Ecore File Library
109Group: Development/Libraries
110Requires: %{name} = %{version}
111
112%description file
113Ecore File Library
114
115%if %{with lib_ecore_imf}
116%package imf
117Summary: Ecore IMF functions
118Group: Development/Libraries
119Requires: %{name} = %{version}
120%description imf
121Ecore IMF functions
122%endif
123
124%package input
125Summary: Ecore input functions
126Group: Development/Libraries
127Requires: %{name} = %{version}
128
129%description input
130Ecore input functions
131
132%package ipc
133Summary: Ecore inter-process communication functions
134Group: Development/Libraries
135Requires: %{name} = %{version}
136
137%description ipc
138Ecore inter-process communication functions
139
140%package x
141Summary: Ecore functions for dealing with the X Windows System
142Group: Development/Libraries
143Requires: %{name} = %{version}
144
145%description x
146Ecore functions for dealing with the X Windows System
147
148%prep
149%setup -q
150
151%build
152CFLAGS="-I/usr/kerberos/include -I/usr/X11R6/include/X11/extensions"
153LDFLAGS="-L/usr/kerberos/lib -L/usr/X11R6/%{_lib}"
154export CFLAGS LDFLAGS
155%{configure} --prefix=%{_prefix} \
156 %{?ac_with_lib_ecore_directfb} \
157 %{?ac_with_lib_ecore_fb} \
158 %{?ac_with_lib_ecore_imf} \
159 %{?ac_with_lib_ecore_sdl}
160
161%{__make} %{?_smp_mflags} %{?mflags}
162
163%install
164%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
165%{find_lang} %{name}
166
167%post
168/sbin/ldconfig || :
169
170%postun
171/sbin/ldconfig || :
172
173%clean
174test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
175
176%files -f %{name}.lang
177%defattr(-, root, root)
178%doc AUTHORS COPYING* README*
179%{_libdir}/libecore*.so.*
180
181%files devel
182%defattr(-, root, root)
183%doc doc/html
184%{_libdir}/*.so
185%{_libdir}/ecore/immodules/*.so
186%{_libdir}/ecore/immodules/*.la
187%{_libdir}/*.la
188%{_libdir}/*.a
189%{_libdir}/pkgconfig/*
190#%{_datadir}/aclocal/*
191%{_includedir}/ecore-1/*.h
192
193%files con
194%defattr(-, root, root)
195%{_libdir}/libecore_con*.so.*
196
197%if %{with lib_ecore_directfb}
198%files directfb
199%defattr(-, root, root)
200%{_libdir}/libecore_directfb*.so.*
201%endif
202
203%files evas
204%defattr(-, root, root)
205%{_libdir}/libecore_evas*.so.*
206
207%if %{with lib_ecore_fb}
208%files fb
209%defattr(-, root, root)
210%{_libdir}/libecore_fb*.so.*
211%endif
212
213%files file
214%defattr(-, root, root)
215%{_libdir}/libecore_file*.so.*
216
217%if %{with lib_ecore_imf}
218%files imf
219%defattr(-, root, root)
220%{_libdir}/libecore_imf*.so.*
221%endif
222
223%files input
224%defattr(-, root, root)
225%{_libdir}/libecore_input*.so.*
226
227%files ipc
228%defattr(-, root, root)
229%{_libdir}/libecore_ipc*.so.*
230
231%files x
232%defattr(-, root, root)
233%{_libdir}/libecore_x*.so.*