simple-ccsm-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Name: simple-ccsm
  2. Version: 0.8.4
  3. Release: 1%{?_dist_release}
  4. Summary: Simple Compiz Config Settings Manager
  5. Summary(ja): シンプルな Compiz 設定マネージャ
  6. Group: User Interface/Desktops
  7. URL: http://www.compiz-fusion.org/
  8. License: GPL
  9. Source: http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2
  10. Source10: %{name}-0.7.8-ja.po
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: compiz-devel
  14. BuildRequires: python-devel
  15. BuildRequires: compizconfig-python
  16. BuildRequires: pygtk2-devel
  17. BuildRequires: intltool
  18. BuildRequires: desktop-file-utils
  19. %description
  20. Simple Compiz Config Settings Manager
  21. %description -l ja
  22. シンプルな Compiz 設定マネージャ
  23. %prep
  24. %setup -q
  25. #cp -f %{SOURCE10} po/ja.po
  26. %build
  27. python setup.py build --prefix=%{_prefix}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
  31. desktop-file-install \
  32. --vendor="" \
  33. --remove-category="Compiz" \
  34. --add-category="Settings" \
  35. --add-category="DesktopSettings" \
  36. --dir %{buildroot}%{_datadir}/applications \
  37. %{buildroot}%{_datadir}/applications/%{name}.desktop
  38. %find_lang %{name}
  39. rm -f $RPM_BUILD_ROOT%{python_sitelib}/simple_ccsm-*-py2.5.egg-info
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post
  43. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  44. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  45. fi
  46. %postun
  47. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  48. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  49. fi
  50. %files -f %{name}.lang
  51. %defattr(-,root,root)
  52. %{_bindir}/%{name}
  53. %dir %{_datadir}/%{name}
  54. %{_datadir}/%{name}/%{name}.glade
  55. %dir %{_datadir}/%{name}/images
  56. %{_datadir}/%{name}/images/*.png
  57. %{_datadir}/%{name}/images/*.svg
  58. %dir %{_datadir}/%{name}/profiles
  59. %{_datadir}/%{name}/profiles/*.profile
  60. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  61. %{_datadir}/icons/hicolor/*/apps/%{name}.svg
  62. %{_datadir}/applications/%{name}.desktop
  63. %changelog
  64. * Sat Nov 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  65. - new upstream release
  66. - drop Source10
  67. - add BuildRequires: python-devel
  68. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-2
  69. - change Group to User Interface/Desktops
  70. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  71. - new upstream release
  72. * Sun Oct 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-2
  73. - new upstream release
  74. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  75. - new upstream release
  76. * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  77. - initial build for Vine Linux