ccsm-vl.spec 4.2 KB

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