/[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 1144332 - (hide annotations) (download)
Wed Aug 23 21:35:27 2017 UTC (7 years ago) by ovitters
File size: 3254 byte(s)
SILENT convert -devel buildrequires into pkgconfig
1 tv 73715 Summary: Fcitx - Free Chinese Input Toys for X
2     Name: fcitx
3 yochenhsieh 1009943 Version: 4.2.9.1
4 mrambo3501 1092692 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 fwang 144590 BuildRequires: gtk+2-devel
22 fwang 144586 BuildRequires: gtk+3-devel
23 ovitters 1144332 BuildRequires: pkgconfig(opencc)
24 tv 73715 BuildRequires: wget
25 ovitters 1144332 BuildRequires: pkgconfig(cairo)
26     BuildRequires: pkgconfig(pango)
27 tv 73715 BuildRequires: intltool
28 fwang 257478 BuildRequires: icu-devel
29 fwang 144586 BuildRequires: chrpath
30 fwang 154008 BuildRequires: desktop-file-utils
31 fwang 428065 BuildRequires: qt4-devel
32 tv 73715 Requires: locales-zh
33 yochenhsieh 1009943 Recommends: %{name}-gtk = %{version}
34     Recommends: %{name}-gtk3 = %{version}
35 yochenhsieh 1010294 Recommends: %{name}-configtool
36 tv 73715
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 wally 847178 Requires: %{name}-gir = %{version}
46 tv 73715
47     %description devel
48     fcitx development files.
49    
50 fwang 144586 %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 fwang 257479 %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 fwang 428073 %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 tv 73715 %prep
87 ovitters 876176 %setup -q
88 tv 73715
89     %build
90 yochenhsieh 1010294 %cmake -DENABLE_QT_GUI=OFF -DENABLE_GTK3_IM_MODULE=ON -DCMAKE_SKIP_RPATH=OFF -DENABLE_XDGAUTOSTART=OFF
91 tv 73715 %make
92    
93     %install
94 fwang 144586 %makeinstall_std -C build
95 tv 73715
96 fwang 144602 chrpath -d %{buildroot}%{_libdir}/*.so
97 fwang 154014 desktop-file-install --dir %{buildroot}%{_datadir}/applications \
98     %{buildroot}%{_datadir}/applications/*.desktop
99 fwang 144586
100 fwang 276455 rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/fcitx-autostart.desktop
101    
102 tv 73715 %find_lang %name
103    
104     %files -f %name.lang
105     %attr(0644,-,-) %doc doc/*.txt doc/*.htm
106 tv 894221 %exclude /usr/share/doc/fcitx/Develop_Readme
107 tv 73715 %{_bindir}/*
108     %{_libdir}/*.so.*
109 fwang 144586 %{_libdir}/%{name}
110 tv 73715 %{_datadir}/%{name}
111 fwang 496129 %{_datadir}/dbus-1/services/org.fcitx.Fcitx.service
112 fwang 154004 %{_datadir}/mime/packages/*.xml
113 tv 73715 %{_mandir}/man1/*
114     %{_datadir}/applications/*.desktop
115 fwang 144586 %{_iconsdir}/*/*/*/*
116 tv 73715
117 fwang 144606 %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 fwang 257480 %files gir
124 fwang 257479 %{_libdir}/girepository-1.0/Fcitx-1.0.typelib
125    
126 fwang 428073 %files qt4
127     %_qt4_plugindir/inputmethods/qtim-fcitx.so
128    
129 tv 73715 %files devel
130     %{_libdir}/*.so
131     %{_libdir}/pkgconfig/*.pc
132 fwang 257479 %{_datadir}/gir-1.0/Fcitx-1.0.gir
133 fwang 144586 %{_datadir}/cmake/%{name}
134 tv 73715 %{_includedir}/*

  ViewVC Help
Powered by ViewVC 1.1.30