cairo-compmgr-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Summary: Cairo Composite Manager
  2. Summary(ja): Cairo コンポジットマネージャ
  3. Name: cairo-compmgr
  4. Version: 0.3.0
  5. Release: 2%{?_dist_release}
  6. Source0: http://download.tuxfamily.org/ccm/cairo-compmgr/%{name}-%{version}.tar.gz
  7. Source1: cairo-compmgr-0.3.0-ja.po
  8. Patch1: cairo-compmgr-0.3.0-modify-pixman-required.patch
  9. Patch2: cairo-compmgr-0.3.0-vala-0.10-fix.patch
  10. URL: http://cairo-compmgr.tuxfamily.org/
  11. License: GPLv2
  12. Group: User Interface/X
  13. Requires(post): desktop-file-utils
  14. Requires(postun):desktop-file-utils
  15. BuildRequires: pkgconfig
  16. # down required version of pixman to compile on Vine 5
  17. #BuildRequires: pixman-devel >= 0.16.0
  18. BuildRequires: pixman-devel >= 0.15.18
  19. BuildRequires: libXdamage-devel
  20. BuildRequires: cairo-devel >= 1.8.0
  21. BuildRequires: gtk-doc
  22. BuildRequires: freetype2-devel
  23. BuildRequires: libpng-devel
  24. BuildRequires: libdirectfb-devel
  25. BuildRequires: atk-devel
  26. BuildRequires: vala-devel >= 0.7.10
  27. BuildRequires: gtk2-devel >= 2.16.0
  28. BuildRequires: libXext-devel
  29. BuildRequires: libSM-devel
  30. BuildRequires: gettext
  31. BuildRoot: %{_tmppath}/%{name}%{version}-%{release}-buildroot
  32. %description
  33. Cairo Composite Manager is a versatile and extensible composite manager
  34. which use cairo for rendering. Plugins can be used to add some cool effects
  35. to your desktop.
  36. %description -l ja
  37. Cairo コンポジットマネージャはレンダリングに cairo を使用した多機能で拡張
  38. の可能なコンポジットマネージャです。プラグインを使ってデスクトップにクール
  39. な視覚効果を追加できます。
  40. %package devel
  41. Summary: Headers and development files of Cairo Composite Manager
  42. Summary(ja): Cairo コンポジットマネージャの開発用ファイル
  43. Group: Development/Libraries
  44. Requires: %{name} = %{version}
  45. %description devel
  46. This package contains the headers and development files that are needed,
  47. when trying to develop or compile applications which need Cairo Composite Manager.
  48. %description devel -l ja
  49. このパッケージには Cairo コンポジットマネージャを使ったプログラムを開発
  50. するのに必要なヘッダや開発用のファイルが含まれています。
  51. %prep
  52. %setup -q
  53. %patch1 -p1 -b .pixman
  54. %patch2 -p1 -b .vala
  55. %build
  56. %configure
  57. %{__make} %{?_smp_mflags}
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  61. # install japanese translation
  62. %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/locale/ja/LC_MESSAGES
  63. msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/%{name}.mo
  64. %find_lang %{name}
  65. # remove unnecessary files
  66. find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  67. %post
  68. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  69. %postun
  70. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  71. %clean
  72. %{__rm} -rf $RPM_BUILD_ROOT
  73. %files -f %{name}.lang
  74. %defattr(-,root,root)
  75. %doc AUTHORS README NEWS COPYING ChangeLog
  76. %{_bindir}/%{name}
  77. %{_bindir}/ccm-schema-key-to-gconf
  78. %{_libdir}/%{name}
  79. %{_libdir}/libcairo_compmgr.so.0
  80. %{_libdir}/libcairo_compmgr.so.0.0.3
  81. %{_datadir}/%{name}
  82. %{_datadir}/applications/%{name}.desktop
  83. %{_datadir}/pixmaps/%{name}
  84. %{_datadir}/vala/vapi
  85. %{_mandir}/man1/%{name}.1*
  86. %files devel
  87. %defattr(-,root,root)
  88. %{_includedir}/%{name}/*.h
  89. %{_libdir}/pkgconfig/*.pc
  90. %{_libdir}/libcairo_compmgr.so
  91. %{_datadir}/gtk-doc/html/%{name}
  92. %changelog
  93. * Sun Aug 15 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-2
  94. - rebuild with vala-0.9.5
  95. - add Patch2: to fix compile error with vala-0.9.5
  96. * Mon Aug 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-1
  97. - initial build for Vine Linux
  98. - add Source1: japanese translation
  99. - add Patch1: modify required version of pixman (for Vine Plus/5)