cairo-compmgr-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Summary: Cairo Composite Manager
  2. Summary(ja): Cairo コンポジットマネージャ
  3. Name: cairo-compmgr
  4. Version: 0.3.0
  5. Release: 4%{?_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. BuildRequires: glade3-devel
  32. BuildRoot: %{_tmppath}/%{name}%{version}-%{release}-buildroot
  33. %description
  34. Cairo Composite Manager is a versatile and extensible composite manager
  35. which use cairo for rendering. Plugins can be used to add some cool effects
  36. to your desktop.
  37. %description -l ja
  38. Cairo コンポジットマネージャはレンダリングに cairo を使用した多機能で拡張
  39. の可能なコンポジットマネージャです。プラグインを使ってデスクトップにクール
  40. な視覚効果を追加できます。
  41. %package devel
  42. Summary: Headers and development files of Cairo Composite Manager
  43. Summary(ja): Cairo コンポジットマネージャの開発用ファイル
  44. Group: Development/Libraries
  45. Requires: %{name} = %{version}
  46. %description devel
  47. This package contains the headers and development files that are needed,
  48. when trying to develop or compile applications which need Cairo Composite Manager.
  49. %description devel -l ja
  50. このパッケージには Cairo コンポジットマネージャを使ったプログラムを開発
  51. するのに必要なヘッダや開発用のファイルが含まれています。
  52. %prep
  53. %setup -q
  54. %patch1 -p1 -b .pixman
  55. %patch2 -p1 -b .vala
  56. %build
  57. %configure
  58. %{__make} %{?_smp_mflags}
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  62. # install japanese translation
  63. %{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/locale/ja/LC_MESSAGES
  64. msgfmt %{SOURCE1} -o ${RPM_BUILD_ROOT}/%{_localedir}/ja/LC_MESSAGES/%{name}.mo
  65. %find_lang %{name}
  66. # remove unnecessary files
  67. find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
  68. %post
  69. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  70. %postun
  71. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  72. %clean
  73. %{__rm} -rf $RPM_BUILD_ROOT
  74. %files -f %{name}.lang
  75. %defattr(-,root,root)
  76. %doc AUTHORS README NEWS COPYING ChangeLog
  77. %{_bindir}/%{name}
  78. %{_bindir}/ccm-schema-key-to-gconf
  79. %{_libdir}/%{name}
  80. %{_libdir}/glade3/modules/libgladeccm.so
  81. %{_libdir}/libcairo_compmgr.so.0
  82. %{_libdir}/libcairo_compmgr.so.0.0.3
  83. %{_datadir}/%{name}
  84. %{_datadir}/applications/%{name}.desktop
  85. %{_datadir}/glade3/catalogs/%{name}.xml
  86. %{_datadir}/pixmaps/%{name}
  87. %{_datadir}/vala/vapi
  88. %{_mandir}/man1/%{name}.1*
  89. %files devel
  90. %defattr(-,root,root)
  91. %{_includedir}/%{name}/*.h
  92. %{_libdir}/pkgconfig/*.pc
  93. %{_libdir}/libcairo_compmgr.so
  94. %{_datadir}/gtk-doc/html/%{name}
  95. %changelog
  96. * Thu Oct 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.3.0-4
  97. - added BuildRequires: glade3-devel
  98. - added %%{_libdir}/glade3/modules/libgladeccm.so and %%{_datadir}/glade3/catalogs/%{name}.xml in %%files
  99. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.0-3
  100. - rebuilt with rpm-4.8.1 for pkg-config
  101. * Sun Aug 15 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-2
  102. - rebuild with vala-0.9.5
  103. - add Patch2: to fix compile error with vala-0.9.5
  104. * Mon Aug 02 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.3.0-1
  105. - initial build for Vine Linux
  106. - add Source1: japanese translation
  107. - add Patch1: modify required version of pixman (for Vine Plus/5)