gnome-tweak-tool-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. Name: gnome-tweak-tool
  2. Version: 3.6.1
  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.6/%{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 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  69. - new upstream release
  70. * Thu Oct 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  71. - new upstream release
  72. - update Patch101
  73. * Tue Oct 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.5-1
  74. - new upstream release
  75. - update Patch101
  76. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.1-1
  77. - new upstream release
  78. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.4-1
  79. - new upstream release
  80. - update Patch101
  81. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  82. - rebuild with python-2.7.2
  83. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  84. - new upstream release
  85. * Mon Nov 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  86. - new upstream release
  87. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  88. - new upstream release
  89. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  90. - new upstream release
  91. - change BuildRequires: pygobject3-devel instead of pygojbect-devel
  92. - update Patch101
  93. * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-1
  94. - new upstream release
  95. - update Patch101
  96. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  97. - initial build for Vine Linux
  98. * Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
  99. - Depend on nautilus (# 722541)
  100. * Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
  101. - Update to 3.0.5
  102. - upstream news:
  103. http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
  104. * autostart fixes
  105. * appearance improvements
  106. * focus follow mouse mode
  107. * finer-grained desktop item visibility
  108. * streamlined shell restart offer when enabling extensions
  109. * Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
  110. - Update to 3.0.4
  111. - Dropped redundant commented out lines in spec
  112. - Updated description
  113. - Dropped defattr since it is set by default in recent RPM
  114. - http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
  115. * Enables support for system wide themes
  116. * Supports management of shell extensions
  117. * Wed May 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
  118. - Update to 3.0.3
  119. * Mon Apr 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
  120. - Update to 3.0.0
  121. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
  122. - Enable icon theme selection
  123. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
  124. - Update to 2.91.93
  125. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
  126. - Include license information
  127. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
  128. - Use %%configure macro
  129. - Validate desktop file
  130. * Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
  131. - Initial package