-
Notifications
You must be signed in to change notification settings - Fork 2
/
tigeros-backgrounds.spec
98 lines (79 loc) · 3.2 KB
/
tigeros-backgrounds.spec
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Name: tigeros-backgrounds
Version: 1.0
Release: 19%{?dist}
Summary: Desktop images for the TigerOS Fedora Remix
License: CC-BY-SA-4.0
URL: https://github.com/RITlug/tigeros-backgrounds
Source0: %{name}-%{version}-%{release}.tar.gz
BuildArch: noarch
Requires: glib2
Requires: dconf
%description
The tigeros-backgrounds package contains
tigeros related artwork intended to be used
as a desktop background image.
%prep
%setup -q
%install
mkdir -p %{buildroot}%{_datadir}/backgrounds/tigeros/wallpapers
mkdir -p %{buildroot}%{_datadir}/backgrounds/tigeros/lockscreens
mkdir -p %{buildroot}%{_datadir}/glib-2.0/schemas
for i in wallpapers/*
do
install -m 644 $i %{buildroot}%{_datadir}/backgrounds/tigeros/wallpapers
done
for i in lockscreens/*
do
install -m 644 $i %{buildroot}%{_datadir}/backgrounds/tigeros/lockscreens
done
install -D -m 644 tigeros-backgrounds.xml %{buildroot}%{_datadir}/gnome-background-properties/tigeros-backgrounds.xml
install -m 644 20_tigeros.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/20_tigeros.gschema.override
install -m 644 tigeros.xml %{buildroot}%{_datadir}/backgrounds/tigeros/tigeros.xml
%post
glib-compile-schemas /usr/share/glib-2.0/schemas 2>/dev/null
dconf update
%postun
rm %{_datadir}/glib-2.0/schemas/20_tigeros.gschema.override
rm -rf %{_datadir}/backgrounds/tigeros
glib-compile-schemas /usr/share/glib-2.0/schemas 2>/dev/null
dconf update
%files
%defattr(-,root,root,-)
%doc LICENSE
/usr/share/gnome-background-properties
/usr/share/glib-2.0/schemas/20_tigeros.gschema.override
/usr/share/backgrounds/tigeros/tigeros.xml
# Wallpapers
/usr/share/backgrounds/tigeros/wallpapers/orange_simple-1920x1080.png
/usr/share/backgrounds/tigeros/wallpapers/orange_colorful-1920x1080.png
/usr/share/backgrounds/tigeros/wallpapers/white_simple-1920x1080.png
/usr/share/backgrounds/tigeros/wallpapers/black_and_white-1920x1080.png
/usr/share/backgrounds/tigeros/wallpapers/dark_colorful-1920x1080.png
/usr/share/backgrounds/tigeros/wallpapers/dark_simple-1920x1080.png
# Lockscreens
/usr/share/backgrounds/tigeros/lockscreens/dark_left-1920x1080.png
/usr/share/backgrounds/tigeros/lockscreens/dark_no_tiguin-1920x1080.png
/usr/share/backgrounds/tigeros/lockscreens/dark_right-1920x1080.png
/usr/share/backgrounds/tigeros/lockscreens/orange_left-1920x1080.png
/usr/share/backgrounds/tigeros/lockscreens/orange_no_tiguin-1920x1080.png
/usr/share/backgrounds/tigeros/lockscreens/orange_right-1920x1080.png
%changelog
* Sat Aug 11 2018 Tim Zabel <[email protected]> - 1.0-19
- Add lockscreen images
- Rename images to match view
* Thu May 24 2018 Tim Zabel <[email protected]> - 1.0-18
- Change images to PNG
- update files
* Tue May 8 2018 Tim Zabel <[email protected]> - 1.0-17
- Fixed post uninstall
- Added tigeros.xml
* Wed Aug 30 2017 Aidan Kahrs <[email protected]> - 1.0-16
- rebuilt for Fedora 26
* Wed May 31 2017 Aidan Kahrs <[email protected]> - 1.0-15
- fix typo in wallpaper override
* Thu May 25 2017 Aidan Kahrs <[email protected]> - 1.0-14
- add wallpaper override
* Sun May 14 2017 Aidan Kahrs <[email protected]> - 1.0-13
- fix xml so wallpapers are zoomed
* Wed Apr 26 2017 Regina Locicero <[email protected]> - 1.0-12
- Added wallpapers