xfce4-panel-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Name: xfce4-panel
  2. Summary: Next generation panel for Xfce
  3. Summary(ja): Xfce のための次世代パネル
  4. Version: 4.10.0
  5. Release: 1%{?_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.2.0
  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.8.0
  20. BuildRequires: libwnck-devel >= 2.22
  21. BuildRequires: libxfce4ui-devel >= 4.10.0
  22. BuildRequires: libxfce4util-devel >= 4.10.0
  23. BuildRequires: libSM-devel
  24. BuildRequires: pkgconfig
  25. BuildRequires: xfconf-devel >= 4.10.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.10.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. %find_lang %{name}
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %post
  77. /sbin/ldconfig
  78. touch --no-create %{_datadir}/icons/hicolor
  79. %posttrans
  80. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  81. %postun
  82. /sbin/ldconfig
  83. if [ $1 -eq 0 ] ; then
  84. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  85. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  86. fi
  87. %files -f %{name}.lang
  88. %defattr(-,root,root)
  89. %doc README ChangeLog NEWS COPYING AUTHORS
  90. %doc docs/README.gtkrc-2.0
  91. %dir %{_sysconfdir}/xdg/xfce4/panel/
  92. %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/default.xml
  93. %{_bindir}/*
  94. %{_libdir}/lib*.so.*
  95. %{_libdir}/xfce4/panel/*
  96. %{_datadir}/applications/*.desktop
  97. %{_datadir}/icons/hicolor/*
  98. %{_datadir}/xfce4/panel/plugins
  99. %files devel
  100. %defattr(-, root,root,-)
  101. %{_includedir}/xfce4/libxfce4panel-1.0
  102. %{_libdir}/lib*.so
  103. %{_libdir}/pkgconfig/*.pc
  104. %doc %{_datadir}/gtk-doc/html/libxfce4panel-1.0
  105. %changelog
  106. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.0-1
  107. - new upstream release
  108. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.8.0-2
  109. - add BuildRequires: libSM-devel
  110. * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.8.0-1
  111. - new upstream release
  112. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-2
  113. - rebuilt with rpm-4.8.1 for pkg-config
  114. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
  115. - new upstream release
  116. - built with new toolchain
  117. * Sat May 23 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  118. - new upstream release
  119. - split devel subpackage
  120. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-2vl5
  121. - added BuildRequires: libxfce4util-devel
  122. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 4.4.2-1vl5
  123. - applied new versioning policy
  124. - removed *.la
  125. * Sun Dec 23 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.2-0vl2
  126. - new upstream release.
  127. * Sun Jul 29 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl2
  128. - build for VineSeed
  129. * Sat Jul 28 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl1
  130. * Fri Jul 27 2007 UECHI Yasumasa <uechi@potaway.net> 4.4.1-0vl0.0.2
  131. - new upstream verrsion
  132. - drop patch0 (contents.xml.patch)
  133. - Obsoletes: xfce4-iconbox xfce4-systray xfce4-toys xfce4-trigger-launcher
  134. * Tue Oct 24 2006 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl2
  135. - revise contents.xml*
  136. * Sat Dec 10 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.3-0vl1
  137. - new upstream release
  138. * Mon Jun 13 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.2-0vl2
  139. - new upstream release
  140. * Thu Mar 31 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.1.1-0vl2
  141. - new upstream release
  142. * Sun Jan 23 2005 UECHI Yasumasa <uechi@potaway.net> 4.2.0-0vl2
  143. - new upstream release
  144. * Mon Apr 19 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.5-0vl1
  145. - new upstream release
  146. * Mon Mar 22 2004 UECHI Yasumasa <uechi@potaway.net> 4.0.4-0vl1
  147. - new upstream release
  148. * Thu Jan 08 2004 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.3-0vl1
  149. - new upstream release
  150. * Thu Nov 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.1-0vl1
  151. - new upstream release
  152. * Sat Sep 27 2003 UECHI Yasumasa <uh@u.dhis.portside.net> 4.0.0-0vl1
  153. - initial related