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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1473996 - (hide annotations) (download)
Fri Dec 27 20:11:59 2019 UTC (4 years, 8 months ago) by wally
File size: 3204 byte(s)
- build with new cmake macros
1 tv 73715 Summary: Fcitx - Free Chinese Input Toys for X
2     Name: fcitx
3 kekepower 1212630 Version: 4.2.9.6
4 wally 1373730 Release: %mkrel 4
5 wally 611991 License: GPLv2+
6 tv 73715 Group: System/Internationalization
7 fwang 496123 URL: https://fcitx-im.org
8 yochenhsieh 1009943 Source0: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
9 fwang 144586 BuildRequires: cmake
10 fwang 871783 BuildRequires: extra-cmake-modules
11 tv 73715 BuildRequires: gettext-devel
12 ovitters 1144332 BuildRequires: pkgconfig(x11)
13     BuildRequires: pkgconfig(xft)
14     BuildRequires: pkgconfig(xpm)
15     BuildRequires: pkgconfig(xext)
16     BuildRequires: pkgconfig(dbus-glib-1)
17 fwang 257459 BuildRequires: pkgconfig(xkbfile)
18 ovitters 1144332 BuildRequires: pkgconfig(enchant)
19 fwang 257459 BuildRequires: pkgconfig(iso-codes)
20 fwang 257472 BuildRequires: pkgconfig(gobject-introspection-1.0)
21 kekepower 1212833 BuildRequires: pkgconfig(xkeyboard-config)
22 fwang 144590 BuildRequires: gtk+2-devel
23 fwang 144586 BuildRequires: gtk+3-devel
24 ovitters 1144332 BuildRequires: pkgconfig(opencc)
25 tv 73715 BuildRequires: wget
26 ovitters 1144332 BuildRequires: pkgconfig(cairo)
27     BuildRequires: pkgconfig(pango)
28 tv 73715 BuildRequires: intltool
29 fwang 257478 BuildRequires: icu-devel
30 fwang 144586 BuildRequires: chrpath
31 fwang 154008 BuildRequires: desktop-file-utils
32 fwang 428065 BuildRequires: qt4-devel
33 tv 73715 Requires: locales-zh
34 yochenhsieh 1009943 Recommends: %{name}-gtk = %{version}
35     Recommends: %{name}-gtk3 = %{version}
36 yochenhsieh 1010294 Recommends: %{name}-configtool
37 tv 73715
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 wally 847178 Requires: %{name}-gir = %{version}
47 tv 73715
48     %description devel
49     fcitx development files.
50    
51 fwang 144586 %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 fwang 257479 %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 fwang 428073 %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 tv 73715 %prep
84 wally 1373730 %setup -q
85 tv 73715
86     %build
87 wally 1473996 %cmake \
88     -DENABLE_QT_GUI=OFF \
89     -DENABLE_GTK3_IM_MODULE=ON \
90     -DCMAKE_SKIP_RPATH=OFF \
91     -DENABLE_XDGAUTOSTART=OFF
92     %cmake_build
93 tv 73715
94     %install
95 wally 1473996 %cmake_install
96 tv 73715
97 fwang 144602 chrpath -d %{buildroot}%{_libdir}/*.so
98 fwang 154014 desktop-file-install --dir %{buildroot}%{_datadir}/applications \
99     %{buildroot}%{_datadir}/applications/*.desktop
100 fwang 144586
101 fwang 276455 rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/fcitx-autostart.desktop
102    
103 tv 73715 %find_lang %name
104    
105     %files -f %name.lang
106     %attr(0644,-,-) %doc doc/*.txt doc/*.htm
107 tv 894221 %exclude /usr/share/doc/fcitx/Develop_Readme
108 tv 73715 %{_bindir}/*
109     %{_libdir}/*.so.*
110 fwang 144586 %{_libdir}/%{name}
111 tv 73715 %{_datadir}/%{name}
112 fwang 496129 %{_datadir}/dbus-1/services/org.fcitx.Fcitx.service
113 fwang 154004 %{_datadir}/mime/packages/*.xml
114 tv 73715 %{_mandir}/man1/*
115     %{_datadir}/applications/*.desktop
116 fwang 144586 %{_iconsdir}/*/*/*/*
117 tv 73715
118 fwang 144606 %files gtk
119     %{_libdir}/gtk-2.0/*/immodules/im-fcitx.so
120    
121     %files gtk3
122     %{_libdir}/gtk-3.0/*/immodules/im-fcitx.so
123    
124 fwang 257480 %files gir
125 fwang 257479 %{_libdir}/girepository-1.0/Fcitx-1.0.typelib
126    
127 fwang 428073 %files qt4
128     %_qt4_plugindir/inputmethods/qtim-fcitx.so
129    
130 tv 73715 %files devel
131     %{_libdir}/*.so
132     %{_libdir}/pkgconfig/*.pc
133 fwang 257479 %{_datadir}/gir-1.0/Fcitx-1.0.gir
134 fwang 144586 %{_datadir}/cmake/%{name}
135 tv 73715 %{_includedir}/*

  ViewVC Help
Powered by ViewVC 1.1.30