1 Summary: Unicode string library
2 Summary(pl.UTF-8): Biblioteka do obsługi łańcuchów unikodowych
6 License: LGPL v3+ or GPL v2+
8 Source0: http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
9 # Source0-md5: db08bb384e81968957f997ec9808926e
10 Patch0: %{name}-info.patch
11 URL: http://gnu.org/software/libunistring/
12 BuildRequires: tar >= 1:1.22
13 BuildRequires: texinfo >= 4.12
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 This library provides functions for manipulating Unicode strings and
19 for manipulating C strings according to the Unicode standard.
21 %description -l pl.UTF-8
22 Ta biblioteka udostępnia funkcje do obsługi łańcuchów unikodowych oraz
23 do obsługi łańcuchów znaków C zgodnie ze standardem Unicode.
26 Summary: Header files for unistring library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki unistring
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files for unistring library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki unistring.
38 Summary: Static unistring library
39 Summary(pl.UTF-8): Statyczna biblioteka unistring
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static unistring library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka unistring.
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
63 # packaged as %doc in -devel
64 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libunistring
67 rm -rf $RPM_BUILD_ROOT
69 %post -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
72 %post devel -p /sbin/postshell
73 -/usr/sbin/fix-info-dir -c %{_infodir}
75 %postun devel -p /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
79 %defattr(644,root,root,755)
80 %doc AUTHORS BUGS ChangeLog NEWS README THANKS
81 %attr(755,root,root) %{_libdir}/libunistring.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libunistring.so.2
85 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libunistring.so
88 %{_libdir}/libunistring.la
89 %{_includedir}/unistring
91 %{_infodir}/libunistring.info*
94 %defattr(644,root,root,755)
95 %{_libdir}/libunistring.a