2004-07-25 14:50:40 -07:00
|
|
|
%define _missing_doc_files_terminate_build 0
|
|
|
|
|
2003-09-23 01:09:32 -07:00
|
|
|
Summary: Enlightened Core X interface library
|
2004-07-08 08:09:08 -07:00
|
|
|
Name: ecore
|
|
|
|
Version: 1.0.0
|
2004-07-25 14:50:40 -07:00
|
|
|
Release: 0.pre7.%(date '+%Y%m%d')
|
2005-01-04 21:05:30 -08:00
|
|
|
License: BSD
|
2003-09-23 01:09:32 -07:00
|
|
|
Group: User Interface/X
|
2004-07-08 08:09:08 -07:00
|
|
|
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz
|
2003-09-23 01:09:32 -07:00
|
|
|
URL: http://www.enlightenment.org/efm.html
|
2005-01-04 21:05:30 -08:00
|
|
|
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
|
|
|
|
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
|
|
|
|
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
|
|
|
#BuildSuggests: xorg-x11-devel
|
|
|
|
BuildRequires: libjpeg-devel XFree86-devel openssl-devel
|
|
|
|
BuildRequires: evas-devel edb-devel eet-devel
|
2004-07-08 08:09:08 -07:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%description
|
2004-07-08 08:09:08 -07:00
|
|
|
Ecore is the event/X abstraction layer that makes doing selections,
|
|
|
|
Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
|
|
|
|
optimized, and convenient. It's a separate library so anyone can make
|
|
|
|
use of the work put into Ecore to make this job easy for applications.
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Ecore headers and development libraries.
|
|
|
|
Group: Development/Libraries
|
2004-07-08 08:09:08 -07:00
|
|
|
Requires: %{name} = %{version}
|
2005-01-04 21:05:30 -08:00
|
|
|
Requires: libjpeg-devel XFree86-devel openssl-devel
|
|
|
|
Requires: evas-devel edb-devel eet-devel
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Ecore development files
|
|
|
|
|
|
|
|
%prep
|
2004-07-08 08:09:08 -07:00
|
|
|
%setup -q -n %{name}-%{version}_pre7
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%build
|
2005-01-04 21:05:30 -08:00
|
|
|
CFLAGS="-I/usr/kerberos/include"
|
|
|
|
LDFLAGS="-L/usr/kerberos/lib"
|
|
|
|
export CFLAGS LDFLAGS
|
2004-07-08 08:09:08 -07:00
|
|
|
%{configure} --prefix=%{_prefix}
|
|
|
|
%{__make} %{?_smp_mflags} %{?mflags}
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%install
|
2004-07-08 08:09:08 -07:00
|
|
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
test -x `which doxygen` && sh gendoc || :
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%post
|
2004-07-25 14:50:40 -07:00
|
|
|
/sbin/ldconfig || :
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%postun
|
2004-07-25 14:50:40 -07:00
|
|
|
/sbin/ldconfig || :
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%clean
|
2004-07-08 08:09:08 -07:00
|
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%files
|
2004-07-08 08:09:08 -07:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING* README*
|
|
|
|
%{_libdir}/libecore*.so.*
|
|
|
|
%{_libdir}/libecore*.la
|
|
|
|
%{_bindir}/ecore_*
|
|
|
|
%{_datadir}/ecore
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%files devel
|
2004-07-08 08:09:08 -07:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc doc/html
|
|
|
|
%{_libdir}/libecore*.so
|
|
|
|
%{_libdir}/libecore*.a
|
|
|
|
%{_libdir}/libecore*.la
|
|
|
|
%{_libdir}/ecore_config_ipc_*.so
|
|
|
|
%{_libdir}/ecore_config_ipc_*.a
|
|
|
|
%{_libdir}/ecore_config_ipc_*.la
|
2004-07-22 17:01:02 -07:00
|
|
|
%{_libdir}/pkgconfig/ecore.pc
|
2004-07-08 08:09:08 -07:00
|
|
|
%{_bindir}/ecore-config
|
|
|
|
%{_datadir}/aclocal/ecore.m4
|
|
|
|
%{_includedir}/Ecore*.h
|