libxfce4ui-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. %global xfceversion 4.10
  2. Name: libxfce4ui
  3. Summary: Commonly used Xfce widgets
  4. Version: 4.10.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://xfce.org/
  9. Source0: http://archive.xfce.org/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gettext
  12. BuildRequires: glib2-devel >= 2.12.0
  13. BuildRequires: gtk-doc
  14. BuildRequires: gtk2-devel >= 2.12.0
  15. BuildRequires: intltool
  16. BuildRequires: libSM-devel
  17. BuildRequires: libxfce4util-devel >= %{xfceversion}
  18. BuildRequires: startup-notification-devel >= 0.4
  19. BuildRequires: xfconf-devel >= %{xfceversion}
  20. # FIXME: Enable libglade again one day
  21. #BuildRequires: glade3-libgladeui-devel >= 3.5.0
  22. # FIXME: obsolete libxfcegui4 one day
  23. #Provides: libxfcegui4 = %{version}
  24. #Obsoletes: libxfcegui4 < %{version}
  25. Obsoletes: xfce-utils < 4.9
  26. %description
  27. Libxfce4ui is used to share commonly used Xfce widgets among the Xfce
  28. applications.
  29. %package devel
  30. Summary: Development files for %{name}
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: gtk2-devel
  34. Requires: libxfce4util-devel
  35. # FIXME: Enable libglade again one day
  36. #Requires: glade3-libgladeui-devel
  37. Requires: pkgconfig
  38. # FIXME: obsolete libxfcegui4 one day
  39. #Provides: libxfcegui4-devel = %{version}
  40. #Obsoletes: libxfcegui4-devel < %{version}
  41. %description devel
  42. The %{name}-devel package contains libraries and header files for
  43. developing applications that use %{name}.
  44. %prep
  45. %setup -q
  46. %build
  47. # FIXME: Enable libglade again one day
  48. %configure --enable-gtk-doc --disable-static --disable-gladeui
  49. # Remove rpaths
  50. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  51. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  52. # The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc
  53. # because lt-libxfce4ui-scan is linked against libxfce4ui
  54. export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs
  55. make %{?_smp_mflags} V=1
  56. %install
  57. rm -rf $RPM_BUILD_ROOT
  58. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  59. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  60. %find_lang %{name}
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %post
  64. /sbin/ldconfig
  65. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. update-desktop-database %{_datadir}/applications &> /dev/null || :
  68. %postun
  69. /sbin/ldconfig
  70. if [ $1 -eq 0 ]; then
  71. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  72. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  73. fi
  74. update-desktop-database %{_datadir}/applications &> /dev/null || :
  75. %files -f %{name}.lang
  76. %defattr(-,root,root,-)
  77. %doc AUTHORS COPYING NEWS README THANKS
  78. %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
  79. %{_bindir}/xfce4-about
  80. %{_libdir}/*.so.*
  81. %{_datadir}/applications/xfce4-about.desktop
  82. %{_datadir}/icons/hicolor/48x48/apps/xfce4-logo.png
  83. %files devel
  84. %defattr(-,root,root,-)
  85. %doc TODO
  86. %{_includedir}/*
  87. %{_libdir}/*.so
  88. %{_libdir}/pkgconfig/*.pc
  89. %doc %{_datadir}/gtk-doc/
  90. %changelog
  91. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-1
  92. - new upstream release
  93. - remove Patch0
  94. - add Obsoletes: xfce-utils < 4.9
  95. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-6
  96. - Initial build for Vine Linux
  97. * Wed Mar 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.8.0-5
  98. - Remove requirements for libxfcegui4-devel now that glade support was omitted
  99. * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-4
  100. - Disable glade as it still uses old API
  101. * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-3
  102. - Rebuild for new glade
  103. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.0-2
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  105. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 4.8.0-1
  106. - Update to 4.8.0 final.
  107. * Sun Jan 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.6-1
  108. - Update to 4.7.6
  109. * Mon Nov 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.5-1
  110. - Update to 4.7.5
  111. * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.4-1
  112. - Update to 4.7.4
  113. * Sun Sep 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.3-1
  114. - Update to 4.7.3
  115. - Drop dependency on gtk-doc (#604399)
  116. * Tue Jul 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-2
  117. - Fix file conflict with libxfce4gui (#618719)
  118. * Fri May 21 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-1
  119. - Update to 4.7.2
  120. * Wed May 19 2010 Kevin Fenzi <kevin@tummy.com> - 4.7.1-3
  121. - Rebuild for new glade version.
  122. * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-2
  123. - Fix license tag
  124. - Build gtk-doc
  125. * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-1
  126. - Initial spec file, based on libxfcegui4.spec