libxfce4ui-vl.spec 4.9 KB

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