gnome-tweak-tool-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Name: gnome-tweak-tool
  2. Version: 3.5.5
  3. Release: 1%{?_dist_release}
  4. Summary: A tool to customize advanced GNOME 3 options
  5. License: GPLv3
  6. URL: http://live.gnome.org/GnomeTweakTool
  7. Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/3.5/%{name}-%{version}.tar.xz
  8. Patch101: gnome-tweak-tool-vine-customize.patch
  9. BuildArch: noarch
  10. BuildRequires: GConf2
  11. BuildRequires: intltool
  12. BuildRequires: gsettings-desktop-schemas-devel
  13. BuildRequires: pygobject3-devel
  14. BuildRequires: desktop-file-utils
  15. Requires: gnome-shell
  16. Requires: nautilus
  17. Requires: pygobject3
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. GNOME Tweak Tool is an application for changing the advanced settings
  23. of GNOME 3.
  24. Features:
  25. * Install and switch gnome-shell themes
  26. * Switch gtk/icon/cursor themes
  27. * Switch window manager themes
  28. * Change:
  29. * The user-interface and titlebar fonts
  30. * Icons in menus and buttons
  31. * Behavior on laptop lid close
  32. * Shell font size
  33. * File manager desktop icons
  34. * Titlebar click action
  35. * Shell clock to show date
  36. * Font hinting and antialiasing
  37. %prep
  38. %setup -q
  39. %patch101 -p1 -b .vine
  40. %build
  41. %configure
  42. make %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT
  46. perl -pi -e 's/OnlyShowIn=GNOME;Unity;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  47. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  48. %find_lang %{name}
  49. %post
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  51. update-desktop-database -q &> /dev/null || :
  52. %posttrans
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  54. %postun
  55. if [ $1 -eq 0 ] ; then
  56. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  57. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  58. update-desktop-database -q &> /dev/null || :
  59. fi
  60. %files -f %{name}.lang
  61. %doc AUTHORS COPYING NEWS README
  62. %{_bindir}/%{name}
  63. %{python_sitelib}/gtweak
  64. %{_datadir}/applications/%{name}.desktop
  65. %{_datadir}/%{name}
  66. %{_datadir}/icons/hicolor/*/*/*
  67. %changelog
  68. * Tue Oct 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.5-1
  69. - new upstream release
  70. - update Patch101
  71. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.1-1
  72. - new upstream release
  73. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.4-1
  74. - new upstream release
  75. - update Patch101
  76. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  77. - rebuild with python-2.7.2
  78. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  79. - new upstream release
  80. * Mon Nov 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  81. - new upstream release
  82. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  83. - new upstream release
  84. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  85. - new upstream release
  86. - change BuildRequires: pygobject3-devel instead of pygojbect-devel
  87. - update Patch101
  88. * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-1
  89. - new upstream release
  90. - update Patch101
  91. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  92. - initial build for Vine Linux
  93. * Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
  94. - Depend on nautilus (# 722541)
  95. * Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
  96. - Update to 3.0.5
  97. - upstream news:
  98. http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
  99. * autostart fixes
  100. * appearance improvements
  101. * focus follow mouse mode
  102. * finer-grained desktop item visibility
  103. * streamlined shell restart offer when enabling extensions
  104. * Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
  105. - Update to 3.0.4
  106. - Dropped redundant commented out lines in spec
  107. - Updated description
  108. - Dropped defattr since it is set by default in recent RPM
  109. - http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
  110. * Enables support for system wide themes
  111. * Supports management of shell extensions
  112. * Wed May 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
  113. - Update to 3.0.3
  114. * Mon Apr 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
  115. - Update to 3.0.0
  116. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
  117. - Enable icon theme selection
  118. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
  119. - Update to 2.91.93
  120. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
  121. - Include license information
  122. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
  123. - Use %%configure macro
  124. - Validate desktop file
  125. * Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
  126. - Initial package