summaryrefslogtreecommitdiff
path: root/packaging/e17.spec
blob: 6890823804e17e2128fceef4e9ee3e86ada264e1 (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
224
225
226
227
228
229
230
231
232
233
Name:       e17
Summary:    The Enlightenment window manager
Version:    1.0.0.001+svn.76808slp2+build47
Release:    2
Group:      System/GUI/Other
License:    BSD
URL:        http://www.enlightenment.org/
Source0:    %{name}-%{version}.tar.gz
Source2:    packaging/e17.service
Source3:    packaging/e17_early.service
Source1001: e17.manifest
Source1002: e17-data.manifest
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(ecore)
BuildRequires:  pkgconfig(ecore-con)
BuildRequires:  pkgconfig(ecore-evas)
BuildRequires:  pkgconfig(ecore-fb)
BuildRequires:  pkgconfig(ecore-file)
BuildRequires:  pkgconfig(ecore-imf)
BuildRequires:  pkgconfig(ecore-imf-evas)
BuildRequires:  pkgconfig(ecore-input)
BuildRequires:  pkgconfig(ecore-input-evas)
BuildRequires:  pkgconfig(ecore-ipc)
BuildRequires:  pkgconfig(ecore-x)
BuildRequires:  pkgconfig(edbus)
BuildRequires:  pkgconfig(elementary)
BuildRequires:  pkgconfig(edje)
BuildRequires:  pkgconfig(eet)
BuildRequires:  pkgconfig(efreet)
BuildRequires:  pkgconfig(efreet-mime)
BuildRequires:  pkgconfig(efreet-trash)
BuildRequires:  pkgconfig(ehal)
BuildRequires:  pkgconfig(eina)
BuildRequires:  pkgconfig(evas)
BuildRequires:  pkgconfig(eio)
BuildRequires:  pkgconfig(utilX)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  edje-bin
BuildRequires:  embryo-bin
BuildRequires:  eet-bin
BuildRequires:  gettext-devel


%description
The Enlightenment DR17 Window Manager Enlightenment is an advanced window manager for X11. Unique
 features include: a fully animated background, nice drop shadows
 around windows, backed by an extremely clean and optimized
 foundation of APIs.
 .
 This package contains the core files for Enlightenment DR17.



%package devel
Summary:    The Enlightenment window mgr (devel)
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
The Enlightenment window manager (devel)

%package data
Summary:    The Enlightenment window mgr (data)
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description data
The Enlightenment window manager (data)


%prep
%setup -q


%build

cp %{SOURCE1001} .
cp %{SOURCE1002} .

%autogen --disable-static
LIBS='-ledbus' ./configure --prefix=/usr --disable-static \
    --disable-temperature \
    --disable-mixer \
    --disable-everything \
    --disable-dropshadow \
    --disable-pager \
    --disable-battery \
    --disable-cpufreq \
    --disable-start \
    --disable-exebuf \
    --disable-winlist \
    --disable-fileman \
    --disable-fileman-opinfo \
    --disable-wizard \
    --disable-conf \
    --disable-conf-wallpaper \
    --disable-conf-wallpaper2 \
    --disable-conf-colors \
    --disable-conf-fonts \
    --disable-conf-borders \
    --disable-conf-icon-theme \
    --disable-conf-mouse-cursor \
    --disable-conf-transitions \
    --disable-conf-startup \
    --disable-conf-intl \
    --disable-conf-imc \
    --disable-conf-profiles \
    --disable-msgbus-lang \
    --disable-conf-engine \
    --disable-conf-desks \
    --disable-conf-desk \
    --disable-conf-display \
    --disable-conf-desklock \
    --disable-conf-screensaver \
    --disable-conf-dpms \
    --disable-conf-shelves \
    --disable-conf-shelves \
    --disable-conf-keybindings \
    --disable-conf-mousebindings \
    --disable-conf-edgebindings \
    --disable-conf-mouse \
    --disable-conf-window-display \
    --disable-conf-window-focus \
    --disable-conf-window-remembers \
    --disable-conf-window-manipulation \
    --disable-conf-menus \
    --disable-conf-clientlist \
    --disable-conf-dialogs \
    --disable-conf-performance \
    --disable-conf-winlist \
    --disable-conf-exebuf \
    --disable-conf-paths \
    --disable-conf-mime \
    --disable-conf-interaction \
    --disable-conf-scale \
    --disable-mixel \
    --disable-connman \
    --disable-illume \
    --disable-syscon \
    --disable-bluez \
    --disable-ofono \
    --disable-msgbus \
    --disable-systray \
    --disable-conf_acpibindings \
    --disable-everything-apps \
    --disable-everything-aspell \
    --disable-everything-calc \
    --disable-everything-files \
    --disable-everything-settings \
    --disable-everything-windows \
    --disable-illume-bluetooth \
    --disable-illume-home \
    --disable-illume-toggle \
    --disable-illume-indicator \
    --disable-illume-kbd-toggle \
    --disable-illume-keyboard \
    --disable-illume-mode-toggle \
    --disable-illume-softkey \
    --disable-comp \
    --disable-illume2 \
    --disable-conf_randr \
    --disable-tasks \
    --disable-backlight \
    --disable-shot \
    --disable-notification \
    --disable-quickaccess \
    --disable-tiling \
    --disable-xkbswitch \
    --disable-access \
    --enable-extra-features

make %{?jobs:-j%jobs}

%install
%make_install


#systemd setup
mkdir -p %{buildroot}/usr/lib/systemd/user/core-efl.target.wants
install -m 0644 %SOURCE2 %{buildroot}/usr/lib/systemd/user/
ln -s ../e17.service %{buildroot}/usr/lib/systemd/user/core-efl.target.wants/e17.service
install -m 0644 %SOURCE3 %{buildroot}/usr/lib/systemd/user/
ln -s ../e17_early.service %{buildroot}/usr/lib/systemd/user/core-efl.target.wants/e17_early.service
rm -rf %{buildroot}/usr/etc/xdg/*
rm -rf %{buildroot}/usr/lib/enlightenment/utils/*
rm -rf %{buildroot}/usr/share/enlightenment/AUTHORS
rm -rf %{buildroot}/usr/share/enlightenment/COPYING
rm -rf %{buildroot}/usr/share/enlightenment/data/backgrounds/*
rm -rf %{buildroot}/usr/share/enlightenment/data/config/*
rm -rf %{buildroot}/usr/share/enlightenment/data/icons/*
rm -rf %{buildroot}/usr/share/enlightenment/data/images/enlightenment.png
rm -rf %{buildroot}/usr/share/enlightenment/data/input_methods/*
rm -rf %{buildroot}/usr/share/locale/*
rm -rf %{buildroot}/usr/share/xsessions/*
rm -rf %{buildroot}/usr/share/applications/enlightenment_filemanager.desktop
rm -rf %{buildroot}/usr/share/enlightenment/data/flags/*
rm -rf %{buildroot}/usr/share/enlightenment/data/favorites/*
rm -rf %{buildroot}/usr/share/enlightenment/data/favorites/.order

%files
%manifest e17.manifest
%license COPYING
%defattr(-,root,root,-)
/usr/bin/enlightenment
/usr/bin/enlightenment_imc
/usr/bin/enlightenment_remote
/usr/bin/enlightenment_start
/usr/bin/enlightenment_filemanager
/usr/bin/enlightenment_open
/usr/lib/enlightenment/modules
/usr/lib/enlightenment/preload/*
%config /usr/etc/enlightenment/sysactions.conf
/usr/lib/systemd/user/e17.service
/usr/lib/systemd/user/core-efl.target.wants/e17.service
/usr/lib/systemd/user/e17_early.service
/usr/lib/systemd/user/core-efl.target.wants/e17_early.service

%files devel
%defattr(-,root,root,-)
/usr/lib/pkgconfig/enlightenment.pc
/usr/include/enlightenment/*.h

%files data
%manifest e17-data.manifest
%defattr(-,root,root,-)
/usr/share/enlightenment/data/themes

/usr/share/enlightenment/data/images/test.edj
/usr/share/enlightenment/data/images/test.png
/usr/share/enlightenment/data/images/test.svg
/usr/share/enlightenment/data/images/test.jpg