2004-07-25 14:50:40 -07:00
|
|
|
%define _missing_doc_files_terminate_build 0
|
|
|
|
|
2004-03-24 01:48:28 -08:00
|
|
|
Summary: embryo
|
|
|
|
Name: embryo
|
2004-10-19 11:58:47 -07:00
|
|
|
Version: 0.9.1
|
2004-07-25 14:50:40 -07:00
|
|
|
Release: 1.%(date '+%Y%m%d')
|
2004-03-24 01:48:28 -08:00
|
|
|
Copyright: BSD
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.enlightenment.org/
|
2004-07-08 10:15:48 -07:00
|
|
|
Source: ftp://ftp.enlightenment.org/pub/embryo/%{name}-%{version}.tar.gz
|
|
|
|
Packager: Michael Jennings <mej@eterm.org
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%description
|
2004-07-08 10:15:48 -07:00
|
|
|
Embryo is a tiny library designed as a virtual machine to interpret a
|
|
|
|
limited set of small compiled programs.
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Embryo headers, static libraries, documentation and test programs
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Headers, static libraries, test programs and documentation for Embryo
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2004-07-08 10:15:48 -07:00
|
|
|
%{configure} --prefix=%{_prefix}
|
|
|
|
%{__make} %{?_smp_mflags} %{?mflags}
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%install
|
2004-07-08 10:15:48 -07:00
|
|
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
test -x `which doxygen` && sh gendoc || :
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
2004-07-08 10:15:48 -07:00
|
|
|
%clean
|
|
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2004-03-24 01:48:28 -08:00
|
|
|
%files
|
2004-07-08 10:15:48 -07:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING* README
|
|
|
|
%{_libdir}/libembryo.so.*
|
|
|
|
%{_libdir}/libembryo.la
|
|
|
|
%attr(755,root,root) %{_bindir}/embryo_cc
|
|
|
|
%attr(755,root,root) %{_bindir}/embryo
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%files devel
|
2004-07-08 10:15:48 -07:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc doc/html
|
|
|
|
%{_libdir}/libembryo.so
|
|
|
|
%{_libdir}/libembryo.a
|
|
|
|
%{_bindir}/embryo-config
|
|
|
|
%{_datadir}/embryo/examples
|
|
|
|
%{_datadir}/embryo/include
|
|
|
|
%{_libdir}/pkgconfig/embryo.pc
|
|
|
|
%{_includedir}/Embryo*
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%changelog
|