/[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 894221 - (hide annotations) (download)
Thu Oct 22 16:14:24 2015 UTC (8 years, 10 months ago) by tv
File size: 3113 byte(s)
fix build: exclude some doc
1 tv 73715 Summary: Fcitx - Free Chinese Input Toys for X
2     Name: fcitx
3 fwang 871782 Version: 4.2.9
4 tv 894221 Release: %mkrel 2
5 wally 611991 License: GPLv2+
6 tv 73715 Group: System/Internationalization
7 fwang 496123 URL: https://fcitx-im.org
8 fwang 467451 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     BuildRequires: libx11-devel
13     BuildRequires: libxft-devel
14     BuildRequires: xpm-devel
15     BuildRequires: libxext-devel
16 fwang 144586 BuildRequires: dbus-glib-devel
17 fwang 257459 BuildRequires: pkgconfig(xkbfile)
18     BuildRequires: enchant-devel
19     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     BuildRequires: opencc-devel
24 tv 73715 BuildRequires: wget
25     BuildRequires: cairo-devel
26     BuildRequires: pango-devel
27     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    
34     %description
35     %{name} is an X input method allowing people to enter simplified Chinese
36     characters in X environment following XIM standard.
37    
38     %package devel
39     Summary: fcitx development library
40     Group: Development/C
41     Requires: %{name} = %{version}
42 wally 847178 Requires: %{name}-gir = %{version}
43 tv 73715
44     %description devel
45     fcitx development files.
46    
47 fwang 144586 %package gtk
48     Summary: fcitx gtk module
49     Group: System/Internationalization
50     Requires: %{name} = %{version}
51     Requires(post): gtk+2.0
52     Requires(postun): gtk+2.0
53    
54     %description gtk
55     fcitx gtk module.
56    
57     %package gtk3
58     Summary: fcitx gtk3 module
59     Group: System/Internationalization
60     Requires: %{name} = %{version}
61     Requires(post): gtk+3.0
62     Requires(postun): gtk+3.0
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 ovitters 876176 %setup -q
85 tv 73715
86     %build
87 fwang 496129 %cmake -DENABLE_GTK2_IM_MODULE=ON -DENABLE_GTK3_IM_MODULE=ON -DCMAKE_SKIP_RPATH=OFF -DENABLE_XDGAUTOSTART=OFF
88 tv 73715 %make
89    
90     %install
91 fwang 144586 %makeinstall_std -C build
92 tv 73715
93 fwang 144602 chrpath -d %{buildroot}%{_libdir}/*.so
94 fwang 154014 desktop-file-install --dir %{buildroot}%{_datadir}/applications \
95     %{buildroot}%{_datadir}/applications/*.desktop
96 fwang 144586
97 fwang 276455 rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/fcitx-autostart.desktop
98    
99 tv 73715 %find_lang %name
100    
101     %files -f %name.lang
102     %attr(0644,-,-) %doc doc/*.txt doc/*.htm
103 tv 894221 %exclude /usr/share/doc/fcitx/Develop_Readme
104 tv 73715 %{_bindir}/*
105     %{_libdir}/*.so.*
106 fwang 144586 %{_libdir}/%{name}
107 tv 73715 %{_datadir}/%{name}
108 fwang 496129 %{_datadir}/dbus-1/services/org.fcitx.Fcitx.service
109 fwang 154004 %{_datadir}/mime/packages/*.xml
110 tv 73715 %{_mandir}/man1/*
111     %{_datadir}/applications/*.desktop
112 fwang 144586 %{_iconsdir}/*/*/*/*
113 tv 73715
114 fwang 144606 %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 fwang 257480 %files gir
121 fwang 257479 %{_libdir}/girepository-1.0/Fcitx-1.0.typelib
122    
123 fwang 428073 %files qt4
124     %_qt4_plugindir/inputmethods/qtim-fcitx.so
125    
126 tv 73715 %files devel
127     %{_libdir}/*.so
128     %{_libdir}/pkgconfig/*.pc
129 fwang 257479 %{_datadir}/gir-1.0/Fcitx-1.0.gir
130 fwang 144586 %{_datadir}/cmake/%{name}
131 tv 73715 %{_includedir}/*

  ViewVC Help
Powered by ViewVC 1.1.30