[libcaca] Explicitly disable building csharp and java bindings (#671206).
Matthias Saou
thias at fedoraproject.org
Mon Jul 11 12:41:47 UTC 2011
commit bc14198d5960f9f2003d28f49bab096cd1b6b603
Author: Matthias Saou <thias at marmotte.net>
Date: Mon Jul 11 14:41:23 2011 +0200
Explicitly disable building csharp and java bindings (#671206).
libcaca.spec | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/libcaca.spec b/libcaca.spec
index fae58df..146ccc6 100644
--- a/libcaca.spec
+++ b/libcaca.spec
@@ -6,7 +6,7 @@
Summary: Library for Colour AsCii Art, text mode graphics
Name: libcaca
Version: 0.99
-Release: 0.11.%{beta}%{?dist}
+Release: 0.12.%{beta}%{?dist}
License: WTFPL
Group: System Environment/Libraries
URL: http://caca.zoy.org/wiki/libcaca
@@ -89,24 +89,27 @@ This package contains the ruby bindings for using libcaca from ruby.
%build
-%configure --disable-static
+%configure \
+ --disable-static \
+ --disable-csharp \
+ --disable-java
# Remove useless rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
%install
-%{__rm} -rf %{buildroot} libcaca-dev-docs
-%{__make} install DESTDIR=%{buildroot}
+rm -rf %{buildroot} libcaca-dev-docs
+make install DESTDIR=%{buildroot}
# We want to include the docs ourselves from the source directory
-%{__mv} %{buildroot}%{_docdir}/libcaca-dev libcaca-dev-docs
+mv %{buildroot}%{_docdir}/libcaca-dev libcaca-dev-docs
# Remove symlink to libcaca-dev
-%{__rm} -f %{buildroot}%{_docdir}/libcucul-dev
+rm -f %{buildroot}%{_docdir}/libcucul-dev
%clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
%post -p /sbin/ldconfig
@@ -156,6 +159,9 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%changelog
+* Mon Jul 11 2011 Matthias Saou <http://freshrpms.net/> 0.99-0.12.beta17
+- Explicitly disable building csharp and java bindings (#671206).
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.99-0.11.beta17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list