emerald-vl.spec 5.6 KB

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