]> git.pld-linux.org Git - packages/enlightenment.git/blob - enlightenment.spec
- setuid enlightenment_sys, is there any better group than 'sys' ?
[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 %undefine       __cxx
35
36 %description
37 Enlightenment is a Windowmanager for X Window that is designed to be
38 powerful, extensible, configurable and able to be really good looking.
39
40 %description -l pl
41 Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
42 jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
43
44 %package module-cpufreq-freqset
45 Summary:        CPU speed management binary
46 Summary(pl):    Program do zaz±dzania szybko¶ci± CPU
47 Group:          Applications/System
48 Requires:       %{name} = %{version}-%{release}
49 Obsoletes:      enlightenmentDR17-module-cpufreq-freqset >= 0.16.999
50
51 %description module-cpufreq-freqset
52 freqset makes you able to change CPU frequency using cpufreq module.
53
54 It contains SUID binary.
55
56 %description module-cpufreq-freqset -l pl
57 freqset pozwala zmieniaæ czêstotliwo¶æ pracy procesora przy u¿yciu
58 modu³u cpufreq.
59
60 Zawiera binarkê SUID.
61
62 %package devel
63 Summary:        Development headers for Enlightenment
64 Summary(pl):    Pliki nag³ówkowe dla Enlightenmenta
65 Group:          Development/Libraries
66 Requires:       %{name}-libs = %{version}-%{release}
67 Requires:       edje-devel
68 Obsoletes:      enlightenmentDR17-devel >= 0.16.999
69
70 %description devel
71 Development headers for Enlightenment.
72
73 %description devel -l pl
74 Pliki nag³ówkowe dla Enlightenmenta.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 %{__libtoolize}
82 %{__aclocal} -I m4
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --disable-static \
88         --disable-valgrind      \
89         --with-profile=SLOW_PC
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/init/default.edj
100 rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default.edj
101
102 install -d $RPM_BUILD_ROOT%{_libdir}/enlightenment/modules_extra
103 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/config-apps
104 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
105 find $RPM_BUILD_ROOT%{_libdir}/enlightenment -name "*.a" -or -name "*.la" \
106         | xargs rm
107
108 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/fonts
109 VERA=$(ls Vera*.ttf)
110 for FONT in $VERA; do
111         rm -f $FONT
112         ln -s %{_fontsdir}/TTF/$FONT .
113 done
114 cd -
115
116 %find_lang %{name}
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files -f %{name}.lang
122 %defattr(644,root,root,755)
123 %doc AUTHORS COPYING* README
124 %attr(755,root,root) %{_bindir}/enlightenment
125 # SETUID ! allows rebooting, hibernating and shuting system down
126 %attr(4754,root,sys) %{_bindir}/enlightenment_sys
127 %attr(755,root,root) %{_bindir}/enlightenment_imc
128 %attr(755,root,root) %{_bindir}/enlightenment_remote
129 %attr(755,root,root) %{_bindir}/enlightenment_start
130 %attr(755,root,root) %{_bindir}/enlightenment_thumb
131 %dir %{_libdir}/enlightenment
132 %dir %{_libdir}/enlightenment/*
133 %dir %{_libdir}/enlightenment/modules/*
134 %dir %{_libdir}/enlightenment/modules/*/linux-gnu-*
135 %attr(755,root,root) %{_libdir}/enlightenment/modules/*/linux-gnu-*/*.so
136 %attr(755,root,root) %{_libdir}/enlightenment/preload/e_precache.so
137 # violates FHS
138 %{_libdir}/enlightenment/modules/*/module.desktop
139 %{_libdir}/enlightenment/modules/*/module.edj
140 %dir %{_sysconfdir}/enlightenment
141 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enlightenment/sysactions.conf
142 %{_datadir}/%{name}
143 %{_datadir}/xsessions/%{name}.desktop
144
145 %files module-cpufreq-freqset
146 %defattr(644,root,root,755)
147 # what group should it be ?
148 %attr(4754,root,sys) %{_libdir}/enlightenment/modules/cpufreq/linux-gnu-*/freqset
149
150 %files devel
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_bindir}/enlightenment-config
153 %dir %{_includedir}/enlightenment
154 %{_includedir}/enlightenment/*.h
This page took 0.056928 seconds and 3 git commands to generate.