]> git.pld-linux.org Git - packages/enlightenment.git/blob - enlightenment.spec
- put config in /etc/X11
[packages/enlightenment.git] / enlightenment.spec
1 Summary:        Enlightenment Window Manager
2 Summary(pl):    Zarz±dca okien X - Enlightenment
3 Name:           enlightenment
4 Version:        0.16.999.036
5 Release:        1
6 License:        BSD
7 Group:          X11/Window Managers
8 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  bf9ce15f009b7a8d8875fddea2ea065f
10 Source1:        %{name}-xsession.desktop
11 Patch0:         enlightenmentDR17-module_temp_mac.patch
12 URL:            http://enlightenment.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  edje
16 BuildRequires:  edje-devel
17 BuildRequires:  gettext-devel
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  sed >= 4.0
21 Requires:       fonts-TTF-bitstream-vera
22 Requires:       vfmg >= 0.9.95
23 Requires:       enlightenment-theme-default = %{version}
24 Requires:       enlightenment-init-default
25 Requires:       evas-engine-buffer
26 Requires:       evas-engine-software_x11
27 Requires:       evas-loader-eet
28 Requires:       evas-loader-jpeg
29 Requires:       evas-loader-png
30 Obsoletes:      enlightenmentDR17 >= 0.16.999
31 Obsoletes:      enlightenmentDR17-libs >= 0.16.999
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %{expand:%%define       _sysconfdir     %{_sysconfdir}/X11}
35 %undefine       __cxx
36
37 %description
38 Enlightenment is a Windowmanager for X Window that is designed to be
39 powerful, extensible, configurable and able to be really good looking.
40
41 %description -l pl
42 Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
43 jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
44
45 %package module-cpufreq-freqset
46 Summary:        CPU speed management binary
47 Summary(pl):    Program do zaz±dzania szybko¶ci± CPU
48 Group:          Applications/System
49 Requires:       %{name} = %{version}-%{release}
50 Obsoletes:      enlightenmentDR17-module-cpufreq-freqset >= 0.16.999
51
52 %description module-cpufreq-freqset
53 freqset makes you able to change CPU frequency using cpufreq module.
54
55 It contains SUID binary.
56
57 %description module-cpufreq-freqset -l pl
58 freqset pozwala zmieniaæ czêstotliwo¶æ pracy procesora przy u¿yciu
59 modu³u cpufreq.
60
61 Zawiera binarkê SUID.
62
63 %package devel
64 Summary:        Development headers for Enlightenment
65 Summary(pl):    Pliki nag³ówkowe dla Enlightenmenta
66 Group:          Development/Libraries
67 Requires:       %{name}-libs = %{version}-%{release}
68 Requires:       edje-devel
69 Obsoletes:      enlightenmentDR17-devel >= 0.16.999
70
71 %description devel
72 Development headers for Enlightenment.
73
74 %description devel -l pl
75 Pliki nag³ówkowe dla Enlightenmenta.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 %{__libtoolize}
83 %{__aclocal} -I m4
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --disable-static \
89         --disable-valgrind      \
90         --with-profile=SLOW_PC
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95 install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/init/default.edj
101 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default.edj
102
103 install -d $RPM_BUILD_ROOT%{_libdir}/enlightenment/modules_extra
104 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/config-apps
105 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
106 find $RPM_BUILD_ROOT%{_libdir}/enlightenment -name "*.a" -or -name "*.la" \
107         | xargs rm
108
109 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/fonts
110 VERA=$(ls Vera*.ttf)
111 for FONT in $VERA; do
112         rm -f $FONT
113         ln -s %{_fontsdir}/TTF/$FONT .
114 done
115 cd -
116
117 %find_lang %{name}
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %doc AUTHORS COPYING* README
125 %attr(755,root,root) %{_bindir}/enlightenment
126 # SETUID ! allows rebooting, hibernating and shuting system down
127 %attr(4754,root,sys) %{_bindir}/enlightenment_sys
128 %attr(755,root,root) %{_bindir}/enlightenment_imc
129 %attr(755,root,root) %{_bindir}/enlightenment_remote
130 %attr(755,root,root) %{_bindir}/enlightenment_start
131 %attr(755,root,root) %{_bindir}/enlightenment_thumb
132 %dir %{_libdir}/enlightenment
133 %dir %{_libdir}/enlightenment/*
134 %dir %{_libdir}/enlightenment/modules/*
135 %dir %{_libdir}/enlightenment/modules/*/linux-gnu-*
136 %attr(755,root,root) %{_libdir}/enlightenment/modules/*/linux-gnu-*/*.so
137 %attr(755,root,root) %{_libdir}/enlightenment/preload/e_precache.so
138 # violates FHS
139 %{_libdir}/enlightenment/modules/*/module.desktop
140 %{_libdir}/enlightenment/modules/*/module.edj
141 %dir %{_sysconfdir}/enlightenment
142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enlightenment/sysactions.conf
143 %{_datadir}/%{name}
144 %{_datadir}/xsessions/%{name}.desktop
145
146 %files module-cpufreq-freqset
147 %defattr(644,root,root,755)
148 # what group should it be ?
149 %attr(4754,root,sys) %{_libdir}/enlightenment/modules/cpufreq/linux-gnu-*/freqset
150
151 %files devel
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/enlightenment-config
154 %dir %{_includedir}/enlightenment
155 %{_includedir}/enlightenment/*.h
This page took 0.046732 seconds and 3 git commands to generate.