libxfce4ui-vl.spec 5.1 KB

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