gnome-color-chooser-vl.spec 2.5 KB

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