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

Revision 8846, 2.5 KB checked in by Takemikaduchi, 10 years ago (diff)

jack-audio-connection-kit, libfontenv, m17n-{db,lib}: new upstream release
others: rebuild

Line 
1%define ver 1.6.4
2%define rel 1
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
15BuildRequires: fontconfig-devel
16BuildRequires: libotf-devel
17BuildRequires: libxml2-devel
18BuildRequires: libXt-devel
19BuildConflicts: anthy-devel
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24
25%description
26The m17n library is a multilingual text processing library for the C
27language.
28
29
30%package devel
31Summary: Development files for the %{name} package
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34Requires: pkgconfig
35
36%description devel
37Development files for the %{name} package.
38
39
40%prep
41%setup -q
42
43%build
44%configure --with-fontconfig --with-gd --disable-static
45#%{__make} %{?_smp_mflags}
46## don't use smp_mflags
47%{__make}
48
49%install
50%{__rm} -rf ${RPM_BUILD_ROOT}
51%{makeinstall}
52
53find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
54
55# remove unused files
56%{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/m17n/1.0/libmimx-anthy.so
57%{__rm} -f ${RPM_BUILD_ROOT}%{_libdir}/m17n/1.0/libmimx-ispell.so
58
59
60%clean
61%{__rm} -rf ${RPM_BUILD_ROOT}
62
63
64%check
65make check
66
67
68%post -p /sbin/ldconfig
69
70
71%postun
72if [ "$1" = "0" ] ; then
73    /sbin/ldconfig
74fi
75
76
77%files
78%defattr(-,root,root)
79%doc COPYING ChangeLog NEWS README TODO
80%{_bindir}/m17n*
81%{_libdir}/lib*.so.0.*
82%{_libdir}/m17n/1.0/libm17n-X.so
83%{_libdir}/m17n/1.0/libm17n-gd.so
84
85%files devel
86%defattr(-,root,root)
87%doc example
88%{_includedir}/*.h
89%{_libdir}/lib*.so
90%{_libdir}/lib*.so.0
91%{_libdir}/pkgconfig/m17n*.pc
92
93
94%changelog
95* Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
96- update to 1.6.4
97- add BuildRequires: libXt-devel
98
99* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.5-5
100- rebuild with VineSeed environment
101
102* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-4
103- rebuilt with gd-2.1.0.
104
105* Sun May  8 2011 IWAI, Masaharu <iwai@alib.jp> 1.5.5-3
106- add BuildRequires: libxml2-devel
107- add BuildConflicts: anthy-devel
108
109* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
110- rebuilt with rpm-4.8.1 for pkg-config
111
112* Sun Feb  7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
113- new upstream release
114
115* Tue Apr  7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
116- dropt %%{?_smp_mflags}
117
118* Wed Apr  1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
119- initial release
120
Note: See TracBrowser for help on using the repository browser.