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
9 Source1001: libunistring.manifest
12 This portable C library implements Unicode string types in three flavours:
13 (UTF-8, UTF-16, UTF-32), together with functions for character processing
14 (names, classifications, properties) and functions for string processing
15 (iteration, formatted output, width, word breaks, line breaks, normalization,
16 case folding and regular expressions).
19 Summary: GNU Unicode string library - development files
20 Group: Development/Libraries/C and C++
21 Requires: %{name} = %{version}
25 Development files for programs using libunistring and documentation
26 for UniString library.
33 %configure --disable-static --disable-rpath --docdir=%_docdir/%{name}
34 %__make %{?_smp_mflags}
37 %if ! 0%{?qemu_user_space_build}
38 %__make check %{?_smp_mflags}
42 echo " " > debugsources.list
43 %make_install DESTDIR=%{buildroot} INSTALL="install -p"
44 rm -f %{buildroot}/%{_infodir}/dir
45 rm -f %{buildroot}/%{_libdir}/libunistring.la
50 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
56 %manifest %{name}.manifest
59 %{_libdir}/libunistring.so.2*
62 %manifest %{name}.manifest
64 %{_libdir}/libunistring.so
65 %{_includedir}/unistring