/[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 144554 - (show annotations) (download)
Sat Sep 17 15:48:37 2011 UTC (13 years ago) by fwang
File size: 1660 byte(s)
new version 4.1.1
1 %define version 4.1.1
2 %define rel 1
3
4 # NOTE: set prerelease to 0 for official releases, 1 for pre-releases
5 %define prerelease 0
6
7 %if %prerelease
8 %define release %mkrel -c %{prerelease} %{rel}
9 %define tarballver %version-%prerelease
10 %else
11 %define release %mkrel %{rel}
12 %define tarballver %version
13 %endif
14
15 Summary: Fcitx - Free Chinese Input Toys for X
16 Name: fcitx
17 Version: %{version}
18 Release: %{release}
19 License: GPL
20 Group: System/Internationalization
21 URL: http://code.google.com/p/fcitx/
22 Source0: http://fcitx.googlecode.com/files/%name-%{version}_all.tar.bz2
23 BuildRequires: automake
24 BuildRequires: gettext-devel
25 BuildRequires: libx11-devel
26 BuildRequires: libxft-devel
27 BuildRequires: xpm-devel
28 BuildRequires: libxext-devel
29 BuildRequires: dbus-devel
30 BuildRequires: wget
31 BuildRequires: cairo-devel
32 BuildRequires: pango-devel
33 BuildRequires: intltool
34 Requires: locales-zh
35
36 %description
37 %{name} is an X input method allowing people to enter simplified Chinese
38 characters in X environment following XIM standard.
39
40 %package devel
41 Summary: fcitx development library
42 Group: Development/C
43 Requires: %{name} = %{version}
44
45 %description devel
46 fcitx development files.
47
48 %prep
49 %setup -q -n %name-%version
50
51 %build
52 %configure2_5x --disable-static
53 %make
54
55 %install
56 rm -rf %{buildroot}
57 %makeinstall_std
58
59 %find_lang %name
60
61 %clean
62 rm -rf %{buildroot}
63
64 %files -f %name.lang
65 %defattr(-,root,root)
66 %attr(0644,-,-) %doc doc/*.txt doc/*.htm
67 %{_bindir}/*
68 %{_libdir}/*.so.*
69 %{_datadir}/%{name}
70 %{_mandir}/man1/*
71 %{_datadir}/applications/*.desktop
72 %{_datadir}/pixmaps/*.png
73
74 %files devel
75 %defattr(-,root,root)
76 %{_libdir}/*.so
77 %{_libdir}/*.la
78 %{_libdir}/pkgconfig/*.pc
79 %{_includedir}/*
80
81

  ViewVC Help
Powered by ViewVC 1.1.30