libxfce4ui-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. %global xfceversion 4.8
  2. Name: libxfce4ui
  3. Summary: Commonly used Xfce widgets
  4. Version: 4.8.0
  5. Release: 6%{?_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. Patch0: libxfce4ui-4.7.6-keyboard-shortcuts.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gettext
  13. BuildRequires: glib2-devel >= 2.12.0
  14. BuildRequires: gtk-doc
  15. BuildRequires: gtk2-devel >= 2.12.0
  16. BuildRequires: intltool
  17. BuildRequires: libSM-devel
  18. BuildRequires: libxfce4util-devel >= %{xfceversion}
  19. BuildRequires: startup-notification-devel >= 0.4
  20. BuildRequires: xfconf-devel >= %{xfceversion}
  21. # FIXME: Enable libglade again one day
  22. #BuildRequires: glade3-libgladeui-devel >= 3.5.0
  23. # FIXME: obsolete libxfcegui4 one day
  24. #Provides: libxfcegui4 = %{version}
  25. #Obsoletes: libxfcegui4 < %{version}
  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. %patch0 -p1 -b .shortcut
  47. %build
  48. # FIXME: Enable libglade again one day
  49. %configure --enable-gtk-doc --disable-static --disable-gladeui
  50. # Remove rpaths
  51. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  52. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  53. # The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc
  54. # because lt-libxfce4ui-scan is linked against libxfce4ui
  55. export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs
  56. make %{?_smp_mflags} V=1
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  60. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  61. %find_lang %{name}
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %files -f %{name}.lang
  67. %defattr(-,root,root,-)
  68. %doc AUTHORS COPYING NEWS README THANKS
  69. %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
  70. %{_libdir}/*.so.*
  71. %files devel
  72. %defattr(-,root,root,-)
  73. %doc TODO
  74. %{_includedir}/*
  75. %{_libdir}/*.so
  76. %{_libdir}/pkgconfig/*.pc
  77. %doc %{_datadir}/gtk-doc/
  78. %changelog
  79. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-6
  80. - Initial build for Vine Linux
  81. * Wed Mar 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.8.0-5
  82. - Remove requirements for libxfcegui4-devel now that glade support was omitted
  83. * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-4
  84. - Disable glade as it still uses old API
  85. * Tue Feb 22 2011 Rakesh Pandit <rakesh@fedoraproject.org> - 4.8.0-3
  86. - Rebuild for new glade
  87. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.8.0-2
  88. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  89. * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 4.8.0-1
  90. - Update to 4.8.0 final.
  91. * Sun Jan 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.6-1
  92. - Update to 4.7.6
  93. * Mon Nov 29 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.5-1
  94. - Update to 4.7.5
  95. * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.4-1
  96. - Update to 4.7.4
  97. * Sun Sep 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.3-1
  98. - Update to 4.7.3
  99. - Drop dependency on gtk-doc (#604399)
  100. * Tue Jul 27 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-2
  101. - Fix file conflict with libxfce4gui (#618719)
  102. * Fri May 21 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.2-1
  103. - Update to 4.7.2
  104. * Wed May 19 2010 Kevin Fenzi <kevin@tummy.com> - 4.7.1-3
  105. - Rebuild for new glade version.
  106. * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-2
  107. - Fix license tag
  108. - Build gtk-doc
  109. * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.7.1-1
  110. - Initial spec file, based on libxfcegui4.spec