Thu Jul 8 13:15:28 2004 Michael Jennings (mej)
Luke...I am your father. ---------------------------------------------------------------------- SVN revision: 10743
This commit is contained in:
parent
c945335853
commit
cd7fe6b936
|
@ -1,25 +1,17 @@
|
||||||
# Note that this is NOT a relocatable package
|
|
||||||
%define ver 0.0.1
|
|
||||||
%define rel 1
|
|
||||||
%define prefix /usr
|
|
||||||
|
|
||||||
Summary: embryo
|
Summary: embryo
|
||||||
Name: embryo
|
Name: embryo
|
||||||
Version: %ver
|
Version: 0.0.1
|
||||||
Release: %rel
|
Release: 1
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.enlightenment.org/pub/embryo/embryo-%{ver}.tar.gz
|
|
||||||
BuildRoot: /var/tmp/embryo-root
|
|
||||||
Packager: The Rasterman <raster@rasterman.com>
|
|
||||||
URL: http://www.enlightenment.org/
|
URL: http://www.enlightenment.org/
|
||||||
|
Source: ftp://ftp.enlightenment.org/pub/embryo/%{name}-%{version}.tar.gz
|
||||||
Docdir: %{prefix}/doc
|
Packager: Michael Jennings <mej@eterm.org
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Embryo is a tiny library designed as a virtual machine to interpret a
|
||||||
Embryo is a tiny library designed as a virtual machine to interpret a limited
|
limited set of small compiled programs.
|
||||||
set of small compiled programs.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Embryo headers, static libraries, documentation and test programs
|
Summary: Embryo headers, static libraries, documentation and test programs
|
||||||
|
@ -30,26 +22,15 @@ Requires: %{name} = %{version}
|
||||||
Headers, static libraries, test programs and documentation for Embryo
|
Headers, static libraries, test programs and documentation for Embryo
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%prefix
|
%{configure} --prefix=%{_prefix}
|
||||||
|
%{__make} %{?_smp_mflags} %{?mflags}
|
||||||
if [ "$SMP" != "" ]; then
|
|
||||||
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
||||||
make
|
|
||||||
else
|
|
||||||
make
|
|
||||||
fi
|
|
||||||
###########################################################################
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
test -x `which doxygen` && sh gendoc || :
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
@ -57,26 +38,26 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%clean
|
||||||
|
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/libembryo.so.*
|
%doc AUTHORS COPYING* README
|
||||||
%{prefix}/lib/libembryo.la
|
%{_libdir}/libembryo.so.*
|
||||||
%attr(755,root,root) %{prefix}/bin/embryo_cc
|
%{_libdir}/libembryo.la
|
||||||
%attr(755,root,root) %{prefix}/bin/embryo
|
%attr(755,root,root) %{_bindir}/embryo_cc
|
||||||
|
%attr(755,root,root) %{_bindir}/embryo
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%attr(755,root,root) %{prefix}/lib/libembryo.so
|
%defattr(-, root, root)
|
||||||
%attr(755,root,root) %{prefix}/lib/libembryo.a
|
%doc doc/html
|
||||||
%attr(755,root,root) %{prefix}/bin/embryo-config
|
%{_libdir}/libembryo.so
|
||||||
%{prefix}/share/embryo/examples/*
|
%{_libdir}/libembryo.a
|
||||||
%{prefix}/share/embryo/include/*
|
%{_bindir}/embryo-config
|
||||||
%{prefix}/lib/pkgconfig/embryo.pc
|
%{_datadir}/embryo/examples
|
||||||
%{prefix}/include/Embryo*
|
%{_datadir}/embryo/include
|
||||||
%doc AUTHORS
|
%{_libdir}/pkgconfig/embryo.pc
|
||||||
%doc COPYING
|
%{_includedir}/Embryo*
|
||||||
%doc README
|
|
||||||
%doc embryo_docs.tar.gz
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
|
||||||
- Created spec file
|
|
||||||
|
|
Loading…
Reference in New Issue