Thu Jul 8 11:07:39 2004 Michael Jennings (mej)

Still cleaning.
Tragically, I had to remove ecore_docs.tar.gz from EXTRA_DIST because,
at least with automake 1.4, dist-hook is not run until the end of the
"distdir" rule, and ecore_docs.tar.gz being missing causes failure
prior to the running of dist-hook. :-(

----------------------------------------------------------------------


SVN revision: 10739
This commit is contained in:
Michael Jennings 2004-07-08 15:09:08 +00:00
parent d2a6379853
commit c945335853
2 changed files with 36 additions and 47 deletions

View File

@ -16,7 +16,7 @@ dist-hook:
bin_SCRIPTS = ecore-config bin_SCRIPTS = ecore-config
EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec ecore.c.in gendoc \ EXTRA_DIST = README AUTHORS COPYING ecore.m4 ecore.spec ecore.c.in gendoc \
Doxyfile ecore_docs.tar.gz make_cross_compile_arm.sh Doxyfile make_cross_compile_arm.sh
m4datadir = $(datadir)/aclocal m4datadir = $(datadir)/aclocal
m4data_DATA = ecore.m4 m4data_DATA = ecore.m4

View File

@ -1,49 +1,40 @@
# this is NOT relocatable, unless you alter the patch!
%define name ecore
%define ver 1.0.0_pre7
%define rel 1
%define prefix /usr
Summary: Enlightened Core X interface library Summary: Enlightened Core X interface library
Name: %{name} Name: ecore
Version: %{ver} Version: 1.0.0
Release: %{rel} Release: 0.pre7
Copyright: BSD Copyright: BSD
Group: User Interface/X Group: User Interface/X
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz
URL: http://www.enlightenment.org/efm.html URL: http://www.enlightenment.org/efm.html
Packager: The Rasterman <raster@rasterman.com> Term <term@twistedpath.org> Packager: Michael Jennings <mej@eterm.org>
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org> Vendor: The Enlightenment Development Team <e-develop@enlightenment.org>
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{ver}.tar.gz #BuildSuggests: openssl-devel
BuildRoot: /var/tmp/%{name}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Ecore is brub. 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 %package devel
Summary: Ecore headers and development libraries. Summary: Ecore headers and development libraries.
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{ver} Requires: %{name} = %{version}
%description devel %description devel
Ecore development files Ecore development files
%prep %prep
%setup -q %setup -q -n %{name}-%{version}_pre7
%build %build
./configure \ %{configure} --prefix=%{_prefix}
--prefix=%{prefix} \ %{__make} %{?_smp_mflags} %{?mflags}
--enable-ecore-x \
--enable-ecore-evas \
--enable-ecore-job \
--enable-ecore-con \
--enable-ecore-config \
--enable-ecore-ipc
make
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -52,27 +43,25 @@ make DESTDIR=$RPM_BUILD_ROOT install
/sbin/ldconfig /sbin/ldconfig
%clean %clean
rm -rf $RPM_BUILD_ROOT test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-, root, root)
%attr(755,root,root) %{prefix}/lib/libecore*.so.* %doc AUTHORS COPYING* README*
%{prefix}/lib/libecore*.la %{_libdir}/libecore*.so.*
%attr(755,root,root) %{prefix}/bin/ecore_* %{_libdir}/libecore*.la
%{prefix}/share/ecore %{_bindir}/ecore_*
%{_datadir}/ecore
%files devel %files devel
%defattr(-,root,root) %defattr(-, root, root)
%attr(755,root,root) %{prefix}/lib/libecore*.so %doc doc/html
%attr(755,root,root) %{prefix}/lib/libecore*.a %{_libdir}/libecore*.so
%attr(755,root,root) %{prefix}/lib/libecore*.la %{_libdir}/libecore*.a
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.so %{_libdir}/libecore*.la
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.a %{_libdir}/ecore_config_ipc_*.so
%attr(755,root,root) %{prefix}/lib/ecore_config_ipc_*.la %{_libdir}/ecore_config_ipc_*.a
%attr(755,root,root) %{prefix}/bin/ecore-config %{_libdir}/ecore_config_ipc_*.la
%{prefix}/share/aclocal/ecore.m4 %{_bindir}/ecore-config
%{prefix}/include/Ecore*.h %{_datadir}/aclocal/ecore.m4
%doc AUTHORS %{_includedir}/Ecore*.h
%doc COPYING
%doc README
%doc ecore_docs.tar.gz