|
@@ -1,103 +1,92 @@
|
|
|
-%define ver 0.4
|
|
|
-%define rel 0vl3
|
|
|
-%define name libunicode
|
|
|
-
|
|
|
-Summary: A unicode manipulation library
|
|
|
-Summary(ja): Unicode拎侯ライブラリ
|
|
|
-Name: %name
|
|
|
-Version: %ver
|
|
|
-Release: %rel
|
|
|
-Copyright: LGPL
|
|
|
-Group: System Environment/Libraries
|
|
|
-Source: http://www.pango.org/download/libunicode-%{version}.tar.gz
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
|
|
|
-#Docdir: %{_prefix}/doc
|
|
|
+
|
|
|
+# Basic Information
|
|
|
+Name: libunistring
|
|
|
+Summary: library for manipulating Unicode strings
|
|
|
+Summary(ja): Unicode 鏂囧瓧鍒椼倰鍑︾悊銇欍倠銉┿偆銉栥儵銉�
|
|
|
+Version: 0.9.4
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+License: GPLv3+
|
|
|
+Group: System Environment/Libraries
|
|
|
+URL: http://www.gnu.org/software/libunistring/
|
|
|
+Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: yasumichi
|
|
|
+
|
|
|
+# Dependency
|
|
|
+BuildRequires: texinfo
|
|
|
+BuildRequires: texlive
|
|
|
+BuildRequires: perl
|
|
|
|
|
|
%description
|
|
|
-A library to handle unicode strings
|
|
|
+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.
|
|
|
|
|
|
-%description -l ja
|
|
|
-Unicode矢机误を胺うライブラリです。
|
|
|
+#%%description -l ja
|
|
|
+#%銇撱亾銇�棩鏈�獮銇ц┏绱般倰瑷樿堪銇椼仸銇忋仩銇曘亜銆�
|
|
|
|
|
|
%package devel
|
|
|
-Summary: A unicode manipulation library
|
|
|
-Summary(ja): Unicode拎侯ライブラリ
|
|
|
-Group: Development/Libraries
|
|
|
-Requires: %{name} = %{ver}
|
|
|
+Summary: Development files and documentation for libunistring
|
|
|
+Summary(ja): libunistring 銇�枊鐧虹敤銉曘偂銈ゃ儷銇ㄣ儔銈�儱銉°兂銉�
|
|
|
+Group: Development/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
|
-The libunicode-devel package includes the static libraries and header files
|
|
|
-for the libunicode package.
|
|
|
-
|
|
|
-Install libunicode-devel if you want to develop programs which will use
|
|
|
-libunicode.
|
|
|
-
|
|
|
-%description devel -l ja
|
|
|
-libunicode-develパッケ〖ジはlibunicodeパッケ〖ジのためのスタティック
|
|
|
-ライブラリやヘッダファイルを崔んでいます。
|
|
|
-
|
|
|
-libunicodeを蝗ってプログラムを倡券したいなら、libunicode-develを
|
|
|
-インスト〖ルしてください。
|
|
|
+Development files and documentation for libunistring
|
|
|
|
|
|
%prep
|
|
|
-%setup
|
|
|
+%setup -q
|
|
|
|
|
|
%build
|
|
|
-%configure
|
|
|
-make
|
|
|
+%configure --disable-static
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
-%makeinstall
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
+%{__make} install DESTDIR=${RPM_BUILD_ROOT}
|
|
|
+
|
|
|
+#{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.a
|
|
|
+%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libunistring.la
|
|
|
+%{__rm} ${RPM_BUILD_ROOT}%{_infodir}/dir
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
+
|
|
|
%files
|
|
|
-%defattr(-, root, root)
|
|
|
-%doc README AUTHORS COPYING ChangeLog TODO
|
|
|
+%defattr(-,root,root)
|
|
|
+%doc AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
%files devel
|
|
|
-%defattr(-, root, root)
|
|
|
-%{_bindir}/unicode-config
|
|
|
-%{_includedir}/*
|
|
|
-%{_libdir}/*.so
|
|
|
-%{_libdir}/*.a
|
|
|
-%{_libdir}/*.la
|
|
|
-%{_libdir}/*.sh
|
|
|
-
|
|
|
+%{_includedir}/uni*.h
|
|
|
+%{_includedir}/unistring
|
|
|
+%{_libdir}/libunistring.so
|
|
|
+%{_docdir}/libunistring
|
|
|
+%{_infodir}/libunistring.info.gz
|
|
|
|
|
|
%changelog
|
|
|
-* Fri May 2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4-0vl3
|
|
|
-- rebuild with new toolchains
|
|
|
-- set Docdir default
|
|
|
-- uses better macros
|
|
|
-
|
|
|
-* Tue Jan 9 2001 Akira TAGOH <tagoh@gnome.gr.jp>
|
|
|
-- 0.4-0vl2
|
|
|
-- Added defattr
|
|
|
-
|
|
|
-* Sun Dec 17 2000 Akira TAGOH <tagoh@gnome.gr.jp>
|
|
|
-- 0.4-0vl1
|
|
|
-- Rebuild for Vine
|
|
|
-
|
|
|
-* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
|
|
|
-- Upgrade to 0.4
|
|
|
-- Correct License: to LGPL
|
|
|
-- Remove man-compress/strip. New versions of RPM handle this.
|
|
|
-- Switch to using DESTDIR
|
|
|
-- Split off a -devel package
|
|
|
-- Run ldconfig in %post and %postun
|
|
|
-
|
|
|
-* Fri Jan 21 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.3-3mdk
|
|
|
-- libtoolize --force.
|
|
|
-
|
|
|
-* Tue Nov 02 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
|
|
|
-- rebuild for new environmint
|
|
|
-
|
|
|
-* Thu Aug 05 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
|
|
|
-- first rpm version
|
|
|
+* Mon Oct 6 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.4-1
|
|
|
+- updated to 0.9.4
|
|
|
+- moved libunistring to System Environment/Libraries
|
|
|
+- added %%post and %%postun
|
|
|
+
|
|
|
+* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-2
|
|
|
+- add Requires: %{name} (devel package)
|
|
|
+
|
|
|
+* Wed Aug 15 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.9.3-1
|
|
|
+- initial build for Vine Linux
|