]> git.pld-linux.org Git - packages/gettext.git/blobdiff - gettext.spec
- obsolete
[packages/gettext.git] / gettext.spec
index 12733962eb6997e38e2b2f4004b5db3503f04306..1cb91f587343fc44e7bd676aa03fa1aa95f499ba 100644 (file)
@@ -7,7 +7,7 @@
 %bcond_without dotnet          # without .NET support
 #
 
-%include       /usr/lib/rpm/macros.mono
+%{?with_dotnet:%include        /usr/lib/rpm/macros.mono}
 
 %ifnarch %{ix86} %{x8664} arm hppa ppc s390 s390x
 %undefine with_dotnet
@@ -27,22 +27,23 @@ Summary(ru):        
 Summary(tr):   Desteði için kitaplýk ve araçlar
 Summary(uk):   â¦Â̦ÏÔÅËÉ ÔÁ ÕÔÉ̦ÔÉ ÄÌѠЦÄÔÒÉÍËÉ ÎÁæÏÎÁÌØÎÉÈ ÍÏ×
 Name:          gettext
-Version:       0.15
-Release:       1
+Version:       0.16
+Release:       2
 License:       LGPL (runtime), GPL (tools)
 Group:         Development/Tools
 Source0:       ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
-# Source0-md5: 16bc6e4d37ac3d07495f737a2349a22b
+# Source0-md5: 1560a460c2c4e05b6ff53acb12860750
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-killkillkill.patch
 Patch2:                %{name}-pl.po-update.patch
 Patch3:                %{name}-no_docs.patch
 Patch4:                %{name}-ac.patch
+Patch5:                %{name}-gettext.m4-fix.patch
 URL:           http://www.gnu.org/software/gettext/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.59
 # after dropping -ac.patch:
 #BuildRequires:        autoconf >= 2.60
-BuildRequires: automake >= 1:1.7.5
+BuildRequires: automake >= 1:1.10
 %{?with_gcj:BuildRequires:     gcj >= 3.0}
 %{?with_javac:BuildRequires:   jdk >= 1.1}
 %{?with_asprintf:BuildRequires:        libstdc++-devel}
@@ -135,7 +136,7 @@ Group:              Development/Tools
 Requires(post,postun): /sbin/ldconfig
 Requires:      %{name} = %{version}-%{release}
 Requires:      iconv
-Conflicts:     autoconf < 2.50
+Conflicts:     autoconf < 2.52
 
 %description devel
 The gettext library provides an easy to use library and tools for
@@ -298,6 +299,7 @@ GNU gettext dla C#.
 # patch not finished yet
 #%patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %{__perl} -pi -e 's/ no / nb /' gettext-runtime/po/LINGUAS gettext-tools/po/LINGUAS
 mv -f gettext-runtime/po/{no,nb}.po
@@ -307,18 +309,13 @@ mv -f gettext-tools/po/{no,nb}.gmo
 rm -f gettext-tools/po/stamp-po
 
 %build
-# it's m4_included somewhere
-install %{_aclocaldir}/libtool.m4 m4/libtool.m4
 %{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
 cd autoconf-lib-link
 %{__aclocal} -I m4 -I ../m4
 %{__autoconf}
 %{__automake}
 cd ../gettext-runtime
-%{__aclocal} -I m4 -I ../autoconf-lib-link/m4 -I ../gettext-tools/m4 -I ../m4
+%{__aclocal} -I m4 -I gnulib-m4 -I ../autoconf-lib-link/m4 -I ../m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -328,11 +325,14 @@ cd libasprintf
 %{__autoheader}
 %{__automake}
 cd ../../gettext-tools
-%{__aclocal} -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4
+%{__aclocal} -I m4 -I gnulib-m4 -I libgettextpo/gnulib-m4 -I ../autoconf-lib-link/m4 -I ../gettext-runtime/m4 -I ../m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 cd ..
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        %{?with_xemacs:--with-lispdir=%{_datadir}/xemacs-packages/lisp/po-mode} \
        --enable-nls \
@@ -362,7 +362,7 @@ install -d $RPM_BUILD_ROOT/bin
 mv -f $RPM_BUILD_ROOT%{_bindir}/{,n}gettext $RPM_BUILD_ROOT/bin
 
 # these static libs are removed in install-exec-clean
-install gettext-tools/lib/.libs/libgettextlib.a \
+install gettext-tools/gnulib-lib/.libs/libgettextlib.a \
        gettext-tools/src/.libs/libgettextsrc.a $RPM_BUILD_ROOT%{_libdir}
 
 rm -r $RPM_BUILD_ROOT%{_docdir}/gettext
This page took 0.093887 seconds and 4 git commands to generate.