]> git.pld-linux.org Git - packages/libidn.git/blobdiff - libidn.spec
- updated to 1.28
[packages/libidn.git] / libidn.spec
index d260fd1b1b34656cd2864c7425953a7d7fa631d2..d2ad38d33d45257fbbea745bcf0a56ae0b987551 100644 (file)
@@ -3,8 +3,8 @@
 #
 # Conditional build:
 %if "%{pld_release}" == "ac"
-%bcond_with            dotnet  # don't build C# binding
-%bcond_with            java    # don't build Java implementation
+%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
 Summary:       Internationalized string processing library
 Summary(pl.UTF-8):     Biblioteka do przetwarzania umiędzynarodowionych łańcuchów
 Name:          libidn
-Version:       1.19
+Version:       1.28
 Release:       1
-License:       LGPL v2.1+ (library), GPL v3+ (utilities)
+License:       GPL v2+ or LGPL v3+ (library), GPL v3+ (utilities)
 Group:         Libraries
 Source0:       http://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
-# Source0-md5: a45142126d28162014c995f969bdb5a8
+# Source0-md5: 43a6f14b16559e10a492acc65c4b0acc
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-python.patch
-Patch2:                %{name}-pl.po-update.patch
 URL:           http://www.gnu.org/software/libidn/
 BuildRequires: autoconf >= 2.61
 BuildRequires: automake >= 1:1.10
 %{?with_java:BuildRequires:    gcc-java}
-BuildRequires: gettext-devel >= 0.17
+BuildRequires: gettext-devel >= 0.18.1
 %{?with_java:BuildRequires:    gjdoc}
+BuildRequires: gtk-doc >= 1.1
 BuildRequires: help2man
-BuildRequires: jdk
+%{?with_java:BuildRequires:    jdk}
 BuildRequires: libtool >= 2:1.5
 %{?with_dotnet:BuildRequires:  mono}
+%{?with_dotnet:BuildRequires:  mono-csharp}
 BuildRequires: perl-base
 BuildRequires: pkgconfig
 %{?with_python:BuildRequires:  python-devel >= 1:2.3}
@@ -148,16 +149,19 @@ domen).
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
-rm -f po/stamp-po
+%{__rm} po/stamp-po
 
 # avoid different builds having different timestamps
 # see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2008-August/020363.html
-d='$Date: 2010-06-03 01:10:37 $'
+d='$Date: 2012-05-24 11:40:06 $'
 d=${d#?Date: }; d=${d%%%% *}; d=$(date -d "$d" '+%d %B %Y')
 %{__sed} -i -e "s,@value{UPDATED},$d,g" doc/libidn.texi
 
+# remove it when "linking libtool libraries using a non-POSIX archiver ..." warning is gone
+# (after libidn or libtool change)
+%{__sed} -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac
+
 %build
 %{__gettextize}
 %{__libtoolize}
@@ -167,6 +171,7 @@ d=${d#?Date: }; d=${d%%%% *}; d=$(date -d "$d" '+%d %B %Y')
 %{__automake}
 JAR=%{_bindir}/fastjar \
 %configure \
+       --disable-silent-rules \
        %{?with_dotnet:--enable-csharp=mono}%{!?with_dotnet:--disable-csharp} \
        %{?with_java:--enable-java} \
        --with-lispdir=%{_emacs_lispdir}
This page took 0.076307 seconds and 4 git commands to generate.