source: projects/specs/trunk/g/gnome-tweaks/gnome-tweaks-vl.spec @ 12469

Revision 12469, 7.5 KB checked in by tomop, 4 years ago (diff)

python-3.8.5 and related packages.

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