]> git.pld-linux.org Git - packages/enlightenment.git/blame - enlightenment.spec
- updated
[packages/enlightenment.git] / enlightenment.spec
CommitLineData
53012ddf 1#
a8898a0c
BZ
2# How to build e17 :
3# 1. build imlib2 edb embryo epeg, install embryo-devel imlib2-devel epeg-devel edb-devel
4# 2. build eet, install eet-devel
5# 3. build imlib2_loaders, install imlib2_loaders
6# 4. build evas, install evas-devel
7# 5. build ecore, install ecore-devel
8# 6. build e_dbus efreet, install e_dbus-devel efreet-devel
9# 7. build edje, install edje-devel
10# 8. build emotion epsilon etk , install emotion-devel epsilon-devel etk-devel
11# 9. build esmart ewl, install esmart-devel ewl-devel
12# Now You can build enlightenment and/or rage
13# enligtenment-theme-default and enligtenment-theme-default are in enligtenment-theme-default.spec
14
dc33902d 15
644a1fb2 16%define ecore_ver 0.9.9.050
17%define edje_ver 0.9.9.050
18%define eet_ver 1.1.0
19%define embryo_ver 0.9.9.050
20%define evas_ver 0.9.9.050
53012ddf 21
0226c597 22Summary: Enlightenment Window Manager
2b520d71 23Summary(pl.UTF-8): Zarządca okien X - Enlightenment
e6533620 24Name: enlightenment
644a1fb2 25Version: 0.16.999.050
26Release: 0.1
a72a6fec 27License: BSD
397533bb 28Group: X11/Window Managers
644a1fb2 29Source0: http://download.enlightenment.org/snapshots/2008-09-25/%{name}-%{version}.tar.bz2
30# Source0-md5: d9091195d9aae958cbd56b3289034973
e6533620 31Source1: %{name}-xsession.desktop
5d08878e 32Source2: enlightenmentDR17-wcnt.txt
4b2dfb6c 33URL: http://enlightenment.org/
469c04cb 34BuildRequires: autoconf >= 2.59-9
e81f91a5
JB
35BuildRequires: automake >= 1.6
36# edbus, ehal
37BuildRequires: e_dbus-devel
38# ecore ecore-file ecore-ipc ecore-con ecore-job ecore-imf
53012ddf 39BuildRequires: ecore-devel >= %{ecore_ver}
e81f91a5
JB
40# ecore-evas ecore-imf-evas
41BuildRequires: ecore-evas-devel >= %{ecore_ver}
53012ddf
BZ
42BuildRequires: edje >= %{edje_ver}
43BuildRequires: edje-devel >= %{edje_ver}
44BuildRequires: eet-devel >= %{eet_ver}
e81f91a5 45# efreet efreet-mime
469c04cb 46BuildRequires: efreet-devel
53012ddf
BZ
47BuildRequires: embryo-devel >= %{embryo_ver}
48BuildRequires: evas-devel >= %{evas_ver}
dc33902d 49BuildRequires: gettext-autopoint
469c04cb 50BuildRequires: gettext-devel >= 0.12.1
59f3a916 51BuildRequires: libtool
469c04cb 52BuildRequires: pam-devel
e6533620 53BuildRequires: pkgconfig
54BuildRequires: sed >= 4.0
469c04cb 55BuildRequires: xorg-lib-libXext-devel
fccd3785 56BuildRequires: audit-libs-devel
e6533620 57Requires: fonts-TTF-bitstream-vera
8566e346 58Requires: vfmg >= 0.9.95
e6533620 59Requires: enlightenment-theme-default = %{version}
e2d1b62b 60Requires: enlightenment-init-default = %{version}
53012ddf
BZ
61Requires: evas-engine-buffer >= %{evas_ver}
62Requires: evas-engine-software_x11 >= %{evas_ver}
63Requires: evas-loader-eet >= %{evas_ver}
64Requires: evas-loader-jpeg >= %{evas_ver}
65Requires: evas-loader-png >= %{evas_ver}
e6533620 66Obsoletes: enlightenmentDR17 >= 0.16.999
67Obsoletes: enlightenmentDR17-libs >= 0.16.999
1544b240 68BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e371e37b 69
defab8bf 70%{expand:%%define _sysconfdir %{_sysconfdir}/X11}
e6533620 71%undefine __cxx
313ca3db 72
e371e37b 73%description
346d0d49 74Enlightenment is a Windowmanager for X Window that is designed to be
e371e37b 75powerful, extensible, configurable and able to be really good looking.
76
338ae6a0
JR
77%description -l pl.UTF-8
78Enlightenment jest najpotężniejszym i najpiękniejszym zarządcą okien
79jaki kiedykolwiek został stworzony dla Linuksa ;)
e371e37b 80
e6533620 81%package module-cpufreq-freqset
82Summary: CPU speed management binary
2b520d71 83Summary(pl.UTF-8): Program do zaządzania szybkością CPU
e6533620 84Group: Applications/System
85Requires: %{name} = %{version}-%{release}
86Obsoletes: enlightenmentDR17-module-cpufreq-freqset >= 0.16.999
87
88%description module-cpufreq-freqset
89freqset makes you able to change CPU frequency using cpufreq module.
90
91It contains SUID binary.
92
338ae6a0
JR
93%description module-cpufreq-freqset -l pl.UTF-8
94freqset pozwala zmieniać częstotliwość pracy procesora przy użyciu
95modułu cpufreq.
e6533620 96
338ae6a0 97Zawiera binarkę SUID.
e6533620 98
99%package devel
100Summary: Development headers for Enlightenment
2b520d71 101Summary(pl.UTF-8): Pliki nagłówkowe dla Enlightenmenta
e6533620 102Group: Development/Libraries
469c04cb 103# by headers included in e.h
e81f91a5 104# ecore-x ecore-evas ecore-con ecore-ipc ecore-job ecore-txt ecore-config ecore-file
53012ddf 105Requires: ecore-devel >= %{ecore_ver}
e81f91a5 106Requires: ecore-evas-devel >= %{ecore_ver}
53012ddf
BZ
107Requires: edje-devel >= %{edje_ver}
108Requires: eet-devel >= %{eet_ver}
469c04cb 109Requires: efreet-devel
e6533620 110Obsoletes: enlightenmentDR17-devel >= 0.16.999
111
112%description devel
113Development headers for Enlightenment.
114
338ae6a0
JR
115%description devel -l pl.UTF-8
116Pliki nagłówkowe dla Enlightenmenta.
ed996860 117
e371e37b 118%prep
644a1fb2 119%setup -q -n %{name}-%{version}
1271383d 120
e371e37b 121%build
dc33902d 122%{__autopoint}
ff108428 123%{__libtoolize}
e6533620 124%{__aclocal} -I m4
a05dccc9 125%{__autoconf}
1271383d 126%{__autoheader}
a05dccc9 127%{__automake}
313ca3db 128%configure \
e6533620 129 --disable-static \
469c04cb 130 --disable-valgrind \
e6533620 131 --with-profile=SLOW_PC
59f3a916 132%{__make}
e371e37b 133
134%install
135rm -rf $RPM_BUILD_ROOT
e6533620 136install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
0226c597 137
68f412eb 138%{__make} install \
59f3a916 139 DESTDIR=$RPM_BUILD_ROOT
0226c597 140
e1b34375 141rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/init/default.edj
e6533620 142rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default.edj
143
144install -d $RPM_BUILD_ROOT%{_libdir}/enlightenment/modules_extra
145install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/config-apps
146install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
5d08878e 147install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/wcnt.txt
469c04cb 148find $RPM_BUILD_ROOT%{_libdir}/enlightenment -name '*.la' | xargs rm
e6533620 149
150cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/fonts
151VERA=$(ls Vera*.ttf)
152for FONT in $VERA; do
153 rm -f $FONT
154 ln -s %{_fontsdir}/TTF/$FONT .
155done
156cd -
0dcc4cd2 157
3c7cf114 158%find_lang %{name}
d49a88bc 159
e371e37b 160%clean
161rm -rf $RPM_BUILD_ROOT
162
3c7cf114 163%files -f %{name}.lang
0226c597 164%defattr(644,root,root,755)
a8898a0c 165%doc AUTHORS COPYING COPYING-PLAIN ChangeLog NEWS README
e6533620 166%attr(755,root,root) %{_bindir}/enlightenment
469c04cb 167%attr(755,root,root) %{_bindir}/enlightenment_fm
dc33902d 168%attr(755,root,root) %{_bindir}/enlightenment_fm_op
e6533620 169%attr(755,root,root) %{_bindir}/enlightenment_imc
a8898a0c 170%attr(755,root,root) %{_bindir}/enlightenment_init
e6533620 171%attr(755,root,root) %{_bindir}/enlightenment_remote
172%attr(755,root,root) %{_bindir}/enlightenment_start
469c04cb
JB
173# SETUID! allows rebooting, hibernating and shutting system down
174%attr(4754,root,sys) %{_bindir}/enlightenment_sys
e6533620 175%attr(755,root,root) %{_bindir}/enlightenment_thumb
176%dir %{_libdir}/enlightenment
469c04cb 177%dir %{_libdir}/enlightenment/modules
e6533620 178%dir %{_libdir}/enlightenment/modules/*
179%dir %{_libdir}/enlightenment/modules/*/linux-gnu-*
180%attr(755,root,root) %{_libdir}/enlightenment/modules/*/linux-gnu-*/*.so
a8898a0c
BZ
181%attr(755,root,root) %{_libdir}/enlightenment/modules/battery/linux-gnu-*/batget
182%attr(755,root,root) %{_libdir}/enlightenment/modules/temperature/linux-gnu-*/tempget
469c04cb 183# should be in %{_datadir} (FHS)
e1b34375 184%{_libdir}/enlightenment/modules/*/module.desktop
469c04cb
JB
185%{_libdir}/enlightenment/modules/*/e-module-*.edj
186%dir %{_libdir}/enlightenment/modules_extra
187%dir %{_libdir}/enlightenment/preload
188%attr(755,root,root) %{_libdir}/enlightenment/preload/e_precache.so
e1b34375 189%dir %{_sysconfdir}/enlightenment
190%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enlightenment/sysactions.conf
e6533620 191%{_datadir}/%{name}
5d49fa98 192%{_datadir}/xsessions/%{name}.desktop
e6533620 193
194%files module-cpufreq-freqset
195%defattr(644,root,root,755)
196# what group should it be ?
197%attr(4754,root,sys) %{_libdir}/enlightenment/modules/cpufreq/linux-gnu-*/freqset
198
199%files devel
200%defattr(644,root,root,755)
201%attr(755,root,root) %{_bindir}/enlightenment-config
202%dir %{_includedir}/enlightenment
203%{_includedir}/enlightenment/*.h
a8898a0c 204%{_pkgconfigdir}/enlightenment.pc
This page took 0.12314 seconds and 4 git commands to generate.