1%define prefix /usr
2
3Summary: A unicode manipulation library
4Name: libunicode
5Version: @VERSION@
6Release: 1
7Copyright: LGPL
8Group: System Environment/Libraries
9Source: http://www.pango.org/download/libunicode-%{version}.tar.gz
10BuildRoot: /var/tmp/libunicode-%{PACKAGE_VERSION}-root
11
12%description
13A library to handle unicode strings
14
15%package devel
16Summary: A unicode manipulation library
17Group: Development/Libraries
18
19%description devel
20The libunicode-devel package includes the static libraries and header files
21for the libunicode package.
22
23Install libunicode-devel if you want to develop programs which will use
24libunicode.
25
26%changelog
27* Fri Feb 11 2000 Owen Taylor <otaylor@redhat.com>
28- Upgrade to 0.4
29- Correct License: to LGPL
30- Remove man-compress/strip. New versions of RPM handle this.
31- Switch to using DESTDIR
32- Split off a -devel package
33- Run ldconfig in %post and %postun
34
35* Fri Jan 21 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.3-3mdk
36- libtoolize --force.
37
38* Tue Nov 02 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
39- rebuild for new environmint
40
41* Thu Aug 05 1999 Pablo Saratxaga <pablo@mandrakesoft.com>
42- first rpm version
43
44%prep
45%setup
46
47%build
48./configure --prefix=%{prefix} --sysconfdir=/etc
49make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
50
51%install
52rm -rf $RPM_BUILD_ROOT
53mkdir -p $RPM_BUILD_ROOT%{prefix}
54
55make install DESTDIR=$RPM_BUILD_ROOT
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64%files
65%doc README AUTHORS COPYING ChangeLog TODO
66%{prefix}/lib/libunicode.so.*.*.*
67
68%files devel
69%defattr(-, root, root)
70%{prefix}/lib/libunicode.so
71%{prefix}/lib/libunicode.a
72%{prefix}/include/*
73%{prefix}/bin/unicode-config
74
75