emerald-vl.spec 5.2 KB

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