gnome-tweaks-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. Summary: Graphical interface for advanced GNOME 3 settings
  2. Summary(ja): GNOME3の上級設定を行うためのグラフィカルインターフェイス
  3. Name: gnome-tweaks
  4. Group: desktop-gnome
  5. Version: 3.34.0
  6. Release: 2%{?_dist_release}
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv3
  10. URL: http://live.gnome.org/GnomeTweakTool
  11. %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
  12. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  13. BuildArch: noarch
  14. BuildRequires: meson
  15. BuildRequires: gtk3-devel
  16. BuildRequires: intltool
  17. BuildRequires: gsettings-desktop-schemas-devel
  18. BuildRequires: python3-devel
  19. BuildRequires: python3-rpm-macros
  20. BuildRequires: pygobject3-devel
  21. BuildRequires: python3-pygobject
  22. BuildRequires: libappstream-glib-devel
  23. BuildRequires: desktop-file-utils
  24. BuildRequires: gnome-common
  25. Requires: gnome-desktop3
  26. Requires: gnome-settings-daemon
  27. Requires: gnome-shell
  28. Requires: gobject-introspection
  29. Requires: gsettings-desktop-schemas
  30. Requires: gtk3
  31. Requires: libhandy0
  32. Requires: libnotify
  33. Requires: libsoup
  34. Requires: mutter
  35. Requires: pango
  36. Requires: python3-pygobject
  37. Obsoletes: gnome-tweak-tool < 3.27
  38. Provides: gnome-tweak-tool = %{version}-%{release}
  39. %description
  40. GNOME Tweaks is an application for changing the advanced settings
  41. of GNOME 3.
  42. Features:
  43. * Install and switch gnome-shell themes
  44. * Switch gtk/icon/cursor themes
  45. * Switch window manager themes
  46. * Change:
  47. * The user-interface and titlebar fonts
  48. * Icons in menus and buttons
  49. * Behavior on laptop lid close
  50. * Shell font size
  51. * File manager desktop icons
  52. * Titlebar click action
  53. * Shell clock to show date
  54. * Font hinting and antialiasing
  55. %prep
  56. %setup -q
  57. perl -pi -e 's/Adwaita/Vine/g' gnome-tweaks-3.30.2/gtweak/tweaks/tweak_group_appearance.py
  58. %build
  59. %meson
  60. %meson_build
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. %meson_install
  64. perl -pi -e 's/OnlyShowIn=GNOME;Unity;Pantheon;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
  65. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
  66. %find_lang %{name}
  67. %post
  68. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  69. update-desktop-database -q &> /dev/null || :
  70. %posttrans
  71. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  72. %postun
  73. if [ $1 -eq 0 ] ; then
  74. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  75. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  76. update-desktop-database -q &> /dev/null || :
  77. fi
  78. %files -f %{name}.lang
  79. %license LICENSES/*
  80. %doc AUTHORS NEWS README*
  81. %{_bindir}/%{name}
  82. %{python3_sitelib}/gtweak
  83. %{_libexecdir}/gnome-tweak-tool-lid-inhibitor
  84. %{_datadir}/metainfo/*.xml
  85. %{_datadir}/applications/*.desktop
  86. %{_datadir}/%{name}
  87. %{_datadir}/icons/hicolor/*/*/*
  88. %changelog
  89. * Sun Aug 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.34.0-2
  90. - rebuilt with python-3.8.
  91. * Wed Aug 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.34.0-1
  92. - new upstream release.
  93. * Thu Jan 03 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.2-1
  94. - new upstream release.
  95. - dropped Patch101: get same effects by another way.
  96. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.1-1
  97. - new upstream release
  98. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  99. - new upstream release
  100. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  101. - new upstream release
  102. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  103. - new upstream release
  104. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  105. - new upstream release
  106. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  107. - new upstream release
  108. - update Patch101 (gnome-tweak-tool-3.16.0-vine-customize.patch)
  109. * Sat Nov 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2
  110. - add Group tag
  111. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  112. - new upstream release
  113. * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1
  114. - new upstream release
  115. - update Patch101 (gnome-tweak-tool-3.14.0-vine-customize.patch)
  116. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  117. - new upstream release
  118. - update Patch101 (gnome-tweak-tool-3.12.0-vine-customize.patch)
  119. * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  120. - new upstream release
  121. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  122. - new upstream release
  123. - update Patch101
  124. - add BuildRequires: gtk3-devel
  125. - remove BuildRequires: GConf2
  126. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  127. - new upstream release
  128. * Mon Apr 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  129. - new upstream release
  130. - update Patch101
  131. - add BuildRequires: autoconf, gnome-common
  132. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  133. - new upstream release
  134. * Thu Oct 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  135. - new upstream release
  136. - update Patch101
  137. * Tue Oct 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.5.5-1
  138. - new upstream release
  139. - update Patch101
  140. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0.1-1
  141. - new upstream release
  142. * Tue Apr 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.4-1
  143. - new upstream release
  144. - update Patch101
  145. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-2
  146. - rebuild with python-2.7.2
  147. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  148. - new upstream release
  149. * Mon Nov 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  150. - new upstream release
  151. * Fri Sep 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  152. - new upstream release
  153. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  154. - new upstream release
  155. - change BuildRequires: pygobject3-devel instead of pygojbect-devel
  156. - update Patch101
  157. * Sat Aug 27 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-1
  158. - new upstream release
  159. - update Patch101
  160. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.5-1
  161. - initial build for Vine Linux
  162. * Tue Jul 19 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-2
  163. - Depend on nautilus (# 722541)
  164. * Thu Jun 30 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.5-1
  165. - Update to 3.0.5
  166. - upstream news:
  167. http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.5.news
  168. * autostart fixes
  169. * appearance improvements
  170. * focus follow mouse mode
  171. * finer-grained desktop item visibility
  172. * streamlined shell restart offer when enabling extensions
  173. * Mon Jun 13 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 3.0.4-1
  174. - Update to 3.0.4
  175. - Dropped redundant commented out lines in spec
  176. - Updated description
  177. - Dropped defattr since it is set by default in recent RPM
  178. - http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/3.0/gnome-tweak-tool-3.0.4.news
  179. * Enables support for system wide themes
  180. * Supports management of shell extensions
  181. * Wed May 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.3-1
  182. - Update to 3.0.3
  183. * Mon Apr 4 2011 Michel Salim <salimma@fedoraproject.org> - 3.0.0-1
  184. - Update to 3.0.0
  185. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-2
  186. - Enable icon theme selection
  187. * Fri Mar 25 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.93-1
  188. - Update to 2.91.93
  189. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
  190. - Include license information
  191. * Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
  192. - Use %%configure macro
  193. - Validate desktop file
  194. * Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
  195. - Initial package