2004-07-25 14:50:40 -07:00
|
|
|
%define _missing_doc_files_terminate_build 0
|
|
|
|
|
2010-04-21 13:55:23 -07:00
|
|
|
%{!?_rel:%{expand:%%global _rel 0.r%(svnversion | sed 's/[^0-9].*$//' || echo 0000)}}
|
|
|
|
|
2005-03-22 05:10:09 -08:00
|
|
|
Summary: A small virtual machine engine (in a library) and bytecode compiler
|
|
|
|
Name: @PACKAGE@
|
|
|
|
Version: @VERSION@
|
2010-04-21 13:55:23 -07:00
|
|
|
Release: %{_rel}
|
2005-01-04 21:05:30 -08:00
|
|
|
License: BSD
|
2004-03-24 01:48:28 -08:00
|
|
|
Group: System Environment/Libraries
|
2005-03-22 05:10:09 -08:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
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}}
|
2005-03-22 05:10:09 -08:00
|
|
|
URL: http://www.enlightenment.org/
|
2004-07-08 10:15:48 -07:00
|
|
|
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
|
|
|
|
|
2006-04-19 21:15:20 -07:00
|
|
|
%package bin
|
|
|
|
Summary: Embryo bytecode compiler and needed data files
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description bin
|
|
|
|
The embryo bytecode compiler and its files
|
|
|
|
|
2004-03-24 01:48:28 -08:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2004-07-08 10:15:48 -07:00
|
|
|
%{configure} --prefix=%{_prefix}
|
2005-03-22 05:10:09 -08:00
|
|
|
### use this if you have build problems
|
|
|
|
#./configure --prefix=%{_prefix}
|
2004-07-08 10:15:48 -07:00
|
|
|
%{__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
|
2005-03-22 05:10:09 -08:00
|
|
|
|
|
|
|
%clean
|
|
|
|
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2004-07-08 10:15:48 -07:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS COPYING* README
|
2005-03-22 05:10:09 -08:00
|
|
|
%{_libdir}/*.so.*
|
2006-04-19 21:15:20 -07:00
|
|
|
|
|
|
|
%files bin
|
|
|
|
%defattr(-, root, root)
|
2004-07-08 10:15:48 -07:00
|
|
|
%attr(755,root,root) %{_bindir}/embryo_cc
|
2006-04-19 21:15:20 -07:00
|
|
|
%{_datadir}/embryo/include
|
|
|
|
|
2004-03-24 01:48:28 -08:00
|
|
|
%files devel
|
2004-07-08 10:15:48 -07:00
|
|
|
%defattr(-, root, root)
|
2005-03-22 05:10:09 -08:00
|
|
|
%{_libdir}/*.so
|
2006-04-19 21:15:20 -07:00
|
|
|
%{_libdir}/*.la
|
2005-03-22 05:10:09 -08:00
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_includedir}/*.h
|
2004-03-24 01:48:28 -08:00
|
|
|
|
|
|
|
%changelog
|