emerald-vl.spec 5.8 KB

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