summaryrefslogtreecommitdiffstats
path: root/gnome/gnome-tweak-tool.spec
blob: 684d91c60d8ae0244a5d50a45e79c753d74e4acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Name:           gnome-tweak-tool
Version:        2.91.92
Release:        3%{?dist}
Summary:        A tool for advanced GNOME 3 customization

# note: need to check with upstream
License:        GPLv3
URL:            http://live.gnome.org/GnomeTweakTool
Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-tweak-tool/2.91/gnome-tweak-tool-%{version}.tar.bz2
# see conversation with author
# http://mail.gnome.org/archives/gnome-shell-list/2011-March/msg00357.html
Patch0:         %{name}-2.91.92-license.patch

BuildArch:      noarch
BuildRequires:  GConf2
BuildRequires:  pkgconfig(gsettings-desktop-schemas)
BuildRequires:  pkgconfig(pygobject-2.0)
BuildRequires:  desktop-file-utils
Requires:       gnome-shell

%description
GNOME Tweak Tool is an application for changing the advanced settings
of GNOME 3.

Features:
* Support shell theme change and installation
* Tweak GTK+ theme
* Tweak the user-interface and title bar fonts
* Tweak icons in menus and buttons
* Tweak behavior on laptop lid close
* Tweak shell font size
* Tweak file manager desktop icons
* Tweak title bar click action


%prep
%setup -q
%patch0 -p1 -b .license


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop


%files
%defattr(-,root,root,-)
# License not included in source
%doc AUTHORS COPYING NEWS README
%{_bindir}/%{name}
%{python_sitelib}/gtweak
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}


%changelog
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-3
- Include license information

* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-2
- Use %%configure macro
- Validate desktop file

* Mon Mar 21 2011 Michel Salim <salimma@fedoraproject.org> - 2.91.92-1
- Initial package