ccsm-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. Name: ccsm
  2. Version: 0.8.4
  3. Release: 2%{?_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. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-2
  64. - rebuild with python-2.7.2
  65. * Sat Nov 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  66. - new upstream release
  67. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.2-2
  68. - rebuilt with python-2.6.4
  69. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  70. - new upstream release
  71. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  72. - new upstream release
  73. * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-3
  74. - remove vendor prefix from desktop filename.
  75. * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.7.6-2
  76. - rebuilt with python-2.5.2
  77. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  78. - new upstream release
  79. - add BuildRequires: python-sexy
  80. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  81. - new upstream release
  82. * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  83. - initial build for Vine Linux
  84. * Tue Mar 29 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.2-1
  85. - 0.7.2 update
  86. * Sat Dec 8 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-5
  87. - added installed but unpackaged file ccsm-0.6.0-py2.5.egg-info
  88. * Sat Nov 25 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-4
  89. - changed requires to allow flexible upgrade of compizconfig-python and libcompizconfig
  90. * Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-3
  91. - fixed issue with remove shebangs patch
  92. * Sun Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-1
  93. - official upstream 0.6.0 tarball release
  94. - owns directory
  95. - removed shebangs from ccm
  96. - fixed desktop entry
  97. * Fri Aug 19 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.3.20071018gita7fa7d
  98. - removed unneeded BuildReqs
  99. * Thu Aug 18 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.2.20071018gita7fa7d
  100. - 0.6.0 branch
  101. * Sun Jun 30 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-0.3.20070630git
  102. - 20070630git
  103. - Added BuildReq gettext
  104. - Added Require compizconfig-python
  105. - added require pygtk2
  106. * Sun Jun 24 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-20070622git
  107. - Initial specfile, borrowing descriptions from Trevino ubuntu debs