source: projects/specs/trunk/t/tomoe-gtk/tomoe-gtk-vl.spec @ 9156

Revision 9156, 4.1 KB checked in by inagaki, 9 years ago (diff)

2014-12-15 Ryoichi INAGAKI <ryo1@…>

  • dbskkd-cdb, stone, tidy, uim-tomoe-gtk: rebuilt
  • espeak: updated
  • gwget: added Patch
  • sablotron, tomoe-gtk: updated spec


Line 
1%define _tomoe_ver      0.6.0
2%bcond_with python
3
4Summary:        Gtk library for tomoe for Japanese and Chinese handwritten input
5Summary(ja):    tomoe の GTK ライブラリ
6Name:           tomoe-gtk
7Version:        0.6.0
8Release:        3%{?_dist_release}
9
10License:        LGPL
11Group:          System Environment/Libraries
12URL:            http://tomoe.sourceforge.jp/
13
14Source0:        tomoe-gtk-%{version}.tar.gz
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  gtk-doc >= 1.4
18BuildRequires:  gtk2-devel >= 2.4.0
19# does not currently build with gucharmap-2
20#BuildRequires:  gucharmap-devel
21BuildRequires:  tomoe-devel >= %{_tomoe_ver}
22
23
24Requires:       tomoe >= %{_tomoe_ver}
25Requires:       gtk2 >= 2.4.0
26Obsoletes:      libtomoe-gtk < 0.6.0
27
28%description
29Gtk library for tomoe Japanese handwritten input.
30This package is used by scim-tomoe or uim-tomoe.
31
32%description -l ja
33手書き文字認識エンジン tomoe の gtk ライブラリです。
34scim-tomoe または uim-tomoe に用いられます。
35
36%package devel
37Summary:        Header files for developing tomoe-gtk applications
38Summary(ja):    tomoe-gtk アプリケーション開発用ヘッダファイル
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       tomoe-devel >= %{_tomoe_ver}
42#Requires:      gucharmap-devel >= 1.4.0
43Requires:       pkgconfig
44Obsoletes:      libtomoe-gtk-devel < 0.6.0
45
46%description devel
47The tomoe-gtk-devel package includes the header files for the tomoe-gtk
48package.
49
50%description -l ja devel
51tomoe-gtk-devel パッケージには、tomoe-gtk を使うアプリケーションを開発するためのヘッダファイルが含まれています。
52
53%if %{with python}
54%package -n python-tomoe-gtk
55Summary:        tomoe-gtk library for Python binding
56Summary(ja):    Python から tomoe-gtk を使うためのライブラリ
57Group:          System Environment/Libraries
58Requires:       %{name} = %{version}-%{release}
59Requires:       python
60BuildRequires:  python-devel
61BuildRequires:  pygobject-devel
62
63%description -n python-tomoe-gtk
64Python extension library to use tomoe-gtk
65
66%description -l ja -n python-tomoe-gtk
67Python から tomoe-gtk を使うための拡張ライブラリです。
68%endif
69
70
71%prep
72%setup -q
73
74%build
75%configure \
76    --disable-static \
77    %{!?with_python: --without-python } \
78    --without-gucharmap
79
80%__make %{?_smp_mflags}
81
82%install
83%__rm -rf $RPM_BUILD_ROOT
84
85%makeinstall
86
87## remove unuse files
88find ${RPM_BUILD_ROOT} -name '*.la' | xargs rm
89
90
91%find_lang %{name}
92
93%clean
94%__rm -rf %{buildroot}
95
96%post -p %{_syssbindir}/ldconfig
97
98%postun -p %{_syssbindir}/ldconfig
99
100
101%files -f %{name}.lang
102%defattr(-,root,root,-)
103%doc AUTHORS COPYING ChangeLog INSTALL
104%{_libdir}/*.so.*
105%{_datadir}/tomoe-gtk
106
107%files devel
108%defattr(-,root,root,-)
109%{_includedir}/tomoe/gtk/*.h
110%{_libdir}/pkgconfig/*.pc
111%{_libdir}/*.so
112%{_datadir}/gtk-doc/html/libtomoe-gtk
113
114%if %{with python}
115%files -n python-tomoe-gtk
116%defattr(-,root,root,-)
117%{_libdir}/python?.?/site-packages/gtk-?.?/tomoegtk.so
118%endif
119
120
121%changelog
122* Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.6.0-3
123- rebuilt on current VineSeed
124
125* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.0-2
126- rebuilt with rpm-4.8.1 for pkg-config
127
128* Sun May 31 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.6.0-1
129- new upstream release
130- added %%configure:
131  - --disable-static
132  - --without-gucharmap
133
134* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.1-1vl5
135- applied new versioning policy, spec in utf-8
136- removed *.la
137
138* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.1-0vl1
139- new upstream release
140- drop obsolete test-fix.patch (patch0)
141
142* Mon Jan 08 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl2
143- add Requires: gucharmap-devel to -devel package
144
145* Mon Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl1
146- new upstream release
147- update required version of tomoe
148- add test-fix.patch (patch0)
149- add Requires: tomoe-devel to -devel package
150- add BuildRequires: gtk-doc >= 1.4, gucharmap-devel >= 1.4.0
151
152* Fri Nov 24 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.3.0-0vl1
153- new upstream release
154- update required-version of tomoe
155- add Requires: pkgconfig to -devel package
156- update %%files
157
158* Mon Nov 07 2005 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl1
159- initial release for Vine Linux
Note: See TracBrowser for help on using the repository browser.