]> git.pld-linux.org Git - packages/embryo.git/blobdiff - embryo.spec
- up to 0.9.1.024
[packages/embryo.git] / embryo.spec
index a4568135c8e8d5ee0af825d8ff0bab3d16333e09..a609bd2c97bc0271408d5b3ed302565018373476 100644 (file)
@@ -1,18 +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.018
+Version:       0.9.1.024
 Release:       1
 License:       BSD
 Group:         X11/Libraries
 Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 8d94586f64306bed42f6147cf63d6ee2
+# 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.
@@ -49,12 +55,8 @@ Statyczna biblioteka Embryo.
 %setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -85,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.07385 seconds and 4 git commands to generate.