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

  ViewVC Help
Powered by ViewVC 1.1.30