2003-09-23 01:09:32 -07:00
|
|
|
# this is NOT relocatable, unless you alter the patch!
|
|
|
|
%define name ecore
|
|
|
|
%define ver 1.0.0_pre4
|
|
|
|
%define rel 1
|
|
|
|
%define prefix /usr
|
|
|
|
|
|
|
|
Summary: Enlightened Core X interface library
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
|
|
|
Copyright: BSD
|
|
|
|
Group: User Interface/X
|
|
|
|
URL: http://www.enlightenment.org/efm.html
|
|
|
|
Packager: The Rasterman <raster@rasterman.com> Term <term@twistedpath.org>
|
|
|
|
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
|
|
|
|
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz
|
|
|
|
BuildRoot: /var/tmp/%{name}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Ecore is brub.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Ecore headers and development libraries.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{ver}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Ecore development files
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure \
|
|
|
|
--prefix=%{prefix} \
|
|
|
|
--enable-ecore-x \
|
|
|
|
--enable-ecore-evas \
|
|
|
|
--enable-ecore-job \
|
|
|
|
--enable-ecore-con \
|
2003-12-23 03:41:25 -08:00
|
|
|
--enable-ecore-config \
|
2003-09-23 01:09:32 -07:00
|
|
|
--enable-ecore-ipc
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(755,root,root) %{prefix}/lib/libecore*.so.*
|
|
|
|
%{prefix}/lib/libecore*.la
|
|
|
|
%attr(755,root,root) %{prefix}/bin/ecore_*
|
2003-12-23 03:41:25 -08:00
|
|
|
%attr(755,root,root) %{prefix}/bin/exsh
|
2003-09-23 01:09:32 -07:00
|
|
|
%{prefix}/share/ecore
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(755,root,root) %{prefix}/lib/libecore*.so
|
|
|
|
%attr(755,root,root) %{prefix}/lib/libecore*.a
|
2003-12-23 03:41:25 -08:00
|
|
|
%attr(755,root,root) %{prefix}/lib/libecore*.la
|
|
|
|
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.so
|
|
|
|
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.a
|
|
|
|
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.la
|
2003-09-23 01:09:32 -07:00
|
|
|
%attr(755,root,root) %{prefix}/bin/ecore-config
|
2003-12-23 03:41:25 -08:00
|
|
|
%{prefix}/share/aclocal/ecore.m4
|
2003-09-23 01:09:32 -07:00
|
|
|
%{prefix}/include/Ecore*.h
|
|
|
|
%doc AUTHORS
|
|
|
|
%doc COPYING
|
|
|
|
%doc README
|
|
|
|
%doc ecore_docs.tar.gz
|