libxfce4ui-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. Name: libxfce4ui
  2. Version: 4.12.1
  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 applications.
  27. %package devel
  28. Summary: Development files for %{name}
  29. Summary(ja): %{name} の開発用ファイル
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. # FIXME: Enable libglade again one day
  33. #Requires: glade3-libgladeui-devel
  34. Requires: pkgconfig
  35. %description devel
  36. The %{name}-devel package contains libraries and header files for
  37. developing applications that use %{name}.
  38. %prep
  39. %setup -q
  40. %build
  41. # FIXME: Enable libglade again one day
  42. %configure --enable-gtk-doc --disable-static --disable-gladeui
  43. # Remove rpaths
  44. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  45. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  46. # The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc
  47. # because lt-libxfce4ui-scan is linked against libxfce4ui
  48. export LD_LIBRARY_PATH=$( pwd )/libxfce4ui/.libs
  49. make %{?_smp_mflags} V=1
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  53. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  54. %find_lang %{name}
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %post
  58. /sbin/ldconfig
  59. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. update-desktop-database %{_datadir}/applications &> /dev/null || :
  62. %postun
  63. /sbin/ldconfig
  64. if [ $1 -eq 0 ]; then
  65. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. fi
  68. update-desktop-database %{_datadir}/applications &> /dev/null || :
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. %doc AUTHORS COPYING NEWS README THANKS
  72. %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
  73. %{_bindir}/xfce4-about
  74. %{_libdir}/*.so.*
  75. %{_datadir}/applications/xfce4-about.desktop
  76. %{_datadir}/icons/hicolor/48x48/apps/xfce4-logo.png
  77. %files devel
  78. %defattr(-,root,root,-)
  79. %doc TODO
  80. %{_includedir}/*
  81. %{_libdir}/*.so
  82. %{_libdir}/pkgconfig/*.pc
  83. %doc %{_datadir}/gtk-doc/
  84. %changelog
  85. * Thu Mar 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.12.1-1
  86. - new upstream release
  87. * Sat Feb 28 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.12.0-1
  88. - new upstream release
  89. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-2
  90. - rebuild with VineSeed environment
  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