source: projects/specs/branches/6/m/m17n-lib/m17n-lib-vl.spec @ 3811

Revision 3811, 1.9 KB checked in by iwaim, 13 years ago (diff)

m17n-lib-1.5.5-3

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