source: projects/specs/trunk/i/ibus-qt/ibus-qt-vl.spec @ 11403

Revision 11403, 2.5 KB checked in by ara_t, 5 years ago (diff)

ibus-qt: rebuild with icu-60.2

Line 
1%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt4)
2%define _qt4_plugindir %(pkg-config --variable plugindir --silence-errors Qt 2>/dev/null || echo %{_qt4_prefix}/plugins)
3
4%define ver     1.3.2
5%define rel     4
6
7Summary: Qt IBus library and Qt input method plugin
8Summary(ja): Qt iBus ライブラリと入力メソッドプラグイン
9Name: ibus-qt
10Version: %{ver}
11Release: %{rel}%{?_dist_release}
12License: GPLv2+
13Group: System Environment/Libraries
14URL: http://code.google.com/p/ibus/
15Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17BuildRequires: cmake
18BuildRequires: qt4-devel >= 4.5
19BuildRequires: dbus-devel >= 1.2
20BuildRequires: ibus-devel >= 1.3.7
21BuildRequires: libicu-devel >= 4.0
22BuildRequires: doxygen >= 1.6
23Requires: ibus >= 1.3.7
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: iwaim
28
29%description
30This includes Qt IBus library and Qt input method plugin.
31
32%package devel
33Summary: Development tools for ibus Qt
34Summary(ja): ibus Qt の開発用ファイル
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37
38%description devel
39The ibus-qt-devel package contains the header files for ibus Qt library.
40
41%prep
42%setup -q -n %{name}-%{version}-Source
43
44%build
45%cmake \
46    -DCMAKE_INSTALL_PREFIX=%{_usr} \
47    -DLIBDIR=%{_libdir} \
48    -DCMAKE_CXX_FLAGS="-std=c++11"
49
50make \
51    VERBOSE=1 \
52    C_DEFINES="$RPM_OPT_FLAGS" \
53    CXX_DEFINES="$RPM_OPT_FLAGS" \
54    %{?_smp_mflags}
55
56make docs
57
58%install
59%{__rm} -rf %{buildroot}
60make install DESTDIR=%{buildroot}
61
62%clean
63%{__rm} -rf %{buildroot}
64
65%post -p /sbin/ldconfig
66
67%postun -p /sbin/ldconfig
68
69%files
70%defattr(-,root,root,-)
71%doc AUTHORS COPYING README
72%{_libdir}/libibus-qt.so.*
73%{_qt4_plugindir}/inputmethods/libqtim-ibus.so
74
75%files devel
76%defattr(-,root,root,-)
77%doc docs/html
78%dir %{_includedir}/ibus-qt
79%{_includedir}/ibus-qt/*.h
80%{_libdir}/libibus-qt.so
81
82%changelog
83* Thu Jan 18 2018 Toshiaki Ara <ara_t@384.jp> 1.3.2-4
84- rebuild with icu-60.2
85- add option: -DCMAKE_CXX_FLAGS="-std=c++11"
86
87* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> 1.3.2-3
88- rebuild with gcc-5.4.0
89
90* Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-2
91- rebuilt with libuci 54.1
92
93* Tue Nov  4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-1
94- updated to 1.3.2
95- added BR: ibus-devel
96
97* Sat Jan  7 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.0-2
98- rebuilt with qt-4.8.0
99
100* Sun Jun  6 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
101- Initial build.
102
Note: See TracBrowser for help on using the repository browser.