/[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 1346091 - (hide annotations) (download)
Sat Dec 29 04:47:30 2018 UTC (5 years, 8 months ago) by luigiwalser
File size: 3300 byte(s)
rebuild for icu
1 tv 73715 Summary: Fcitx - Free Chinese Input Toys for X
2     Name: fcitx
3 kekepower 1212630 Version: 4.2.9.6
4 luigiwalser 1346091 Release: %mkrel 3
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     Requires(post): gtk+2.0
56     Requires(postun): gtk+2.0
57    
58     %description gtk
59     fcitx gtk module.
60    
61     %package gtk3
62     Summary: fcitx gtk3 module
63     Group: System/Internationalization
64     Requires: %{name} = %{version}
65     Requires(post): gtk+3.0
66     Requires(postun): gtk+3.0
67    
68     %description gtk3
69     fcitx gtk module.
70    
71 fwang 257479 %package gir
72     Summary: GObject Introspection interface description for fcitx
73     Group: System/Libraries
74     Requires: %{name} = %{version}
75    
76     %description gir
77     GObject Introspection interface description for fcitx.
78    
79 fwang 428073 %package qt4
80     Summary: Qt4 immodule for fcitx
81     Group: System/Internationalization
82     Requires: %{name} = %{version}
83    
84     %description qt4
85     Qt4 immodule for fcitx.
86    
87 tv 73715 %prep
88 ovitters 876176 %setup -q
89 tv 73715
90     %build
91 yochenhsieh 1010294 %cmake -DENABLE_QT_GUI=OFF -DENABLE_GTK3_IM_MODULE=ON -DCMAKE_SKIP_RPATH=OFF -DENABLE_XDGAUTOSTART=OFF
92 kekepower 1212630 %make_build
93 tv 73715
94     %install
95 kekepower 1212630 %make_install -C build
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