|
@@ -1,7 +1,8 @@
|
|
|
%define libtoolize :
|
|
|
|
|
|
-%define src_ver 0.19.8.1
|
|
|
-%define so_ver 0.19.8.1
|
|
|
+%define src_ver 0.20.1
|
|
|
+%define so_ver 0.20.1
|
|
|
+%define short_ver 0.20
|
|
|
|
|
|
Summary: GNU libraries and utilities for producing multi-lingual messages.
|
|
|
Summary(ja): マルチリンガルメッセージを生成するためのGNU ライブラリ/ユーティリティ
|
|
@@ -15,10 +16,7 @@ URL: http://www.gnu.org/software/gettext/
|
|
|
Source2: msghack.py
|
|
|
Source3: msghack.1
|
|
|
|
|
|
-# Patch5: gettext-0.17-open-args.patch
|
|
|
-# Patch6: gettext-0.17-autopoint-CVS-441481.patch
|
|
|
-# Patch7: gettext-0.17-rpathFix.patch
|
|
|
-# Patch8: gettext-xgettext-python-unicode-surrogate-473946.patch
|
|
|
+Patch1: gettext-msgmerge-for-msgfmt.patch
|
|
|
|
|
|
BuildRequires: libtool, bison, gcc-c++
|
|
|
BuildRequires: expat-devel
|
|
@@ -93,10 +91,7 @@ This package contains libraries used internationalization support.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-# %patch5 -p0 -b .5-open-args~
|
|
|
-# %patch6 -p0 -b .6-autopoint~
|
|
|
-# %patch7 -p0 -b .rpathFix~
|
|
|
-# %patch8 -p0 -b .unicode~
|
|
|
+%patch1 -p1
|
|
|
|
|
|
|
|
|
%build
|
|
@@ -162,10 +157,12 @@ exit 0
|
|
|
%post devel
|
|
|
/sbin/ldconfig
|
|
|
/sbin/install-info %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
|
|
+/sbin/install-info %{_infodir}/libtextstyle.info %{_infodir}/dir || :
|
|
|
|
|
|
%preun devel
|
|
|
if [ "$1" = 0 ]; then
|
|
|
/sbin/install-info --delete %{_infodir}/autosprintf.info %{_infodir}/dir || :
|
|
|
+ /sbin/install-info --delete %{_infodir}/libtextstyle.info %{_infodir}/dir || :
|
|
|
fi
|
|
|
|
|
|
%postun devel -p /sbin/ldconfig
|
|
@@ -177,8 +174,9 @@ fi
|
|
|
|
|
|
%files -f gettext.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
+%license COPYING
|
|
|
%doc gettext-runtime/ABOUT-NLS AUTHORS gettext-runtime/BUGS
|
|
|
-%doc COPYING ChangeLog gettext-tools/misc/DISCLAIM README
|
|
|
+%doc ChangeLog* gettext-tools/misc/DISCLAIM README
|
|
|
%doc NEWS THANKS
|
|
|
%doc gettext-runtime/man/*.1.html
|
|
|
%doc gettext-runtime/intl/COPYING*
|
|
@@ -191,6 +189,7 @@ fi
|
|
|
%{_libdir}/gettext
|
|
|
%{_datadir}/gettext/archive.dir.tar.xz
|
|
|
%{_datadir}/gettext/styles
|
|
|
+%{_datadir}/gettext-%{short_ver}
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
@@ -199,16 +198,17 @@ fi
|
|
|
%{_datadir}/gettext/projects/
|
|
|
%{_datadir}/gettext/config.rpath
|
|
|
%{_datadir}/gettext/*.h
|
|
|
-%{_datadir}/gettext/intl
|
|
|
%{_datadir}/gettext/po
|
|
|
%{_datadir}/gettext/msgunfmt.tcl
|
|
|
%{_datadir}/aclocal/*
|
|
|
%{_includedir}/*
|
|
|
%{_infodir}/autosprintf*
|
|
|
+%{_infodir}/libtextstyle*
|
|
|
%{_libdir}/libasprintf.so
|
|
|
%{_libdir}/libgettextpo.so
|
|
|
%{_libdir}/libgettextlib.so
|
|
|
%{_libdir}/libgettextsrc.so
|
|
|
+%{_libdir}/libtextstyle.so
|
|
|
%{_libdir}/preloadable_libintl.so
|
|
|
%{_mandir}/man3/*
|
|
|
%{_datadir}/%{name}/javaversion.class
|
|
@@ -219,9 +219,17 @@ fi
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/libasprintf.so.*
|
|
|
%{_libdir}/libgettextpo.so.*
|
|
|
+%{_libdir}/libtextstyle.so.*
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Sep 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20.1-2
|
|
|
+- moved libtextstyle.so.* to gettext-libs.
|
|
|
+
|
|
|
+* Mon Sep 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.20.1-1
|
|
|
+- new upstream release.
|
|
|
+- imported Patch1 from rawhide.
|
|
|
+
|
|
|
* Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.19.8.1-2
|
|
|
- rebuild with gcc-5.4.0
|
|
|
|