forked from bbidulock/icewm
/
icex.spec
246 lines (194 loc) · 7.17 KB
/
icex.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
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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
# -*- mode: rpm-spec; coding: utf-8 -*-
%define realname icewm
%define alt altlinux
%def_with menu
Name: icex
Version: 1.3.12
Release: alt7.1
Summary: X11 Window Manager
Group: Graphical desktop/Icewm
License: LGPLv2
Url: http://www.icewm.org
Packager: Oleg Ivanov <Leo-sp150@yandex.ru>
Provides: %realname = %version-%release
#Provides: %realname-light = %version-%release
#Requires: design-%realname >= 1.0-alt6
#Obsoletes: %realname-light < %version-%release
Source0: %name.tar
Source1: %alt/%realname.menu
Source2: %alt/%realname.menu-method
Source3: %alt/%realname-16.png
Source4: %alt/%realname-32.png
Source5: %alt/%realname-48.png
Source7: %alt/IceWM.xpm
Source8: %alt/%realname.wmsession
Source9: %alt/README.ALT
Source10: %alt/%realname.desktop
BuildRequires(pre): rpm-macros-cmake
# Automatically added by buildreq on Sat Apr 11 2015
BuildRequires: OpenSP cmake gcc-c++ libSM-devel libXext-devel libXft-devel
BuildRequires: libXinerama-devel libXrandr-devel libalsa-devel libesd-devel
BuildRequires: libgdk-pixbuf-devel libsndfile-devel linuxdoc-tools perl-parent
%if_without menu
BuildPreReq: desktop-file-utils
%endif
Conflicts: icewm-githubmod icewm-x-githubmod
%description
Window Manager for X Window System. Can emulate the look of Windows'95, OS/2
Warp 3,4, Motif or the Java Metal GUI. Tries to take the best features of the
above systems. Features multiple workspaces, opaque move/resize, task bar,
window list, mailbox status, digital clock. Fast and small.
This release is based on alternative source, based on a community fork
maintained on Github https://github.com/bbidulock/icewm
Recommends: iftop, mutt
%prep
%setup -n %name
%build
%cmake -DCFGDIR=%_sysconfdir/%realname -DPREFIX=%_prefix \
-DLIBDIR=%_datadir/%realname -DCONFIG_GUIEVENTS=on \
-DICESOUND="ALSA,OSS,ESound"
pushd BUILD
%make_build
popd
%install
pushd BUILD
%makeinstall_std
popd
%if_with menu
mkdir -p %buildroot%_menudir
install -m 644 %SOURCE1 %buildroot%_menudir/%realname
%endif
mkdir -p %buildroot%_sysconfdir/menu-methods
install -m 755 %SOURCE2 %buildroot%_sysconfdir/menu-methods/%realname
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/%realname.png
install -pD -m644 %SOURCE4 %buildroot%_niconsdir/%realname.png
install -pD -m644 %SOURCE5 %buildroot%_liconsdir/%realname.png
install -pD -m644 %SOURCE7 %buildroot%_pixmapsdir/IceWM.xpm
install -pD -m644 %SOURCE8 %buildroot%_sysconfdir/X11/wmsession.d/04IceWM
install -m644 %SOURCE9 README.ALT
mkdir -p %buildroot%_sysconfdir/%realname
mkdir -p %buildroot%_datadir/%realname
%if_without menu
desktop-file-install --vendor alt --dir %buildroot%_desktopdir %SOURCE10
%endif
%find_lang %realname
# remove unpackaged files
rm -f %buildroot/%_bindir/%realname-set-gnomewm
rm -rf %buildroot/%_datadir/doc/%realname
rm -rf %buildroot/%_datadir/xsessions
%files -f %realname.lang
%dir %_sysconfdir/%realname
%dir %_datadir/%realname
%dir %_datadir/%realname/logout_d
%dir %_datadir/%realname/shutdown_d
%dir %_datadir/%realname/reboot_d
%dir %_datadir/%realname/restart_d
%dir %_datadir/%realname/startup_d
%dir %_datadir/%realname/themes
%_datadir/%realname/logout_d
%_datadir/%realname/shutdown_d
%_datadir/%realname/reboot_d
%_datadir/%realname/restart_d
%_datadir/%realname/startup_d
%config(noreplace) %_sysconfdir/menu-methods/*
%_sysconfdir/X11/wmsession.d/*
%_bindir/*
%_datadir/%realname/themes/default
%_datadir/%realname/icons
%_datadir/%realname/ledclock
%_datadir/%realname/mailbox
%_datadir/%realname/taskbar
%_datadir/%realname/keys
%_datadir/%realname/menu
%_datadir/%realname/preferences
%_datadir/%realname/programs
%_datadir/%realname/toolbar
%_datadir/%realname/winoptions
%_datadir/%realname/icewm_logout
%_datadir/%realname/icewm_shutdown
%_datadir/%realname/icewm_reboot
%_datadir/%realname/icewm_restart
%_datadir/%realname/icewm_startup
%if_with menu
%_menudir/*
%else
%_desktopdir/*
%endif
%_niconsdir/*
%_miconsdir/*
%_liconsdir/*
%_pixmapsdir/*
%_man1dir/*
%doc AUTHORS NEWS README.ALT README.md BUILD/doc/*.html
%changelog
* Mon Mar 05 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt7.1
- del merge src/yxtray.cc
* Mon Feb 29 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt7
- merge ICEWM-BRANCH
* Mon Feb 27 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt6
- dell rpm themes
* Mon Jan 23 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5.5
- merge src/yxtray.cc
* Mon Jan 23 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5.4
- dell merge po/CMakeLists.txt (fix error local menu)
* Mon Jan 23 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5.3
- merge icewm-1-3-BRANCH Merge pull request #62
- from Code7R/ftr_preconfigure_iconPath
* Mon Jan 23 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5.2
- merge icewm-1-3-BRANCH po/CMakeLists.txt
* Mon Jan 02 2016 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5.1
- add theme WinClassic2 Elegance_ice SilverXP
* Mon Dec 31 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt5
- edit default theme
* Mon Dec 25 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt4.1
- edit Cmake
* Mon Dec 24 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt4
- add show net applet eth1 eth2 ppp0
* Mon Dec 23 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt3
- edit config dir
* Mon Dec 19 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt2.1
- add default theme background
* Mon Dec 19 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt2
- Supports settings on and off tray and background
* Mon Dec 18 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt1.1
- dell icewm-session
* Mon Dec 18 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.12-alt1
- edit default theme
* Mon Dec 13 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt10.3
- move script
* Mon Dec 11 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt10.2
- add defaults themes icedesert
* Mon Dec 10 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt10.1
- edit fdomenu.cc
* Mon Dec 09 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt10
- edit default settings
* Mon Dec 05 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt9.1
- edit background
* Mon Dec 05 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt9
- new version
* Mon Nov 28 2015 Oleg Ivanov <Leo-sp150@yandex.ru> 1.3.11-alt8.1
- edit libdir
- delete icewm-session
- add script icewm_logout icewm_reboot icewm_restart icewm_shutdowun icewm_startup
* Mon Nov 22 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.11-alt6
- added Obsoletes
* Mon Oct 05 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.11-alt3
- added Obsoletes
- added README.ALT
- fixed Url
* Tue Sep 22 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.11-alt1
- 1.3.11 release
* Sun Jul 05 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.10-alt1
- 1.3.10 release
- updated reboot/shutdown commands for use with systemd and sysvinit
- extended strong control of startup sequence in icewm-session
* Mon May 04 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.9-alt4.git960629d
- added forgotten requires to design-icewm
* Thu Apr 30 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.9-alt3.git960629d
- git snapshot 960629d
- old changelog cut off to separate file
- added conflict to icewm-light
* Tue Apr 14 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.9-alt2.gite97394f
- added support fd.o-style icons
* Tue Apr 14 2015 Dmitriy Khanzhin <jinn@altlinux.org> 1.3.9-alt1.gite97394f
- initial build for altlinux