]> git.pld-linux.org Git - packages/embryo.git/blobdiff - embryo.spec
- up to 0.9.1.024
[packages/embryo.git] / embryo.spec
index 5bae46f787e4d6944c781cd1a0cbd39c36d8209a..a609bd2c97bc0271408d5b3ed302565018373476 100644 (file)
@@ -1,20 +1,24 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Enlightenment Fundation Libraries - Embryo
 Summary(pl):   Podstawowe biblioteki Enlightenmenta - Embryo
 Name:          embryo
-Version:       0.9.1.010
-%define        _snap   20050701
-Release:       0.%{_snap}.0.1
+Version:       0.9.1.024
+Release:       1
 License:       BSD
 Group:         X11/Libraries
-#Source0:      http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
-Source0:       http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.gz
-# Source0-md5: d28dd1aadd155d78c42d2bbde48405e9
-URL:           http://enlightenment.org/
+Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: 8469afa08f75d9e6aa29d9ca9d784739
+URL:           http://enlightenment.org/Libraries/Embryo/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine      __cxx
+
 %description
 Embryo is a tiny library designed as a virtual machine to interpret a
 limited set of small compiled programs.
@@ -48,15 +52,11 @@ Static Embryo library.
 Statyczna biblioteka Embryo.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -87,6 +87,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/%{name}
 %{_pkgconfigdir}/embryo.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libembryo.a
+%endif
This page took 0.073411 seconds and 4 git commands to generate.