xfce4-settings-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. %define xfceversion 4.12
  2. Name: xfce4-settings
  3. Summary: Settings Manager for Xfce
  4. Summary(ja): Xfce の設定マネージャー
  5. Version: 4.12.0
  6. Release: 1%{?_dist_release}
  7. # xfce4-settings-helper is GPLv2 only.
  8. License: GPLv2+ and GPLv2
  9. Group: User Interface/Desktops
  10. URL: http://www.xfce.org/
  11. Source0: http://www.xfce.org/archive/src/xfce/%{name}/%{xfceversion}/%{name}-%{version}.tar.bz2
  12. # Upstream bug: http://bugzilla.xfce.org/show_bug.cgi?id=6236
  13. Patch1: xfce4-settings-4.6.4-dsofix.patch
  14. ## Downstream patches
  15. Patch2: xfce4-settings-4.8.3-monitor-position.patch
  16. # use vendor's artwork
  17. #Patch10: xfce4-settings-4.6.0-fedora.patch
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. BuildRequires: dbus-glib-devel >= 0.84
  20. BuildRequires: desktop-file-utils
  21. BuildRequires: fontconfig-devel
  22. BuildRequires: garcon-devel >= 0.2.0
  23. BuildRequires: gettext
  24. BuildRequires: glib2-devel >= 2.24.0
  25. BuildRequires: gtk2-devel >= 2.20.0
  26. BuildRequires: intltool
  27. BuildRequires: libcanberra-devel
  28. BuildRequires: libexo-devel >= 0.8.0
  29. BuildRequires: libxfce4ui-devel >= 4.11.0
  30. BuildRequires: libxfce4util-devel >= 4.10.0
  31. BuildRequires: libnotify-devel >= 0.1.3
  32. BuildRequires: libX11-devel
  33. BuildRequires: libXcursor-devel >= 1.1.0
  34. BuildRequires: libXi-devel >= 1.2.0
  35. BuildRequires: libxklavier-devel
  36. BuildRequires: libXrandr-devel >= 1.2.0
  37. BuildRequires: pkgconfig
  38. BuildRequires: upower-devel
  39. BuildRequires: xfconf-devel >= 4.10.0
  40. BuildRequires: xorg-x11-proto-devel
  41. Requires: xfconf
  42. Obsoletes: xfce-mcs-manager < 4.4.3-2
  43. Obsoletes: xfce-mcs-plugins < 4.4.3-2
  44. Obsoletes: xfce-mcs-plugin-gsynaptics < 2.0-5
  45. Obsoletes: xfce-mcs-plugins-extra < 2.0-3
  46. Obsoletes: xfce4-gsynaptics-mcs-plugin < 1.0.0-3
  47. Vendor: Project Vine
  48. Distribution: Vine Linux
  49. %description
  50. This package includes the settings manager applications for the Xfce desktop.
  51. %prep
  52. %setup -q
  53. #patch1 -p1 -b .dsofix
  54. #patch2 -p1 -b .monitor
  55. %build
  56. %configure --enable-sound-settings --enable-pluggable-dialogs
  57. make %{?_smp_mflags}
  58. %install
  59. rm -rf $RPM_BUILD_ROOT
  60. make install DESTDIR=$RPM_BUILD_ROOT
  61. for file in $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop ; do
  62. desktop-file-install \
  63. --add-category="X-XFCE" \
  64. --remove-category="XFCE" \
  65. --delete-original \
  66. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  67. $file
  68. done
  69. %find_lang %{name}
  70. %clean
  71. rm -rf $RPM_BUILD_ROOT
  72. %post
  73. touch --no-create %{_datadir}/icons/hicolor
  74. %postun
  75. if [ $1 -eq 0 ]; then
  76. touch --no-create %{_datadir}/icons/hicolor
  77. /usr/bin/gtk-update-icon-cache -qf %{_datadir}/icons/hicolor;
  78. fi
  79. %posttrans
  80. gtk-update-icon-cache %{_iconsdir}/icons/hicolor &> /dev/null || :
  81. %files -f %{name}.lang
  82. %defattr(-,root,root,-)
  83. %doc AUTHORS ChangeLog NEWS TODO COPYING
  84. %dir %{_sysconfdir}/xdg/xfce4
  85. %dir %{_sysconfdir}/xdg/xfce4/xfconf/
  86. %dir %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml
  87. %config(noreplace) %{_sysconfdir}/xdg/autostart/xfsettingsd.desktop
  88. %config(noreplace) %{_sysconfdir}/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
  89. %{_sysconfdir}/xdg/menus/xfce-settings-manager.menu
  90. %{_bindir}/xfce4-accessibility-settings
  91. %{_bindir}/xfce4-appearance-settings
  92. %{_bindir}/xfce4-display-settings
  93. %{_bindir}/xfce4-keyboard-settings
  94. %{_bindir}/xfce4-mime-settings
  95. %{_bindir}/xfce4-mouse-settings
  96. %{_bindir}/xfce4-settings-editor
  97. %{_bindir}/xfce4-settings-manager
  98. %{_bindir}/xfsettingsd
  99. %{_libdir}/xfce4/settings/appearance-install-theme
  100. %{_datadir}/applications/xfce*.desktop
  101. %{_datadir}/icons/hicolor/*/devices/*.png
  102. %changelog
  103. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.12.0-1
  104. - new upstream release
  105. - dropt Patch1 and 2
  106. - built with libxfce4util 4.12.1
  107. * Thu Feb 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.10.1-2
  108. - added Patch2 from Fedora
  109. * Sun Aug 31 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 4.10.1-1
  110. - new upstream release
  111. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-2
  112. - rebuild with VineSeed environment
  113. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.10.0-1
  114. - new upstream release
  115. - add BuildRequires: garcon-devel
  116. * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.2-1
  117. - new upstream release
  118. - built with libnotify-0.7.3 (VineSeed)
  119. * Mon Mar 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.8.0-1
  120. - new upstream release
  121. * Sun May 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.5-1
  122. - new upstream release
  123. - dropt Patch0
  124. * Mon Apr 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.4-1
  125. - new upstream release
  126. - built with libxklavier-5.0
  127. - added Patch0 and 1 from Fedora
  128. * Sun Feb 14 2010 Kevin Fenzi <kevin@tummy.com> - 4.6.4-3
  129. - Add patch to fix DSO linking. Fixes bug #564803
  130. * Sat Jan 23 2010 Christoph Wickert <cwickert@fedoraproject.org> - 4.6.4-2
  131. - Add patch for libxklavier 5.0. Thanks to Caolan McNamara (#558081)
  132. * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.3-1
  133. - new upstream release
  134. - rebuilt with libxklavier-4.0
  135. - added Japanese summary
  136. * Fri May 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.1-2
  137. - initial build for Vine
  138. * Sun Apr 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.1-1
  139. - Update to 4.6.1
  140. * Thu Apr 16 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-6
  141. - Have to add Antialias type to really enable by default.
  142. * Wed Apr 15 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-5
  143. - Bump to fix tagging mistake.
  144. * Wed Apr 15 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-4
  145. - Make Antialias default (bug #495700)
  146. * Thu Mar 19 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-3
  147. - display settings fixes from upstream svn.
  148. * Fri Feb 27 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-2
  149. - Rebase patch for artwork
  150. * Thu Feb 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.6.0-1
  151. - Update to 4.6.0
  152. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5.99.1-3
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  154. * Fri Feb 20 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-2
  155. - Add patch to fix imsettings (bug #478669)
  156. * Mon Jan 26 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.99.1-1
  157. - Update to 4.5.99.1
  158. * Thu Jan 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 4.5.93-2
  159. - Add Obsoletes for mcs packages to make sure xfce4-settings gets installed
  160. - Don't package desktop files twice
  161. - Require xfconf
  162. - Use Nodoka theme and Fedora icons
  163. - Add docs
  164. * Tue Jan 13 2009 Kevin Fenzi <kevin@tummy.com> - 4.5.93-1
  165. - Update to 4.5.93
  166. * Sat Dec 27 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-2
  167. - Cleaned up desktop-file-install
  168. - Added some BuildRequires.
  169. * Fri Dec 26 2008 Kevin Fenzi <kevin@tummy.com> - 4.5.92-1
  170. - Initial version for Fedora.