]> git.pld-linux.org Git - packages/libunistring.git/blob - libunistring.spec
ea6aec72805cff6eb345c812081dc07eaa83389a
[packages/libunistring.git] / libunistring.spec
1 Summary:        Unicode string library
2 Summary(pl.UTF-8):      Biblioteka do obsługi łańcuchów unikodowych
3 Name:           libunistring
4 Version:        0.9.9
5 Release:        1
6 License:        LGPL v3+ or GPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
9 # Source0-md5:  e4ecbf169a07ef021f89132e3fe55c02
10 Patch0:         %{name}-info.patch
11 URL:            http://gnu.org/software/libunistring/
12 BuildRequires:  tar >= 1:1.22
13 BuildRequires:  texinfo >= 4.12
14 BuildRequires:  xz
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This library provides functions for manipulating Unicode strings and
19 for manipulating C strings according to the Unicode standard.
20
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.
24
25 %package devel
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}
30
31 %description devel
32 Header files for unistring library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki unistring.
36
37 %package static
38 Summary:        Static unistring library
39 Summary(pl.UTF-8):      Statyczna biblioteka unistring
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static unistring library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka unistring.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 # packaged as %doc in -devel
64 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libunistring
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %post   devel -p /sbin/postshell
73 -/usr/sbin/fix-info-dir -c %{_infodir}
74
75 %postun devel -p /sbin/postshell
76 -/usr/sbin/fix-info-dir -c %{_infodir}
77
78 %files
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
83
84 %files devel
85 %defattr(644,root,root,755)
86 %doc doc/*.html
87 %attr(755,root,root) %{_libdir}/libunistring.so
88 %{_libdir}/libunistring.la
89 %{_includedir}/unistring
90 %{_includedir}/uni*.h
91 %{_infodir}/libunistring.info*
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libunistring.a
This page took 0.084832 seconds and 2 git commands to generate.