gnome-tweak-tool-vl.spec 5.4 KB

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