|
@@ -1,8 +1,9 @@
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
# Basic Information
|
|
|
Name: libunistring
|
|
|
-Version: 0.9.3
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 0.9.4
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: GPLv3+
|
|
|
Group: Development/Libraries
|
|
|
URL: http://www.gnu.org/software/libunistring/
|
|
@@ -45,6 +46,34 @@ Requires: %{name} = %{version}-%{release}
|
|
|
%description devel
|
|
|
Development files and documentation for libunistring
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
+Summary: library for manipulating Unicode strings
|
|
|
+Summary(ja): Unicode 文字列を処理するライブラリ
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n compat32-%{name}
|
|
|
+Text files are nowadays usually encoded in Unicode, and may consist of very
|
|
|
+different scripts – from Latin letters to Chinese Hanzi –, with many kinds
|
|
|
+of special characters – accents, right-to-left writing marks, hyphens,
|
|
|
+Roman numbers, and much more. But the POSIX platform APIs for text do not
|
|
|
+contain adequate functions for dealing with particular properties of many
|
|
|
+Unicode characters. In fact, the POSIX APIs for text have several
|
|
|
+assumptions at their base which don't hold for Unicode text.
|
|
|
+
|
|
|
+This library provides functions for manipulating Unicode strings and for
|
|
|
+manipulating C strings according to the Unicode standard.
|
|
|
+
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
+Summary: Development files and documentation for libunistring
|
|
|
+Summary(ja): libunistring の開発用ファイルとドキュメント
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
+Development files and documentation for libunistring
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
@@ -65,18 +94,32 @@ Development files and documentation for libunistring
|
|
|
|
|
|
|
|
|
%files
|
|
|
-%defattr(-,root,root)
|
|
|
+%defattr(-,root,root,-)
|
|
|
%doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
%{_includedir}/uni*.h
|
|
|
%{_includedir}/unistring
|
|
|
%{_libdir}/libunistring.so
|
|
|
%{_docdir}/libunistring
|
|
|
%{_infodir}/libunistring.info.gz
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
+%files -n compat32-%{name}
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%{_libdir}/*.so.*
|
|
|
+
|
|
|
+%files -n compat32-%{name}-devel
|
|
|
+%{_libdir}/libunistring.so
|
|
|
+%endif
|
|
|
+
|
|
|
%changelog
|
|
|
+* Mon Jan 26 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.4-1
|
|
|
+- update to 0.9.4
|
|
|
+- create compat32 packages
|
|
|
+
|
|
|
* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
|
|
|
- add Requires: %{name} (devel package)
|
|
|
|