blob: 50f288a4c09ec6124e120b2596a63ce0153be90d (
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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
|
# Reference:
# https://src.fedoraproject.org/rpms/nagios-plugins/blob/master/f/nagios-plugins.spec
# debian/ for this package
# Documentation:
# This file is manually copied to the OBS project chicago95 due to difficulties with the _service operation.
%define debug_package %{nil}
%define committish master
%define archivename %{committish}.tar.gz
%define archivedir Chicago95-%{committish}
%if 0%{?obsbuild}
%define archivename chicago95.orig.tar.gz
%define archivedir chicago95.orig
%endif
# for OBS, Fedora 30, 31
%if "0%{?_fontbasedir}" == "0"
%define _fontbasedir %{_datadir}/fonts
%endif
Name: chicago95-theme
Version: 2.0.1
Release: 1%{?dist}
Summary: XFCE Windows 95 Total Conversion
Group: User Interface/Desktops
License: GPLv3.0+/MIT
URL: https://github.com/grassmunk/Chicago95
Source0: https://github.com/grassmunk/Chicago95/archive/%{archivename}
Patch0: paths.patch
BuildArch: noarch
Packager: B Stack <bgstack15@gmail.com>
BuildRequires: txt2man
%description
Assets to allow customization of Xfce to look as
close to Microsoft Windows 95 as possible. This
metapackage depends on most of the other chicago95
packages.
%package all
Summary: Chicago95 theme - all components
Requires: %{name}-backgrounds
Requires: %{name}-cursors
Requires: %{name}-doc
Requires: %{name}-fonts
Requires: %{name}-gtk
Requires: %{name}-icons
Requires: %{name}-login-sound
Requires: %{name}-plus
Requires: %{name}-plymouth
Requires: %{name}-sounds
%description all
Assets to allow customization of Xfce to look as
close to Microsoft Windows 95 as possible. This
metapackage depends on most of the other chicago95
packages.
%package backgrounds
Summary: Backgrounds for Chicago95
%description backgrounds
Backgrounds that resemble some of the classic Windows 95
wallpapers. This is part of the chicago95 theme suite.
%package cursors
Summary: Mouse cursor themes for Chicago95
%description cursors
Mouse cursors for the Chicago95 theme suite.
%package doc
Summary: Documentation for Chicago95
%description doc
Documentation and readmes for the Chicago95 theme
suite, including ultimate ricing guides.
%package fonts
Summary: Fonts for Chicago95
%description fonts
Terminal fonts for the Chicago95 theme suite.
Overall system fonts are proprietary but described
in the documentation for the theme.
%package gtk
%if !0%{?el7}
Recommends: qt5-qtstyleplugins
%endif
Conflicts: %{name}-greeter < %{version}
Summary: GTK and WM themes for Chicago95
%description gtk
Themes for GTK2, GTK3, Metacity, and more, for the
Chicago95 theme suite.
%package icons
Summary: Icon themes for Chicago95
%description icons
Icon themes for Chicago95 theme suite.
%package plymouth
Requires: plymouth
Summary: Plymouth theme for Chicago95
%description plymouth
Graphical theme for Plymouth bootloader, for the
Chicago95 theme suite.
%package sounds
Summary: Sounds for Chicago95
%description sounds
UI sounds for Chicago95 theme.
%package login-sound
Requires: sox
Summary: Login sound for Chicago95
%description login-sound
XDG autostart and sound file for Chicago95 theme suite.
%package plus
Requires: inkscape
Requires: python3
Requires: python3-fonttools
Requires: python3-numpy
Requires: python3-svgwrite
Summary: Windows Plus! Theme Conversion for XFCE/Chicago95
%description plus
Translate Windows 95 Plus! themes to Gtk-compatible themes.
%prep
%setup -n %{archivedir}
%patch0 -p1
%build
%make_build
%install
export use_underscores=YES
%make_install
%clean
%{__rm} -rf %{buildroot} || :
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%preun
# is it a final removal?
#if test "$1" = "0" ;
#then
#fi
%postun
if test "$1" = "0" ;
then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
fi
%posttrans plus
update-desktop-database 1>/dev/null 2>&1 & :
gtk-update-icon-cache %{_datadir}/icons/hicolor 1>/dev/null 2>&1 & :
update-mime-database -n ${_datadir}/mime 1>/dev/null 2>&1 & :
%files all
%files backgrounds
%{_datadir}/backgrounds/Chicago95
%files cursors
%{_datadir}/icons/Chicago95_Cursor_Black/cursors
%{_datadir}/icons/Chicago95_Cursor_Black/index.theme
%{_datadir}/icons/Chicago95_Cursor_White/cursors
%{_datadir}/icons/Chicago95_Cursor_White/index.theme
%{_datadir}/icons/Chicago95_Emerald/cursors
%{_datadir}/icons/Chicago95_Emerald/index.theme
%{_datadir}/icons/Chicago95_Animated_Hourglass_Cursors/cursors
%{_datadir}/icons/Chicago95_Animated_Hourglass_Cursors/index.theme
%{_datadir}/icons/Chicago95_Standard_Cursors/cursors
%{_datadir}/icons/Chicago95_Standard_Cursors/index.theme
%{_datadir}/icons/Chicago95_Standard_Cursors_Black/cursors
%{_datadir}/icons/Chicago95_Standard_Cursors_Black/index.theme
%files doc
%{_docdir}/chicago95
%files fonts
%{_fontbasedir}/truetype/*
%files gtk
%{_datadir}/xfce4/terminal/colorschemes/Chicago95.theme
%{_datadir}/themes/Chicago95
%{_datadir}/xfce4-panel-profiles/layouts/Chicago95*
%files icons
%{_datadir}/icons/Chicago95
%{_datadir}/icons/Chicago95-tux
%files login-sound
%{_datadir}/sounds/Chicago95/startup.ogg
%{_sysconfdir}/xdg/autostart/chicago95-startup.desktop
%files plus
%{_datadir}/icons/Chicago95_Cursor_Black/src
%{_datadir}/icons/Chicago95_Cursor_White/src
%{_datadir}/icons/Chicago95_Emerald/src
%{_datadir}/icons/Chicago95_Animated_Hourglass_Cursors/build
%{_datadir}/icons/Chicago95_Standard_Cursors/build
%{_datadir}/icons/Chicago95_Standard_Cursors_Black/build
%{_bindir}/ChicagoPlus
%{_bindir}/PlusGUI
%{_libexecdir}/chicago95-theme-plus
%{_datadir}/applications/PlusGUI.desktop
%{_datadir}/chicago95-theme-plus
%{_datadir}/mime/packages/*.xml
%{_mandir}/man1/ChicagoPlus.1.gz
%{_mandir}/man1/PlusGUI.1.gz
%files plymouth
%{_datadir}/plymouth/themes/*
%files sounds
%{_datadir}/sounds/Chicago95/stereo
%{_datadir}/sounds/Chicago95/index.theme
%changelog
* Tue Jul 14 2020 B Stack <bgstack15@gmail.com> - 2.0.1-1
- Initial rpm release
|