forked from bbidulock/icewm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
icewm.spec.in
151 lines (118 loc) · 3.63 KB
/
icewm.spec.in
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
Name: icewm
Version: %%VERSION%%
Release: 1
Obsoletes: icewm-common <= 1.2.2
Summary: Fast and small X11 window manager
Group: User Interface/Desktops
License: LGPL
URL: https://ice-wm.org/
Packager: Marko Macek <[email protected]>
Source: https://github.com/bbidulock/icewm/releases/download/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%define pkgdata %{_datadir}/%{name}
%description
A lightweight window manager for the X Window System. Optimized for
"feel" and speed, not looks. Features multiple workspaces, opaque
move/resize, task bar, window list, clock, mailbox, CPU, Network, APM
status.
%package l10n
Group: %{group}
Summary: Message translations for icewm
Requires: icewm = %{version}
%description l10n
Message translations for icewm.
%package themes
Group: %{group}
Summary: Extra themes for icewm
Requires: icewm > 1.2.2
%description themes
Extra themes for icewm.
%if %{?_with_menus_gnome2:1}%{!?_with_menus_gnome2:0}
%package menu-gnome2
Group: %{group}
Summary: GNOME menu support for icewm (using gnome 2.x).
Requires: icewm > 1.2.2
Requires: gnome-libs >= 1.4
%description menu-gnome2
GNOME 1.0 menu support for icewm (using gnome 2.x).
%endif
%prep
%setup
%build
CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--datadir=%{_datadir} \
--sysconfdir=%{_sysconfdir} \
--with-docdir=%{_docdir} \
%{?_with_menus_gnome2:--enable-menus-gnome2} \
%{?_with_debug:--enable-debug}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install install-data
mkdir -p $RPM_BUILD_ROOT/etc/icewm
%clean
test -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING AUTHORS CHANGES BUGS doc/*.html doc/icewm.sgml
%config %{pkgdata}/keys
%config %{pkgdata}/menu
%config %{pkgdata}/preferences
%config %{pkgdata}/toolbar
%config %{pkgdata}/winoptions
%dir /etc/icewm
%dir %{pkgdata}/icons
%dir %{pkgdata}/ledclock
%dir %{pkgdata}/mailbox
%dir %{pkgdata}/taskbar
%dir %{pkgdata}/themes
%dir %{pkgdata}/themes/default
%{_bindir}/*
%{_mandir}/man1/*
%{pkgdata}/icons/*
%{pkgdata}/ledclock/*
%{pkgdata}/mailbox/*
%{pkgdata}/taskbar/*
%{pkgdata}/themes/default/*
/usr/share/xsessions/icewm-session.desktop
/usr/share/applications/icewm.desktop
%if %{?_with_menus_gnome2:1}%{!?_with_menus_gnome2:0}
%files menu-gnome2
%defattr(-,root,root)
%{_bindir}/icewm-menu-gnome2
%endif
%files l10n
%defattr(-,root,root)
%dir %{_datadir}/locale
%{_datadir}/locale/*
%files themes
%defattr(-,root,root)
%dir %{pkgdata}/themes/CrystalBlue
%{pkgdata}/themes/CrystalBlue/*
%dir %{pkgdata}/themes/Helix
%{pkgdata}/themes/Helix/*
%dir %{pkgdata}/themes/NanoBlue
%{pkgdata}/themes/NanoBlue/*
%dir %{pkgdata}/themes/motif
%{pkgdata}/themes/motif/*
%dir %{pkgdata}/themes/win95
%{pkgdata}/themes/win95/*
%dir %{pkgdata}/themes/metal2
%{pkgdata}/themes/metal2/*
%dir %{pkgdata}/themes/Infadel2
%{pkgdata}/themes/Infadel2/*
%dir %{pkgdata}/themes/icedesert
%{pkgdata}/themes/icedesert/*
%changelog
* Mon Jun 12 2017 Bert Gijsbers
ver 1.3.12.415: Add new themes CrystalBlue, Helix, NanoBlue.
Remove outdated themes gtk2, nice, nice2, warp3, warp4, yellowmotif.
* Sun Dec 18 2015 Jiri Slaby <[email protected]>
ver 1.3.12
* Sun Mar 06 2005 Jiri Slaby <[email protected]>
1.2.20 - Repaired uid in packages (themes, il2 and gnomefiles)
* Sun Feb 02 2003 Christian W. Zuckschwerdt <[email protected]>
1.2.6 - Switched to rpm build in macros.
* Sun Dec 15 2002 Marko Macek <[email protected]>
1.2.3pre2 - Completely rewritten and simplified packaging.