4 License: LGPL-3.0+ and GPL-3.0+
5 Summary: GNU Unicode string library
6 Url: http://www.gnu.org/software/libunistring/
7 Group: Development/Libraries/C and C++
8 Source: %{name}-%{version}.tar.bz2
11 This portable C library implements Unicode string types in three flavours:
12 (UTF-8, UTF-16, UTF-32), together with functions for character processing
13 (names, classifications, properties) and functions for string processing
14 (iteration, formatted output, width, word breaks, line breaks, normalization,
15 case folding and regular expressions).
18 Summary: GNU Unicode string library - development files
19 Group: Development/Libraries/C and C++
20 Requires: %{name} = %{version}
24 Development files for programs using libunistring and documentation
25 for UniString library.
31 %configure --disable-static --disable-rpath --docdir=%_docdir/%{name}
35 %if ! 0%{?qemu_user_space_build}
36 make check %{?_smp_mflags}
40 echo " " > debugsources.list
41 %make_install DESTDIR=%{buildroot} INSTALL="install -p"
42 rm -f %{buildroot}/%{_infodir}/dir
43 rm -f %{buildroot}/%{_libdir}/libunistring.la
48 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
55 %{_libdir}/libunistring.so.0*
59 %{_libdir}/libunistring.so
60 %{_includedir}/unistring