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

Revision 9483, 3.9 KB checked in by inagaki, 9 years ago (diff)

2015-04-03 Ryoichi INAGAKI <ryo1@…>

  • anthy: updated patch
  • m17n-db, m17n-lib, xosview: updated
  • uim: updated spec


Line 
1Name:           m17n-lib
2Version:        1.7.0
3Release:        1%{?_dist_release}
4Summary:        Multilingual text library
5Summary(ja):    多言語テキストライブラリ
6
7License:        LGPLv2+
8Group:          System Environment/Libraries
9URL:            http://www.nongnu.org/m17n/
10Source0:        http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
11Patch0:         %{name}-1.6.1-multilib.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  fontconfig-devel
15BuildRequires:  fribidi-devel
16BuildRequires:  gd-devel
17BuildRequires:  libotf-devel
18BuildRequires:  libthai-devel
19BuildRequires:  libxml2-devel
20BuildRequires:  libXt-devel
21BuildRequires:  m17n-db-devel
22BuildConflicts: anthy-devel
23Requires:       m17n-db
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27
28
29%description
30m17n-lib is a multilingual text library used primarily to allow
31the input of many languages with the input table maps from m17n-db.
32
33%package devel
34Summary:        Development files for the %{name} package
35Summary(ja):    %{name} の開発用ファイル
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       %{name}-tools = %{version}-%{release}
39Requires:       pkgconfig
40
41%description devel
42Development files for the %{name} package.
43
44%package  tools
45Summary:        m17n GUI Library tools
46Summary(ja):    m17n GUI ライブラリツール集
47Group:          Applications/Text
48Requires:       m17n-db
49Requires:       %{name} = %{version}-%{release}
50
51%description tools
52Tools to test M17n GUI widget library.
53
54%prep
55%setup -q
56%patch0 -p1
57
58mkdir -p docs_to_include
59cp -pr example docs_to_include
60
61%build
62autoreconf -ivf
63%configure \
64    --disable-rpath \
65    --disable-static \
66    --with-fontconfig \
67    --with-gd
68
69sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
70sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
71
72# parallel make usage with make command fails build on koji
73make
74
75%install
76rm -rf $RPM_BUILD_ROOT
77make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
78
79find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
80
81# remove unused files
82rm -f $RPM_BUILD_ROOT%{_libdir}/m17n/1.0/libmimx-anthy.so
83rm -f $RPM_BUILD_ROOT%{_libdir}/m17n/1.0/libmimx-ispell.so
84
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%check
90make check
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%post tools -p /sbin/ldconfig
96%postun tools -p /sbin/ldconfig
97
98%files
99%defattr(-,root,root)
100%doc AUTHORS COPYING NEWS ChangeLog README
101%dir %{_libdir}/m17n
102%dir %{_libdir}/m17n/1.0
103%{_bindir}/m17n-conv
104%{_libdir}/libm17n.so.*
105%{_libdir}/libm17n-core.so.*
106%{_libdir}/libm17n-flt.so.*
107
108%files devel
109%defattr(-,root,root)
110%doc docs_to_include/example
111%{_bindir}/m17n-config
112%{_includedir}/*
113%{_libdir}/lib*.so
114%{_libdir}/pkgconfig/*
115
116%files tools
117%defattr(-,root,root)
118%{_bindir}/m17n-date
119%{_bindir}/m17n-dump
120%{_bindir}/m17n-edit
121%{_bindir}/m17n-view
122%{_libdir}/m17n/1.0/libm17n-X.so
123%{_libdir}/m17n/1.0/libm17n-gd.so
124%{_libdir}/libm17n-gui.so.*
125
126%changelog
127* Thu Apr  2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.7.0-1
128- update to 1.7.0
129- fixed lib*.so.? location
130- added BuildRequires: fribidi-devel, libthai-devel and m17-db-devel
131- added Japanese summary
132- split tools into tools subpackage
133
134* Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
135- update to 1.6.4
136- add BuildRequires: libXt-devel
137
138* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.5-5
139- rebuild with VineSeed environment
140
141* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-4
142- rebuilt with gd-2.1.0.
143
144* Sun May  8 2011 IWAI, Masaharu <iwai@alib.jp> 1.5.5-3
145- add BuildRequires: libxml2-devel
146- add BuildConflicts: anthy-devel
147
148* Fri Oct 01 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.5-2
149- rebuilt with rpm-4.8.1 for pkg-config
150
151* Sun Feb  7 2010 IWAI, Masaharu <iwai@alib.jp> 1.5.5-1
152- new upstream release
153
154* Tue Apr  7 2009 Shu KONNO <owa@bg.wakwak.com> 1.5.4-2
155- dropt %%{?_smp_mflags}
156
157* Wed Apr  1 2009 IWAI, Masaharu <iwai@alib.jp> 1.5.4-1
158- initial release
159
Note: See TracBrowser for help on using the repository browser.