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


RevLine 
[9483]1Name:           m17n-lib
2Version:        1.7.0
3Release:        1%{?_dist_release}
4Summary:        Multilingual text library
5Summary(ja):    多言語テキストライブラリ
[521]6
[9483]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
[521]12
[9483]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
[3811]22BuildConflicts: anthy-devel
[9483]23Requires:       m17n-db
[521]24
[9483]25Vendor:         Project Vine
26Distribution:   Vine Linux
[521]27
28
29%description
[9483]30m17n-lib is a multilingual text library used primarily to allow
31the input of many languages with the input table maps from m17n-db.
[521]32
33%package devel
[9483]34Summary:        Development files for the %{name} package
35Summary(ja):    %{name} の開発用ファイル
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       %{name}-tools = %{version}-%{release}
39Requires:       pkgconfig
[521]40
41%description devel
42Development files for the %{name} package.
43
[9483]44%package  tools
45Summary:        m17n GUI Library tools
46Summary(ja):    m17n GUI ライブラリツール集
47Group:          Applications/Text
48Requires:       m17n-db
49Requires:       %{name} = %{version}-%{release}
[521]50
[9483]51%description tools
52Tools to test M17n GUI widget library.
53
[521]54%prep
55%setup -q
[9483]56%patch0 -p1
[521]57
[9483]58mkdir -p docs_to_include
59cp -pr example docs_to_include
60
[521]61%build
[9483]62autoreconf -ivf
63%configure \
64    --disable-rpath \
65    --disable-static \
66    --with-fontconfig \
67    --with-gd
[521]68
[9483]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
[521]75%install
[9483]76rm -rf $RPM_BUILD_ROOT
77make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
[521]78
[8846]79find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
[521]80
[8846]81# remove unused files
[9483]82rm -f $RPM_BUILD_ROOT%{_libdir}/m17n/1.0/libmimx-anthy.so
83rm -f $RPM_BUILD_ROOT%{_libdir}/m17n/1.0/libmimx-ispell.so
[521]84
[8846]85
[521]86%clean
[9483]87rm -rf $RPM_BUILD_ROOT
[521]88
89%check
90make check
91
92%post -p /sbin/ldconfig
[9483]93%postun -p /sbin/ldconfig
[521]94
[9483]95%post tools -p /sbin/ldconfig
96%postun tools -p /sbin/ldconfig
[521]97
98%files
99%defattr(-,root,root)
[9483]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.*
[521]107
108%files devel
109%defattr(-,root,root)
[9483]110%doc docs_to_include/example
111%{_bindir}/m17n-config
112%{_includedir}/*
[521]113%{_libdir}/lib*.so
[9483]114%{_libdir}/pkgconfig/*
[521]115
[9483]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.*
[521]125
126%changelog
[9483]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
[8846]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
[8084]138* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.5-5
139- rebuild with VineSeed environment
140
[7856]141* Wed Oct 02 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.5-4
142- rebuilt with gd-2.1.0.
143
[3811]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
[1976]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
[521]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.