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

Revision 7856, 2.0 KB checked in by tomop, 11 years ago (diff)

gd-2.1.0-1 and dependencies.

Line 
1%define ver 1.5.5
2%define rel 4
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* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-4
88- rebuilt with gd-2.1.0.
89
90* Sun May  8 2011 IWAI, Masaharu <iwai@alib.jp> 1.5.5-3
91- add BuildRequires: libxml2-devel
92- add BuildConflicts: anthy-devel
93
94* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
95- rebuilt with rpm-4.8.1 for pkg-config
96
97* Sun Feb  7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
98- new upstream release
99
100* Tue Apr  7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
101- dropt %%{?_smp_mflags}
102
103* Wed Apr  1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
104- initial release
105
Note: See TracBrowser for help on using the repository browser.