/[packages]/cauldron/fcitx/current/SPECS/fcitx.spec
ViewVC logotype

Contents of /cauldron/fcitx/current/SPECS/fcitx.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1092692 - (show annotations) (download)
Wed Mar 15 15:54:23 2017 UTC (7 years, 7 months ago) by mrambo3501
File size: 3216 byte(s)
Rebuild for icu-58.2
1 Summary: Fcitx - Free Chinese Input Toys for X
2 Name: fcitx
3 Version: 4.2.9.1
4 Release: %mkrel 4
5 License: GPLv2+
6 Group: System/Internationalization
7 URL: https://fcitx-im.org
8 Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
9 BuildRequires: cmake
10 BuildRequires: extra-cmake-modules
11 BuildRequires: gettext-devel
12 BuildRequires: libx11-devel
13 BuildRequires: libxft-devel
14 BuildRequires: xpm-devel
15 BuildRequires: libxext-devel
16 BuildRequires: dbus-glib-devel
17 BuildRequires: pkgconfig(xkbfile)
18 BuildRequires: enchant-devel
19 BuildRequires: pkgconfig(iso-codes)
20 BuildRequires: pkgconfig(gobject-introspection-1.0)
21 BuildRequires: gtk+2-devel
22 BuildRequires: gtk+3-devel
23 BuildRequires: opencc-devel
24 BuildRequires: wget
25 BuildRequires: cairo-devel
26 BuildRequires: pango-devel
27 BuildRequires: intltool
28 BuildRequires: icu-devel
29 BuildRequires: chrpath
30 BuildRequires: desktop-file-utils
31 BuildRequires: qt4-devel
32 Requires: locales-zh
33 Recommends: %{name}-gtk = %{version}
34 Recommends: %{name}-gtk3 = %{version}
35 Recommends: %{name}-configtool
36
37 %description
38 %{name} is an X input method allowing people to enter simplified Chinese
39 characters in X environment following XIM standard.
40
41 %package devel
42 Summary: fcitx development library
43 Group: Development/C
44 Requires: %{name} = %{version}
45 Requires: %{name}-gir = %{version}
46
47 %description devel
48 fcitx development files.
49
50 %package gtk
51 Summary: fcitx gtk module
52 Group: System/Internationalization
53 Requires: %{name} = %{version}
54 Requires(post): gtk+2.0
55 Requires(postun): gtk+2.0
56
57 %description gtk
58 fcitx gtk module.
59
60 %package gtk3
61 Summary: fcitx gtk3 module
62 Group: System/Internationalization
63 Requires: %{name} = %{version}
64 Requires(post): gtk+3.0
65 Requires(postun): gtk+3.0
66
67 %description gtk3
68 fcitx gtk module.
69
70 %package gir
71 Summary: GObject Introspection interface description for fcitx
72 Group: System/Libraries
73 Requires: %{name} = %{version}
74
75 %description gir
76 GObject Introspection interface description for fcitx.
77
78 %package qt4
79 Summary: Qt4 immodule for fcitx
80 Group: System/Internationalization
81 Requires: %{name} = %{version}
82
83 %description qt4
84 Qt4 immodule for fcitx.
85
86 %prep
87 %setup -q
88
89 %build
90 %cmake -DENABLE_QT_GUI=OFF -DENABLE_GTK3_IM_MODULE=ON -DCMAKE_SKIP_RPATH=OFF -DENABLE_XDGAUTOSTART=OFF
91 %make
92
93 %install
94 %makeinstall_std -C build
95
96 chrpath -d %{buildroot}%{_libdir}/*.so
97 desktop-file-install --dir %{buildroot}%{_datadir}/applications \
98 %{buildroot}%{_datadir}/applications/*.desktop
99
100 rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/fcitx-autostart.desktop
101
102 %find_lang %name
103
104 %files -f %name.lang
105 %attr(0644,-,-) %doc doc/*.txt doc/*.htm
106 %exclude /usr/share/doc/fcitx/Develop_Readme
107 %{_bindir}/*
108 %{_libdir}/*.so.*
109 %{_libdir}/%{name}
110 %{_datadir}/%{name}
111 %{_datadir}/dbus-1/services/org.fcitx.Fcitx.service
112 %{_datadir}/mime/packages/*.xml
113 %{_mandir}/man1/*
114 %{_datadir}/applications/*.desktop
115 %{_iconsdir}/*/*/*/*
116
117 %files gtk
118 %{_libdir}/gtk-2.0/*/immodules/im-fcitx.so
119
120 %files gtk3
121 %{_libdir}/gtk-3.0/*/immodules/im-fcitx.so
122
123 %files gir
124 %{_libdir}/girepository-1.0/Fcitx-1.0.typelib
125
126 %files qt4
127 %_qt4_plugindir/inputmethods/qtim-fcitx.so
128
129 %files devel
130 %{_libdir}/*.so
131 %{_libdir}/pkgconfig/*.pc
132 %{_datadir}/gir-1.0/Fcitx-1.0.gir
133 %{_datadir}/cmake/%{name}
134 %{_includedir}/*

  ViewVC Help
Powered by ViewVC 1.1.30