SPECS: libidn.spec - AC compatible - remove ELF executable from %doc
glen
glen at pld-linux.org
Wed Aug 27 21:40:11 CEST 2008
Author: glen Date: Wed Aug 27 19:40:11 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- AC compatible
- remove ELF executable from %doc
---- Files affected:
SPECS:
libidn.spec (1.77 -> 1.78)
---- Diffs:
================================================================
Index: SPECS/libidn.spec
diff -u SPECS/libidn.spec:1.77 SPECS/libidn.spec:1.78
--- SPECS/libidn.spec:1.77 Wed Aug 27 21:26:53 2008
+++ SPECS/libidn.spec Wed Aug 27 21:40:06 2008
@@ -3,8 +3,13 @@
# - prepare package with web-files and java from contrib
#
# Conditional build:
+%if "%{pld_release}" == "ac"
+%bcond_with dotnet # don't build C# binding
+%bcond_with java # don't build Java implementation
+%else
%bcond_without dotnet # don't build C# binding
%bcond_without java # don't build Java implementation
+%endif
%bcond_without python # don't build python interface
#
%ifnarch %{ix86} %{x8664} alpha arm hppa ppc s390 s390x sparc sparcv9 sparc64
@@ -36,6 +41,7 @@
%{?with_python:BuildRequires: python-devel >= 1:2.3}
%{?with_python:BuildRequires: rpm-pythonprov}
BuildRequires: rpmbuild(macros) >= 1.384
+BuildRequires: rpm >= 4.4.9-56
BuildRequires: texinfo >= 4.7
Requires(post,postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -160,6 +166,7 @@
%if %{with python}
%{__make} -C contrib/idn-python \
INCLUDE="%{py_incdir} %{rpmcflags} -I../../lib -L../../lib/.libs"
+mv contrib/idn-python/idn.so python-idn.so
%endif
%install
@@ -169,7 +176,7 @@
DESTDIR=$RPM_BUILD_ROOT
%if %{with python}
-install -D contrib/idn-python/idn.so $RPM_BUILD_ROOT%{py_sitedir}/idn.so
+install -D python-idn.so $RPM_BUILD_ROOT%{py_sitedir}/idn.so
%endif
%find_lang %{name}
@@ -247,6 +254,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.78 2008/08/27 19:40:06 glen
+- AC compatible
+- remove ELF executable from %doc
+
Revision 1.77 2008/08/27 19:26:53 qboosh
- updated to 1.10
- removed obsolete pl.po-update patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libidn.spec?r1=1.77&r2=1.78&f=u
More information about the pld-cvs-commit
mailing list