Enlightenment CVS committal

Author  : mej
Project : e17
Module  : libs/embryo

Dir     : e17/libs/embryo


Modified Files:
        embryo.spec 


Log Message:
Thu Jul  8 13:15:28 2004                        Michael Jennings (mej)

Luke...I am your father.
----------------------------------------------------------------------

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/embryo.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- embryo.spec 21 May 2004 13:49:31 -0000      1.2
+++ embryo.spec 8 Jul 2004 17:15:48 -0000       1.3
@@ -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
 Name: embryo
-Version: %ver
-Release: %rel
+Version: 0.0.1
+Release: 1
 Copyright: BSD
 Group: System Environment/Libraries
-Source: ftp://ftp.enlightenment.org/pub/embryo/embryo-%{ver}.tar.gz
-BuildRoot: /var/tmp/embryo-root
-Packager: The Rasterman <[EMAIL PROTECTED]>
 URL: http://www.enlightenment.org/
-
-Docdir: %{prefix}/doc
+Source: ftp://ftp.enlightenment.org/pub/embryo/%{name}-%{version}.tar.gz
+Packager: Michael Jennings <[EMAIL PROTECTED]
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 %description
-
-Embryo is a tiny library designed as a virtual machine to interpret a limited
-set of small compiled programs.
+Embryo is a tiny library designed as a virtual machine to interpret a
+limited set of small compiled programs.
 
 %package devel
 Summary: Embryo headers, static libraries, documentation and test programs
@@ -30,26 +22,15 @@
 Headers, static libraries, test programs and documentation for Embryo
 
 %prep
-rm -rf $RPM_BUILD_ROOT
-
 %setup -q
 
 %build
-./configure --prefix=%prefix
-
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
-###########################################################################
+%{configure} --prefix=%{_prefix}
+%{__make} %{?_smp_mflags} %{?mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
+test -x `which doxygen` && sh gendoc || :
 
 %post
 /sbin/ldconfig
@@ -57,26 +38,26 @@
 %postun
 /sbin/ldconfig
 
+%clean
+test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
+
 %files
-%defattr(-,root,root)
-%attr(755,root,root) %{prefix}/lib/libembryo.so.*
-%{prefix}/lib/libembryo.la
-%attr(755,root,root) %{prefix}/bin/embryo_cc
-%attr(755,root,root) %{prefix}/bin/embryo
+%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
 
 %files devel
-%attr(755,root,root) %{prefix}/lib/libembryo.so
-%attr(755,root,root) %{prefix}/lib/libembryo.a
-%attr(755,root,root) %{prefix}/bin/embryo-config
-%{prefix}/share/embryo/examples/*
-%{prefix}/share/embryo/include/*
-%{prefix}/lib/pkgconfig/embryo.pc
-%{prefix}/include/Embryo*
-%doc AUTHORS
-%doc COPYING
-%doc README
-%doc embryo_docs.tar.gz
+%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*
 
 %changelog
-* Sat Jun 23 2001 The Rasterman <[EMAIL PROTECTED]>
-- Created spec file




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to