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
|
2005-03-10 07:19:43 -08:00
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
|
|
|
Release: 1
|
2005-01-04 21:05:30 -08:00
|
|
|
License: BSD
|
2003-09-23 01:09:32 -07:00
|
|
|
Group: User Interface/X
|
2005-03-10 07:19:43 -08:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
URL: http://www.enlightenment.org
|
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
|
2005-01-24 05:10:05 -08:00
|
|
|
BuildRequires: evas-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
|
2005-01-24 05:10:05 -08:00
|
|
|
Requires: evas-devel eet-devel
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Ecore development files
|
|
|
|
|
|
|
|
%prep
|
2005-03-13 18:52:48 -08:00
|
|
|
%setup -q -n %{name}-%{version}
|
2003-09-23 01:09:32 -07:00
|
|
|
|
|
|
|
%build
|
2005-01-18 16:04:10 -08:00
|
|
|
CFLAGS="-I/usr/kerberos/include -I/usr/X11R6/include/X11/extensions"
|
|
|
|
LDFLAGS="-L/usr/kerberos/lib -L/usr/X11R6/%{_lib}"
|
2005-01-04 21:05:30 -08:00
|
|
|
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
|
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
|
2005-03-10 07:19:43 -08:00
|
|
|
%{_libdir}/ecore_config_ipc_*.so
|
2005-04-08 08:55:21 -07:00
|
|
|
%{_libdir}/ecore_config_ipc_*.a
|
|
|
|
%{_libdir}/ecore_config_ipc_*.la
|
2004-07-08 08:09:08 -07:00
|
|
|
%{_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
|
|
|
|
%{_bindir}/ecore-config
|
2005-03-10 07:19:43 -08:00
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
%{_includedir}/*.h
|