xfce4-panel-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. Name: xfce4-panel
  2. Summary: Next generation panel for Xfce
  3. Summary(ja): Xfce のための次世代パネル
  4. Version: 4.8.0
  5. Release: 2%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2+ and LGPLv2+
  8. URL: http://www.xfce.org/
  9. Source0: http://www.xfce.org/archive/xfce-%{version}/src/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cairo-devel >= 1.0.0
  12. BuildRequires: chrpath
  13. BuildRequires: dbus-glib-devel >= 0.73
  14. BuildRequires: garcon-devel >= 0.1.5
  15. BuildRequires: gettext
  16. BuildRequires: glib2-devel >= 2.18.0
  17. BuildRequires: gtk2-devel >= 2.14.0
  18. BuildRequires: intltool
  19. BuildRequires: libexo-devel >= 0.6.0
  20. BuildRequires: libwnck-devel >= 2.22
  21. BuildRequires: libxfce4ui-devel >= 4.8.0
  22. BuildRequires: libxfce4util-devel >= 4.8.0
  23. BuildRequires: libSM-devel
  24. BuildRequires: pkgconfig
  25. BuildRequires: xfconf-devel >= 4.8.0
  26. Obsoletes: xfce4-iconbox xfce4-systray xfce4-toys xfce4-trigger-launcher
  27. Obsoletes: xfce4-showdesktop-plugin xfce4-taskbar-plugin
  28. Obsoletes: xfce4-windowlist-plugin xfce4-xmms-plugin
  29. %description
  30. xfce4-panel is the panel for the XFce desktop environment
  31. %package devel
  32. Summary: Development headers for %{name}
  33. Summary(ja): %{name} の開発用ファイル
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: glib2-devel >= 2.18.0
  37. Requires: gtk2-devel >= 2.14.0
  38. Requires: libxfce4util-devel >= 4.8.0
  39. %description devel
  40. This package includes the header files you will need to build
  41. plugins for xfce4-panel.
  42. # These are all required to have a properly functioning panel, so they should
  43. # not be separate IMO -- Jasper
  44. # %package themes
  45. # Summary: Icon themes for xfce4
  46. # Group: User Interface/Desktops
  47. # Requires: xfce4
  48. # This should be really noarch, but if I set noarch here, even the arch
  49. # dependent stuff is marked as noarch, so... no noarch.
  50. # BuildArch: noarch
  51. # %description themes
  52. # Various icon themes for xfce4.
  53. # %package plugins
  54. # Summary: Panel plugins for xfce4
  55. # Group: User Interface/Desktops
  56. # Requires: xfce4
  57. # %description plugins
  58. # Various panel plugins for xfce4.
  59. %prep
  60. %setup -q
  61. #%patch0 -p1 -b .orig
  62. %build
  63. %configure --enable-silent-rules --disable-static
  64. make %{?_smp_mflags}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
  68. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/migrate
  69. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/wrapper
  70. ## remove unuse files
  71. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  72. rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/lib*.la
  73. rm -rf _docs_to_include
  74. mkdir -p _docs_to_include
  75. mv $RPM_BUILD_ROOT%{_docdir}/xfce4-panel/html _docs_to_include
  76. rm -rf $RPM_BUILD_ROOT%{_docdir}/xfce4-panel
  77. %find_lang %{name}
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %post
  81. /sbin/ldconfig
  82. touch --no-create %{_datadir}/icons/hicolor
  83. %posttrans
  84. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  85. %postun
  86. /sbin/ldconfig
  87. if [ $1 -eq 0 ] ; then
  88. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  89. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  90. fi
  91. %files -f %{name}.lang
  92. %defattr(-,root,root)
  93. %doc README ChangeLog NEWS COPYING AUTHORS
  94. %doc _docs_to_include/html docs/README.gtkrc-2.0
  95. %dir %{_sysconfdir}/xdg/xfce4/panel/
  96. %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/default.xml
  97. %{_bindir}/*
  98. %{_libdir}/lib*.so.*
  99. %{_libdir}/xfce4/panel/*
  100. %{_datadir}/applications/*.desktop
  101. %{_datadir}/icons/hicolor/*
  102. %{_datadir}/xfce4/panel/plugins
  103. %files devel
  104. %defattr(-, root,root,-)
  105. %{_includedir}/xfce4/libxfce4panel-1.0
  106. %{_libdir}/lib*.so
  107. %{_libdir}/pkgconfig/*.pc
  108. %doc %{_datadir}/gtk-doc/html/libxfce4panel-1.0
  109. %changelog
  110. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.0-2
  111. - add BuildRequires: libSM-devel
  112. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
  113. - new upstream release
  114. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-2
  115. - rebuilt with rpm-4.8.1 for pkg-config
  116. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  117. - new upstream release
  118. - built with new toolchain
  119. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  120. - new upstream release
  121. - split devel subpackage
  122. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-2vl5
  123. - added BuildRequires: libxfce4util-devel
  124. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5
  125. - applied new versioning policy
  126. - removed *.la
  127. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  128. - new upstream release.
  129. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  130. - build for VineSeed
  131. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  132. * Fri Jul 27 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl0.0.2
  133. - new upstream verrsion
  134. - drop patch0 (contents.xml.patch)
  135. - Obsoletes: xfce4-iconbox xfce4-systray xfce4-toys xfce4-trigger-launcher
  136. * Tue Oct 24 2006 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl2
  137. - revise contents.xml*
  138. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1
  139. - new upstream release
  140. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2
  141. - new upstream release
  142. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1.1-0vl2
  143. - new upstream release
  144. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2
  145. - new upstream release
  146. * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1
  147. - new upstream release
  148. * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1
  149. - new upstream release
  150. * Thu Jan 08 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1
  151. - new upstream release
  152. * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1
  153. - new upstream release
  154. * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1
  155. - initial related