ccsm-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Name: ccsm
  2. Version: 0.8.4
  3. Release: 3%{?_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. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. %description
  22. The Compiz Project brings 3D desktop visual effects that improve
  23. usability of the X Window System and provide increased productivity
  24. though plugins and themes contributed by the community giving a
  25. rich desktop experience.
  26. This package contains a gui configuration tool to configure Compiz
  27. plugins and the composite window manager.
  28. %prep
  29. %setup -q
  30. %patch101 -p1 -b .ccsm-removeshebangs
  31. %build
  32. #configure
  33. #make %{?_smp_mflags}
  34. python setup.py build
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. #make install DESTDIR=$RPM_BUILD_ROOT
  38. python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
  39. desktop-file-install \
  40. --vendor="" \
  41. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  42. --remove-category="Compiz" \
  43. $RPM_BUILD_ROOT%{_datadir}/applications/ccsm.desktop
  44. %find_lang %{name}
  45. rm -f $RPM_BUILD_ROOT%{python_sitelib}/*.egg-info
  46. %post
  47. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  48. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  49. fi
  50. %postun
  51. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  52. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  53. fi
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS COPYING VERSION
  59. %{_bindir}/ccsm
  60. %{_datadir}/applications/ccsm.desktop
  61. %{_datadir}/ccsm/
  62. %{_datadir}/icons/hicolor/*/apps/ccsm.*
  63. %{python_sitelib}/ccm/
  64. %changelog
  65. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-3
  66. - rebuild with VineSeed environment
  67. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-2
  68. - rebuild with python-2.7.2
  69. * Sat Nov 06 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  70. - new upstream release
  71. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.8.2-2
  72. - rebuilt with python-2.6.4
  73. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  74. - new upstream release
  75. * Sat Oct 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  76. - new upstream release
  77. * Wed Jul 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-3
  78. - remove vendor prefix from desktop filename.
  79. * Mon Jul 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.7.6-2
  80. - rebuilt with python-2.5.2
  81. * Wed Jun 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.6-1
  82. - new upstream release
  83. - add BuildRequires: python-sexy
  84. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  85. - new upstream release
  86. * Wed May 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  87. - initial build for Vine Linux
  88. * Sat Mar 29 2008 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.7.2-1
  89. - 0.7.2 update
  90. * Sat Dec 8 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-5
  91. - added installed but unpackaged file ccsm-0.6.0-py2.5.egg-info
  92. * Sun Nov 25 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-4
  93. - changed requires to allow flexible upgrade of compizconfig-python and libcompizconfig
  94. * Tue Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-3
  95. - fixed issue with remove shebangs patch
  96. * Tue Aug 21 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-1
  97. - official upstream 0.6.0 tarball release
  98. - owns directory
  99. - removed shebangs from ccm
  100. - fixed desktop entry
  101. * Sun Aug 19 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.3.20071018gita7fa7d
  102. - removed unneeded BuildReqs
  103. * Sat Aug 18 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.6.0-0.2.20071018gita7fa7d
  104. - 0.6.0 branch
  105. * Sat Jun 30 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-0.3.20070630git
  106. - 20070630git
  107. - Added BuildReq gettext
  108. - Added Require compizconfig-python
  109. - added require pygtk2
  110. * Sun Jun 24 2007 Mohd Izhar Firdaus Ismail <mohd.izhar.firdaus@gmail.com> 0.0.1-20070622git
  111. - Initial specfile, borrowing descriptions from Trevino ubuntu debs