1 | Summary: GTK+/GNOME Desktop appearance customization tool |
---|
2 | Summary(ja): GTK+/GNOME デスクトップの外観をカスタマイズするツール |
---|
3 | Name: gnome-color-chooser |
---|
4 | Version: 0.2.5 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: %{name}-%{version}.tar.bz2 |
---|
7 | Source1: gnome-color-choose-0.2.5-ja.po |
---|
8 | License: GPL |
---|
9 | Group: Applications/System |
---|
10 | URL: http://gnomecc.sourceforge.net/ |
---|
11 | |
---|
12 | #Requires: |
---|
13 | BuildRequires: gtkmm2-devel >= 2.8.0, libglademm2-devel >= 2.6.0 |
---|
14 | BuildRequires: libgnome-devel >= 2.16.0, libgnomeui-devel >= 2.14.0 |
---|
15 | BuildRequires: libxml2-devel >= 2.6.0 |
---|
16 | BuildRequires: desktop-file-utils |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | Packager: kazutaka |
---|
19 | |
---|
20 | %description |
---|
21 | Gnome-color-chooser is a GTK+/GNOME Desktop appearance customization tool. |
---|
22 | |
---|
23 | Features: |
---|
24 | |
---|
25 | * change most important colors (e.g. background, window decoration, tooltips) |
---|
26 | * change colors and sizes of GTK widgets |
---|
27 | * colorize desktop icons |
---|
28 | * configure installed gtk engines and let your current theme be drawn by a |
---|
29 | gtk engine you want |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | gnome-color-chooser は GTK+/GNOME デスクトップの外観をカスタ |
---|
33 | マイズするツールです。 |
---|
34 | |
---|
35 | 特徴は以下の通り: |
---|
36 | |
---|
37 | * 主要な色の変更 (例. 背景色、ウィンドウの装飾、ツールチップ) |
---|
38 | * GTK の各ウィジェットの色とサイズの変更 |
---|
39 | * デスクトップアイコンの着色 (colorize) |
---|
40 | * 指定した gtk エンジンを使った現在のテーマの描画 |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | %configure |
---|
49 | %{__make} %{?_smp_mflags} |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
54 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
55 | |
---|
56 | # install japanese translation |
---|
57 | %{__install} -d -m755 $RPM_BUILD_ROOT/%{_datadir}/locale/ja/LC_MESSAGES |
---|
58 | msgfmt %{SOURCE1} -o $RPM_BUILD_ROOT/%{_datadir}/locale/ja/LC_MESSAGES/%{name}.mo |
---|
59 | |
---|
60 | %find_lang %{name} |
---|
61 | |
---|
62 | desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ |
---|
63 | --add-category DesktopSettings \ |
---|
64 | --delete-original \ |
---|
65 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
66 | |
---|
67 | |
---|
68 | %post |
---|
69 | update-desktop-database %{_datadir}/applications>& /dev/null ||: |
---|
70 | |
---|
71 | |
---|
72 | %postun |
---|
73 | update-desktop-database %{_datadir}/applications>& /dev/null ||: |
---|
74 | |
---|
75 | |
---|
76 | %clean |
---|
77 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
78 | |
---|
79 | |
---|
80 | %files -f %{name}.lang |
---|
81 | %defattr(-,root,root) |
---|
82 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS |
---|
83 | %{_bindir}/%{name} |
---|
84 | %{_datadir}/applications/%{name}.desktop |
---|
85 | %{_datadir}/%{name} |
---|
86 | %{_datadir}/pixmaps/%{name}.svg |
---|
87 | %{_mandir}/man1/gnome-color-chooser.1* |
---|
88 | |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Sat Nov 07 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.2.5-1 |
---|
92 | - initial build for Vine Linux |
---|
93 | - add japanese translation |
---|