1 | Summary: Cairo Composite Manager |
---|
2 | Summary(ja): Cairo コンポジットマネージャ |
---|
3 | Name: cairo-compmgr |
---|
4 | Version: 0.3.0 |
---|
5 | Release: 4%{?_dist_release} |
---|
6 | Source0: http://download.tuxfamily.org/ccm/cairo-compmgr/%{name}-%{version}.tar.gz |
---|
7 | Source1: cairo-compmgr-0.3.0-ja.po |
---|
8 | Patch1: cairo-compmgr-0.3.0-modify-pixman-required.patch |
---|
9 | Patch2: cairo-compmgr-0.3.0-vala-0.10-fix.patch |
---|
10 | URL: http://cairo-compmgr.tuxfamily.org/ |
---|
11 | License: GPLv2 |
---|
12 | Group: User Interface/X |
---|
13 | |
---|
14 | Requires(post): desktop-file-utils |
---|
15 | Requires(postun):desktop-file-utils |
---|
16 | BuildRequires: pkgconfig |
---|
17 | # down required version of pixman to compile on Vine 5 |
---|
18 | #BuildRequires: pixman-devel >= 0.16.0 |
---|
19 | BuildRequires: pixman-devel >= 0.15.18 |
---|
20 | BuildRequires: libXdamage-devel |
---|
21 | BuildRequires: cairo-devel >= 1.8.0 |
---|
22 | BuildRequires: gtk-doc |
---|
23 | BuildRequires: freetype2-devel |
---|
24 | BuildRequires: libpng-devel |
---|
25 | BuildRequires: libdirectfb-devel |
---|
26 | BuildRequires: atk-devel |
---|
27 | BuildRequires: vala-devel >= 0.7.10 |
---|
28 | BuildRequires: gtk2-devel >= 2.16.0 |
---|
29 | BuildRequires: libXext-devel |
---|
30 | BuildRequires: libSM-devel |
---|
31 | BuildRequires: gettext |
---|
32 | BuildRequires: glade3-devel |
---|
33 | |
---|
34 | BuildRoot: %{_tmppath}/%{name}%{version}-%{release}-buildroot |
---|
35 | |
---|
36 | %description |
---|
37 | Cairo Composite Manager is a versatile and extensible composite manager |
---|
38 | which use cairo for rendering. Plugins can be used to add some cool effects |
---|
39 | to your desktop. |
---|
40 | |
---|
41 | %description -l ja |
---|
42 | Cairo コンポジットマネージャはレンダリングに cairo を使用した多機能で拡張 |
---|
43 | の可能なコンポジットマネージャです。プラグインを使ってデスクトップにクール |
---|
44 | な視覚効果を追加できます。 |
---|
45 | |
---|
46 | %package devel |
---|
47 | Summary: Headers and development files of Cairo Composite Manager |
---|
48 | Summary(ja): Cairo コンポジットマネージャの開発用ファイル |
---|
49 | Group: Development/Libraries |
---|
50 | Requires: %{name} = %{version} |
---|
51 | |
---|
52 | %description devel |
---|
53 | This package contains the headers and development files that are needed, |
---|
54 | when trying to develop or compile applications which need Cairo Composite Manager. |
---|
55 | |
---|
56 | %description devel -l ja |
---|
57 | このパッケージには Cairo コンポジットマネージャを使ったプログラムを開発 |
---|
58 | するのに必要なヘッダや開発用のファイルが含まれています。 |
---|
59 | |
---|
60 | |
---|
61 | %prep |
---|
62 | %setup -q |
---|
63 | %patch1 -p1 -b .pixman |
---|
64 | %patch2 -p1 -b .vala |
---|
65 | |
---|
66 | %build |
---|
67 | %configure |
---|
68 | %{__make} %{?_smp_mflags} |
---|
69 | |
---|
70 | %install |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
73 | |
---|
74 | # install japanese translation |
---|
75 | %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/locale/ja/LC_MESSAGES |
---|
76 | msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/%{name}.mo |
---|
77 | |
---|
78 | %find_lang %{name} |
---|
79 | |
---|
80 | # remove unnecessary files |
---|
81 | find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \; |
---|
82 | |
---|
83 | %post |
---|
84 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
85 | |
---|
86 | %postun |
---|
87 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
88 | |
---|
89 | |
---|
90 | %clean |
---|
91 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
92 | |
---|
93 | |
---|
94 | %files -f %{name}.lang |
---|
95 | %defattr(-,root,root) |
---|
96 | %doc AUTHORS README NEWS COPYING ChangeLog |
---|
97 | %{_bindir}/%{name} |
---|
98 | %{_bindir}/ccm-schema-key-to-gconf |
---|
99 | %{_libdir}/%{name} |
---|
100 | %{_libdir}/glade3/modules/libgladeccm.so |
---|
101 | %{_libdir}/libcairo_compmgr.so.0 |
---|
102 | %{_libdir}/libcairo_compmgr.so.0.0.3 |
---|
103 | %{_datadir}/%{name} |
---|
104 | %{_datadir}/applications/%{name}.desktop |
---|
105 | %{_datadir}/glade3/catalogs/%{name}.xml |
---|
106 | %{_datadir}/pixmaps/%{name} |
---|
107 | %{_datadir}/vala/vapi |
---|
108 | %{_mandir}/man1/%{name}.1* |
---|
109 | |
---|
110 | %files devel |
---|
111 | %defattr(-,root,root) |
---|
112 | %{_includedir}/%{name}/*.h |
---|
113 | %{_libdir}/pkgconfig/*.pc |
---|
114 | %{_libdir}/libcairo_compmgr.so |
---|
115 | %{_datadir}/gtk-doc/html/%{name} |
---|
116 | |
---|
117 | |
---|
118 | %changelog |
---|
119 | * Thu Oct 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-4 |
---|
120 | - added BuildRequires: glade3-devel |
---|
121 | - added %%{_libdir}/glade3/modules/libgladeccm.so and %%{_datadir}/glade3/catalogs/%{name}.xml in %%files |
---|
122 | |
---|
123 | * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.0-3 |
---|
124 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
125 | |
---|
126 | * Sun Aug 15 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-2 |
---|
127 | - rebuild with vala-0.9.5 |
---|
128 | - add Patch2: to fix compile error with vala-0.9.5 |
---|
129 | |
---|
130 | * Mon Aug 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-1 |
---|
131 | - initial build for Vine Linux |
---|
132 | - add Source1: japanese translation |
---|
133 | - add Patch1: modify required version of pixman (for Vine Plus/5) |
---|