Line | |
---|
1 | %define ver 1.5.5 |
---|
2 | %define rel 1 |
---|
3 | |
---|
4 | Summary: a multilingual text processing library for the C language |
---|
5 | Name: m17n-lib |
---|
6 | Version: %{ver} |
---|
7 | Release: %{rel}%{?_dist_release} |
---|
8 | Source0: %{name}-%{version}.tar.gz |
---|
9 | License: LGPLv2.1+ |
---|
10 | Group: System Environment/Libraries |
---|
11 | URL: http://www.m17n.org/m17n-lib-ja/ |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: gd-devel fontconfig-devel |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | |
---|
19 | |
---|
20 | %description |
---|
21 | The m17n library is a multilingual text processing library for the C |
---|
22 | language. |
---|
23 | |
---|
24 | |
---|
25 | %package devel |
---|
26 | Summary: Development files for the %{name} package |
---|
27 | Group: Development/Libraries |
---|
28 | Requires: %{name} = %{version}-%{release} |
---|
29 | Requires: pkgconfig |
---|
30 | |
---|
31 | %description devel |
---|
32 | Development files for the %{name} package. |
---|
33 | |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | %configure --with-fontconfig --with-gd |
---|
40 | #%{__make} %{?_smp_mflags} |
---|
41 | ## don't use smp_mflags |
---|
42 | %{__make} |
---|
43 | |
---|
44 | %install |
---|
45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
46 | %{makeinstall} |
---|
47 | |
---|
48 | %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.a |
---|
49 | %{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/*.la |
---|
50 | |
---|
51 | |
---|
52 | %clean |
---|
53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
54 | |
---|
55 | |
---|
56 | %check |
---|
57 | make check |
---|
58 | |
---|
59 | |
---|
60 | %post -p /sbin/ldconfig |
---|
61 | |
---|
62 | |
---|
63 | %postun |
---|
64 | if [ "$1" = "0" ] ; then |
---|
65 | /sbin/ldconfig |
---|
66 | fi |
---|
67 | |
---|
68 | |
---|
69 | %files |
---|
70 | %defattr(-,root,root) |
---|
71 | %doc COPYING ChangeLog NEWS README TODO |
---|
72 | %{_bindir}/m17n* |
---|
73 | %{_libdir}/lib*.so.0.* |
---|
74 | |
---|
75 | %files devel |
---|
76 | %defattr(-,root,root) |
---|
77 | %doc example |
---|
78 | %{_includedir}/*.h |
---|
79 | %{_libdir}/lib*.so |
---|
80 | %{_libdir}/lib*.so.0 |
---|
81 | %{_libdir}/pkgconfig/m17n*.pc |
---|
82 | |
---|
83 | |
---|
84 | %changelog |
---|
85 | * Sun Feb 7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1 |
---|
86 | - new upstream release |
---|
87 | |
---|
88 | * Tue Apr 7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2 |
---|
89 | - dropt %%{?_smp_mflags} |
---|
90 | |
---|
91 | * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1 |
---|
92 | - initial release |
---|
93 | |
---|
Note: See
TracBrowser
for help on using the repository browser.