libxfcegui4-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. Name: libxfcegui4
  2. Summary: GTK widgets for xfce
  3. Version: 4.10.0
  4. Release: 4%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPLv2+
  7. URL: http://www.xfce.org/
  8. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  9. # From https://bugzilla.xfce.org/show_bug.cgi?id=10974#c6
  10. Patch0: libxfcegui4-4.10.0-no-xfce_setenv.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gtk2-devel >= 2.10.0
  13. BuildRequires: gettext
  14. BuildRequires: intltool
  15. BuildRequires: libglade2-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: libxfce4util-devel >= 4.10.0
  18. BuildRequires: libxml2-devel >= 2.4.0
  19. BuildRequires: pkgconfig
  20. BuildRequires: startup-notification-devel >= 0.5
  21. BuildRequires: xfconf-devel >= 4.6.0
  22. Requires(posttrans): gtk2
  23. Requires(postun): gtk2
  24. Vendor: Project Vine
  25. Distribution: Vine Linux
  26. %description
  27. The package includes various gtk widgets for Xfce.
  28. %package devel
  29. Summary: Developpment tools for libxfcegui4 library
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: gtk2-devel >= 2.10.0
  33. Requires: libxfce4util-devel >= 4.10.0
  34. %description devel
  35. Static libraries and header files for the libxfcegui4 library.
  36. %prep
  37. %setup -q
  38. %patch0 -p0
  39. %build
  40. %configure --disable-gladeui --disable-static
  41. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  42. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  43. # The LD_LIBRARY_PATH hack is needed for --enable-gtk-doc
  44. # because lt-libxfce4ui-scan is linked against libxfce4ui
  45. export LD_LIBRARY_PATH=$( pwd )/%{name}/.libs
  46. make %{?_smp_mflags} V=1
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  50. %find_lang %{name}
  51. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  52. rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/modules/*.la
  53. rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/*/*.la
  54. #rm -f $RPM_BUILD_ROOT%{_libdir}/glade3/*/*.la
  55. %clean
  56. rm -rf $RPM_BUILD_ROOT
  57. %post
  58. /sbin/ldconfig
  59. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  60. %posttrans
  61. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  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 --quiet %{_datadir}/icons/hicolor || :
  67. fi
  68. %files -f %{name}.lang
  69. %defattr(-,root,root)
  70. %doc AUTHORS ChangeLog COPYING
  71. %{_libdir}/lib*.so.*
  72. %{_libdir}/libglade/*/lib*.so
  73. %{_datadir}/icons/hicolor/*/*/*.png
  74. %{_datadir}/icons/hicolor/scalable/apps/xfce-filemanager.svg
  75. %files devel
  76. %defattr(-, root, root)
  77. %{_includedir}/xfce4
  78. %{_libdir}/lib*.so
  79. %{_libdir}/pkgconfig/*.pc
  80. %{_datadir}/gtk-doc/html/libxfcegui4
  81. %changelog
  82. * Fri Apr 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.10.0-4
  83. - added Patch0
  84. * Tue Mar 3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.10.0-3
  85. - rebuilt with libxfce4util 4.12.1
  86. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.0-2
  87. - rebuild with VineSeed environment
  88. * Wed Jun 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.0-1
  89. - new upstream release
  90. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
  91. - new upstream release
  92. * Wed Sep 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-2
  93. - rebuilt with rpm-4.8.1 for pkg-config
  94. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  95. - new upstream release
  96. - built with new toolchain
  97. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  98. - new upstream release
  99. - removed lib*.a files from devel package
  100. - added --disable-gladeui option
  101. * Sun Aug 17 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-1
  102. - appiled new versioning policy
  103. - removed lib*.la files from devel package
  104. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  105. - new upstream release.
  106. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  107. - build for VineSeed
  108. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  109. - new upstream version
  110. - remove dbh-devel from BuildRequires
  111. - remove %{_libdir}/xfce4/modules from files section
  112. - remove %{_datadir}/xfce4 from files section
  113. - remove %{_includedir}/xfce4/xfce4-modules from files section
  114. - add %{_datadir}/icons/hicolor/*/apps/* to files section
  115. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1
  116. - new upstream release
  117. - add dbh-devel to BuildRequires
  118. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2
  119. - new upstream release
  120. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1-0vl2
  121. - new upstream release
  122. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2
  123. - new upstream release
  124. - add --enable-gtk-doc option to configure
  125. - add Requires: libxml2 and BuildRequires: libxml2-devel
  126. * Mon Jul 12 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.6-0vl1
  127. - new upstream release
  128. * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1
  129. - new upstream release
  130. * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1
  131. - new upstream release
  132. * Thu Jan 08 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1
  133. - new upstream release
  134. * Sun Jan 04 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.2-0vl1
  135. - new upstream release
  136. * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1
  137. - new upstream release
  138. * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1
  139. - initial release for vine