source: projects/specs/trunk/m/m17n-lib/m17n-lib-vl.spec @ 1976

Revision 1976, 1.7 KB checked in by owa, 14 years ago (diff)

rebuilt with rpm-4.8.1

Line 
1%define ver 1.5.5
2%define rel 2
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
15
16Vendor: Project Vine
17Distribution: Vine Linux
18
19
20%description
21The m17n library is a multilingual text processing library for the C
22language.
23
24
25%package devel
26Summary: Development files for the %{name} package
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: pkgconfig
30
31%description devel
32Development 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
57make check
58
59
60%post -p /sbin/ldconfig
61
62
63%postun
64if [ "$1" = "0" ] ; then
65    /sbin/ldconfig
66fi
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* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
86- rebuilt with rpm-4.8.1 for pkg-config
87
88* Sun Feb  7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
89- new upstream release
90
91* Tue Apr  7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
92- dropt %%{?_smp_mflags}
93
94* Wed Apr  1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
95- initial release
96
Note: See TracBrowser for help on using the repository browser.