ccsm-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. Name: ccsm
  2. Version: 0.8.4
  3. Release: 1%{?_dist_release}
  4. Summary: Plugin and configuration tool - Compiz Fusion Project
  5. Summary(ja): プラグインおよび設定ツール - Compiz Fusion プロジェクト
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://www.opencompositing.org
  9. Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
  10. Patch101: ccsm-removeshebangs.patch
  11. # libdrm is not available on these arches
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. ExcludeArch: s390 s390x ppc64
  14. BuildArch: noarch
  15. BuildRequires: python-devel, gettext, desktop-file-utils
  16. Requires: compizconfig-python >= %{version}
  17. Requires: libcompizconfig >= %{version}
  18. Requires: pygtk2, python-sexy
  19. %description
  20. The Compiz Project brings 3D desktop visual effects that improve
  21. usability of the X Window System and provide increased productivity
  22. though plugins and themes contributed by the community giving a
  23. rich desktop experience.
  24. This package contains a gui configuration tool to configure Compiz
  25. plugins and the composite window manager.
  26. %prep
  27. %setup -q
  28. %patch101 -p1 -b .ccsm-removeshebangs
  29. %build
  30. #configure
  31. #make %{?_smp_mflags}
  32. python setup.py build
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. #make install DESTDIR=$RPM_BUILD_ROOT
  36. python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
  37. desktop-file-install \
  38. --vendor="" \
  39. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  40. --remove-category="Compiz" \
  41. $RPM_BUILD_ROOT%{_datadir}/applications/ccsm.desktop
  42. %find_lang %{name}
  43. rm -f $RPM_BUILD_ROOT%{python_sitelib}/*.egg-info
  44. %post
  45. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  46. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  47. fi
  48. %postun
  49. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  50. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  51. fi
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files -f %{name}.lang
  55. %defattr(-,root,root,-)
  56. %doc AUTHORS COPYING VERSION
  57. %{_bindir}/ccsm
  58. %{_datadir}/applications/ccsm.desktop
  59. %{_datadir}/ccsm/
  60. %{_datadir}/icons/hicolor/*/apps/ccsm.*
  61. %{python_sitelib}/ccm/
  62. %changelog
  63. * Sat Nov 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  64. - new upstream release
  65. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.2-2
  66. - rebuilt with python-2.6.4
  67. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  68. - new upstream release
  69. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  70. - new upstream release
  71. * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-3
  72. - remove vendor prefix from desktop filename.
  73. * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.7.6-2
  74. - rebuilt with python-2.5.2
  75. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  76. - new upstream release
  77. - add BuildRequires: python-sexy
  78. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  79. - new upstream release
  80. * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  81. - initial build for Vine Linux
  82. * Tue Mar 29 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.2-1
  83. - 0.7.2 update
  84. * Sat Dec 8 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-5
  85. - added installed but unpackaged file ccsm-0.6.0-py2.5.egg-info
  86. * Sat Nov 25 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-4
  87. - changed requires to allow flexible upgrade of compizconfig-python and libcompizconfig
  88. * Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-3
  89. - fixed issue with remove shebangs patch
  90. * Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-1
  91. - official upstream 0.6.0 tarball release
  92. - owns directory
  93. - removed shebangs from ccm
  94. - fixed desktop entry
  95. * Fri Aug 19 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.3.20071018gita7fa7d
  96. - removed unneeded BuildReqs
  97. * Thu Aug 18 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.2.20071018gita7fa7d
  98. - 0.6.0 branch
  99. * Sun Jun 30 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-0.3.20070630git
  100. - 20070630git
  101. - Added BuildReq gettext
  102. - Added Require compizconfig-python
  103. - added require pygtk2
  104. * Sun Jun 24 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-20070622git
  105. - Initial specfile, borrowing descriptions from Trevino ubuntu debs