]> git.pld-linux.org Git - packages/eet.git/blobdiff - eet.spec
- 0.9.10.028
[packages/eet.git] / eet.spec
index 7a07a020ad60e78c0d031b1cff3c5332e04ccf45..a23c706b11a96503f6f5dc6f5295afe34b4093b4 100644 (file)
--- a/eet.spec
+++ b/eet.spec
@@ -1,12 +1,16 @@
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       Library for speedy data storage, retrieval, and compression
 Summary(pl):   Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
 Name:          eet
-Version:       0.9.10.019
+Version:       0.9.10.028
 Release:       1
 License:       BSD
 Group:         Libraries
 Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz 
-# Source0-md5: 38839936c0424c0de6f908b9664935d6
+# Source0-md5: 01142c78613c2865a4f30523d99d89c6
 URL:           http://enlightenment.org/Libraries/Eet/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -15,6 +19,8 @@ BuildRequires:        libtool
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%undefine      __cxx
+
 %description
 Eet is a tiny library designed to write an arbitary set of chunks of
 data to a file and optionally compress each chunk (very much like a
@@ -72,12 +78,8 @@ Statyczna biblioteka Eet.
 %setup -q
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -107,6 +109,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/eet.pc
 %{_includedir}/Eet*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libeet.a
+%endif
This page took 0.072964 seconds and 4 git commands to generate.