forked from enlightenment/efl
79 lines
2.2 KiB
Plaintext
79 lines
2.2 KiB
Plaintext
%define _missing_doc_files_terminate_build 0
|
|
|
|
Summary: Enlightened Core X interface library
|
|
Name: ecore
|
|
Version: 1.0.0
|
|
Release: 0.pre7.%(date '+%Y%m%d')
|
|
License: BSD
|
|
Group: User Interface/X
|
|
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz
|
|
URL: http://www.enlightenment.org/efm.html
|
|
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 eet-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
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.
|
|
|
|
%package devel
|
|
Summary: Ecore headers and development libraries.
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}
|
|
Requires: libjpeg-devel XFree86-devel openssl-devel
|
|
Requires: evas-devel eet-devel
|
|
|
|
%description devel
|
|
Ecore development files
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}_pre7
|
|
|
|
%build
|
|
CFLAGS="-I/usr/kerberos/include -I/usr/X11R6/include/X11/extensions"
|
|
LDFLAGS="-L/usr/kerberos/lib -L/usr/X11R6/%{_lib}"
|
|
export CFLAGS LDFLAGS
|
|
%{configure} --prefix=%{_prefix}
|
|
%{__make} %{?_smp_mflags} %{?mflags}
|
|
|
|
%install
|
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
|
test -x `which doxygen` && sh gendoc || :
|
|
|
|
%post
|
|
/sbin/ldconfig || :
|
|
|
|
%postun
|
|
/sbin/ldconfig || :
|
|
|
|
%clean
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING* README*
|
|
%{_libdir}/libecore*.so.*
|
|
%{_libdir}/libecore*.la
|
|
%{_bindir}/ecore_*
|
|
%{_datadir}/ecore
|
|
|
|
%files devel
|
|
%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
|
|
%{_libdir}/pkgconfig/ecore.pc
|
|
%{_bindir}/ecore-config
|
|
%{_datadir}/aclocal/ecore.m4
|
|
%{_includedir}/Ecore*.h
|