lxappearance-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: lxappearance
  2. Version: 0.4.0
  3. Release: 1%{?_dist_release}
  4. Summary: Feature-rich GTK+ theme switcher for LXDE
  5. Summary(ja): LXDE の機能豊かな GTK+ テーマスイッチャ
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel > 2.6, gettext, desktop-file-utils
  14. %description
  15. LXAppearance is a new GTK+ theme switcher developed for LXDE, the Lightweight
  16. X11 Desktop Environment. It is able to change GTK+ themes, icon themes, and
  17. fonts used by applications. All changes done by the users can be seen
  18. immediately in the preview area. After clicking the "Apply" button, the
  19. settings will be written to gtkrc, and all running programs will be asked to
  20. reload their themes.
  21. %description -l ja
  22. LXAppearance は LXDE -the Lightweight X11 Desktop Environment- のために開発された
  23. 新しい GTK+ テーマスイッチャです。GTK テーマ・アイコンテーマ・フォントを
  24. アプリケーションによって変えることができます。
  25. ユーザーにより行われたすべての変更はプレビューエリアで迅速に見ることができます。
  26. "適用"ボタンを押した後、設定は gtkrc に書き込まれ、すべての起動中のプログラムが
  27. それらのテーマを再読み込みするようます。
  28. %prep
  29. %setup -q
  30. sed -i 's|X-LXDE-Settings;Gtk;|X-Settings;|g' \
  31. %{name}.desktop
  32. %build
  33. %configure
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. make install DESTDIR=$RPM_BUILD_ROOT
  38. desktop-file-install --vendor="vine" \
  39. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  40. --delete-original \
  41. --add-category X-System \
  42. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  43. %find_lang %{name}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files -f %{name}.lang
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS COPYING
  49. %{_bindir}/%{name}
  50. %dir %{_datadir}/%{name}
  51. %attr(755,root,root) %{_datadir}/%{name}/install-icon-theme.sh
  52. %{_datadir}/applications/*.desktop
  53. %{_datadir}/%{name}/demo.ui
  54. %{_datadir}/%{name}/%{name}.ui
  55. %{_mandir}/man1/%{name}*.1*
  56. %changelog
  57. * Wed Jan 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.0-1
  58. - new upstream release
  59. * Mon Dec 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
  60. - new upstream release
  61. - fixed desktop file for build
  62. * Mon Jul 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1vl5
  63. - new upstream release
  64. - dropt Source1 and Patch0
  65. * Wed Apr 1 2009 IWAI, Masaharu <iwai@alib.jp> 0.2-3
  66. - enable ja.po
  67. - drop lxappearance-LINGUAS (Source2)
  68. - add enable lang ja patch (Patch0)
  69. - run autogen.sh
  70. * Fri Mar 27 2009 IWAI, Masaharu <iwai@alib.jp> 0.2-2
  71. - replace ja.po: from upstream repository
  72. - update %%files section: drop unnecessary extension in mandir
  73. - add Vendor and Distribution tags for Vine Linux
  74. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-1vl5
  75. - initial build for VineSeed (import Fedora package)
  76. * Sun Apr 20 2008 Christoph Wickert <fedora christoph-wickert de> - 0.2-1
  77. - Update to 0.2
  78. - Remove install-patch, applied upstream
  79. * Sat Apr 12 2008 Christoph Wickert <fedora christoph-wickert de> - 0.1-1
  80. - Initial Fedora RPM