1 | %define origversion 20091231 |
---|
2 | |
---|
3 | Summary: Library of Unicode annotation data |
---|
4 | Summary(ja): ユニコード注釈データライブラリ |
---|
5 | Name: libuninameslist |
---|
6 | Version: 0.0.%{origversion} |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | License: BSD |
---|
9 | Group: System Environment/Libraries |
---|
10 | URL: http://libuninameslist.sf.net/ |
---|
11 | Source: http://dl.sf.net/libuninameslist/%{name}-%{origversion}.tar.bz2 |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | Packager: Daisuke SUZUKI <daisuke@linux.or.jp> |
---|
17 | |
---|
18 | |
---|
19 | %description |
---|
20 | The Unicode consortium provides a file containing annotations |
---|
21 | on many unicode characters. |
---|
22 | This library contains a compiled version of this file so that |
---|
23 | programs can access these data easily. |
---|
24 | |
---|
25 | %package devel |
---|
26 | Summary: Header files, libraries and development documentation for %{name} |
---|
27 | Summary(ja): libuninameslist 用のヘッダ、ライブラリおよび開発用ドキュメント |
---|
28 | Group: Development/Libraries |
---|
29 | Requires: %{name} = %{version}-%{release} |
---|
30 | |
---|
31 | %description devel |
---|
32 | This package contains the header files, static libraries and development |
---|
33 | documentation for %{name}. If you like to develop programs using %{name}, |
---|
34 | you will need to install %{name}-devel. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup -n %{name} |
---|
38 | |
---|
39 | %build |
---|
40 | %configure --disable-static |
---|
41 | %{__make} %{?_smp_mflags} LIBTOOL=/usr/bin/libtool |
---|
42 | |
---|
43 | %install |
---|
44 | %{__rm} -rf %{buildroot} |
---|
45 | %makeinstall LIBTOOL=/usr/bin/libtool \ |
---|
46 | incdir="%{buildroot}%{_includedir}" |
---|
47 | |
---|
48 | ### Clean up buildroot |
---|
49 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
50 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
51 | |
---|
52 | %post |
---|
53 | /sbin/ldconfig 2>/dev/null |
---|
54 | |
---|
55 | %postun |
---|
56 | /sbin/ldconfig 2>/dev/null |
---|
57 | |
---|
58 | %clean |
---|
59 | %{__rm} -rf %{buildroot} |
---|
60 | |
---|
61 | %files |
---|
62 | %defattr(-, root, root, 0755) |
---|
63 | %doc COPYING LICENSE |
---|
64 | %_libdir/*.so.* |
---|
65 | |
---|
66 | %files devel |
---|
67 | %defattr(-, root, root, 0755) |
---|
68 | %{_includedir}/*.h |
---|
69 | %{_libdir}/*.so |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Sat Jul 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.20091231-1 |
---|
73 | - update to 20091231 |
---|
74 | |
---|
75 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.20050712-1vl5 |
---|
76 | - applied new versioning policy, spec in utf-8 |
---|
77 | |
---|
78 | * Mon Oct 10 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20050712-0vl1 |
---|
79 | - initial build for Vine Linux |
---|
80 | |
---|