emerald-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. Name: emerald
  2. Url: http://www.compiz-fusion.org/
  3. License: GPLv2
  4. Group: User Interface/Desktops
  5. Version: 0.8.4
  6. Release: 1%{?_dist_release}
  7. Summary: Themeable window decorator and compositing manager for Compiz Fusion
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  9. Source0: http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
  10. Patch0: 05_build_without_gtk_disable_deprecated.patch
  11. # libdrm is not available on these arches
  12. ExcludeArch: s390 s390x
  13. # no compiz-devel available
  14. ExcludeArch: ppc64
  15. Requires: compiz
  16. BuildRequires: libXres-devel
  17. BuildRequires: compiz-devel >= %{version}
  18. BuildRequires: libwnck-devel, gtk2-devel
  19. BuildRequires: intltool, desktop-file-utils
  20. BuildRequires: perl(XML::Parser), gettext
  21. %description
  22. Emerald is themeable window decorator and compositing
  23. manager for Compiz.
  24. %package devel
  25. Summary: Development files for emerald
  26. Summary(ja): Development files for emerald
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: pkgconfig
  30. %description devel
  31. The emerald-devel package provides development files
  32. for emerald, the themeable window decorator for Compiz.
  33. %prep
  34. %setup -q
  35. %patch0 -p1
  36. # Death to rpaths...
  37. perl -pi -e 's|hardcode_into_libs=.*|hardcode_into_libs=no|g' configure
  38. perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' configure
  39. perl -pi -e 's|runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' configure
  40. %build
  41. %configure --enable-librsvg --disable-mime-update
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make DESTDIR=$RPM_BUILD_ROOT install
  46. find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
  47. desktop-file-install --vendor "" --delete-original \
  48. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  49. $RPM_BUILD_ROOT%{_datadir}/applications/emerald-theme-manager.desktop
  50. %find_lang %{name}
  51. %clean
  52. rm -rf $RPM_BUILD_ROOT
  53. %post
  54. /sbin/ldconfig
  55. update-mime-database %{_datadir}/mime &>/dev/null || :
  56. update-desktop-database %{_datadir}/applications &> /dev/null || :
  57. %postun
  58. /sbin/ldconfig
  59. update-mime-database %{_datadir}/mime &>/dev/null || :
  60. update-desktop-database %{_datadir}/applications &> /dev/null || :
  61. %files -f %{name}.lang
  62. %defattr(-,root,root,-)
  63. %doc COPYING
  64. %{_bindir}/*
  65. %{_datadir}/pixmaps/*
  66. %dir %{_libdir}/emerald
  67. %{_libdir}/emerald/*
  68. %{_libdir}/libemeraldengine.so.*
  69. %dir %{_datadir}/emerald
  70. %dir %{_datadir}/emerald/theme
  71. %{_datadir}/emerald/theme/*
  72. %{_datadir}/emerald/settings.ini
  73. %{_datadir}/applications/*
  74. %{_datadir}/mime-info/*
  75. %{_datadir}/mime/packages/*
  76. %{_datadir}/icons/hicolor/48x48/mimetypes/*
  77. %{_mandir}/man1/*.1*
  78. %files devel
  79. %defattr(-,root,root,-)
  80. %{_includedir}/*
  81. %{_libdir}/pkgconfig/*.pc
  82. %{_libdir}/libemeraldengine.so
  83. %changelog
  84. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.4-1
  85. - update to 0.8.4
  86. - add Patch0 (05_build_without_gtk_disable_deprecated.patch)
  87. * Mon May 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.2-1
  88. - new upstream release
  89. * Sun May 02 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.7.8-2
  90. - added BuildRequires: libXres-devel
  91. - corrected emerald-theme-manager.desktop
  92. * Wed Oct 15 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.8-1
  93. - new upstream release
  94. * Mon May 19 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  95. - initial build for Vine Linux
  96. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5.2-4
  97. - Autorebuild for GCC 4.3
  98. * Fri Jan 04 2008 Adel Gadllah <adel.gadllah@gmail.com> 0.5.2-3
  99. - Fix gcc43 build
  100. * Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-2
  101. - Disable ppc64 build (no compiz-devel.ppc64)
  102. * Mon Oct 08 2007 Jarod Wilson <jwilson@redhat.com> 0.5.2-1
  103. - New upstream release
  104. - Should work with latest compiz bits in Fedora
  105. * Mon Jun 11 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-2
  106. - Fix up build against latest libwnck
  107. * Mon Jun 04 2007 Jarod Wilson <jwilson@redhat.com> 0.2.1-1
  108. - beryl 0.2.1
  109. * Thu Mar 15 2007 Jarod Wilson <jwilson@redhat.com> 0.2.0-1
  110. - beryl 0.2.0
  111. * Tue Feb 20 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.2-1
  112. - beryl 0.1.9999.2 (aka 0.2.0-rc2)
  113. * Mon Feb 05 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9999.1-1
  114. - beryl 0.1.9999.1 (aka 0.2.0-rc1)
  115. * Mon Jan 29 2007 Jarod Wilson <jwilson@redhat.com> 0.1.99.2-1
  116. - New upstream release
  117. * Tue Jan 02 2007 Jarod Wilson <jwilson@redhat.com> 0.1.4-1
  118. - New upstream release
  119. * Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-2
  120. - Add necessary BR for freshly-added translations
  121. * Tue Dec 12 2006 Jarod Wilson <jwilson@redhat.com> 0.1.3-1
  122. - New upstream release
  123. * Thu Nov 16 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-4
  124. - Trim BR:
  125. * Wed Nov 15 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-3
  126. - Kill rpaths
  127. * Tue Nov 14 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-2
  128. - Use upstream tarball, now that there is one
  129. * Fri Nov 10 2006 Jarod Wilson <jwilson@redhat.com> 0.1.2-1
  130. - New upstream release
  131. * Tue Oct 31 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-2
  132. - Add missing BR: libtool, gettext-devel, libwnck-devel,
  133. libXdamage, libXcomposite
  134. * Thu Oct 26 2006 Jarod Wilson <jwilson@redhat.com> 0.1.1-1
  135. - New upstream release
  136. - Require beryl-core of at least the same version
  137. - Move autoreconf bits to prep section
  138. * Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-3
  139. - Really fix the duplicate menu entries this time
  140. * Thu Oct 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-2
  141. - Fix duplicate menu entries
  142. * Tue Oct 03 2006 Jarod Wilson <jwilson@redhat.com> 0.1.0-1
  143. - Initial Fedora build