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

Revision 9093, 2.3 KB checked in by inagaki, 8 years ago (diff)

2014-11-16 Ryoichi INAGAKI <ryo1@…>

  • ibus-qt: rebuilt
  • racket: NEW package (replaces plt-scheme)
  • rox-clib: changed Group


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     2
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
49make \
50    VERBOSE=1 \
51    C_DEFINES="$RPM_OPT_FLAGS" \
52    CXX_DEFINES="$RPM_OPT_FLAGS" \
53    %{?_smp_mflags}
54
55make docs
56
57%install
58%{__rm} -rf %{buildroot}
59make install DESTDIR=%{buildroot}
60
61%clean
62%{__rm} -rf %{buildroot}
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(-,root,root,-)
70%doc AUTHORS COPYING README
71%{_libdir}/libibus-qt.so.*
72%{_qt4_plugindir}/inputmethods/libqtim-ibus.so
73
74%files devel
75%defattr(-,root,root,-)
76%doc docs/html
77%dir %{_includedir}/ibus-qt
78%{_includedir}/ibus-qt/*.h
79%{_libdir}/libibus-qt.so
80
81%changelog
82* Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-2
83- rebuilt with libuci 54.1
84
85* Tue Nov  4 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-1
86- updated to 1.3.2
87- added BR: ibus-devel
88
89* Sat Jan  7 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.0-2
90- rebuilt with qt-4.8.0
91
92* Sun Jun  6 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-1
93- Initial build.
94
Note: See TracBrowser for help on using the repository browser.