]> git.pld-linux.org Git - packages/enlightenment.git/blobdiff - enlightenment.spec
- updated to 0.16.999.038
[packages/enlightenment.git] / enlightenment.spec
index 36c9102d2bf2f777a30f29d564fc72e14c5debe7..05794b9e693f86b6fa10240b257d86c7910d5fbd 100644 (file)
 Summary:       Enlightenment Window Manager
-Summary(pl):   Zarz±dca okien X - Enlightenment
+Summary(pl.UTF-8):     Zarządca okien X - Enlightenment
 Name:          enlightenment
-Version:       0.16.7.2
-Release:       0.1
-License:       GPL
+Version:       0.16.999.038
+Release:       1
+License:       BSD
 Group:         X11/Window Managers
-Source0:       http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
-# Source0-md5: 78747d34f882676eafe26eef22a448be
-Source1:       %{name}.desktop
-Source2:       %{name}-xsession.desktop
-Source3:       %{name}-winter.etheme.i18n
-Source4:       %{name}-e_gen_menu
-Source5:       %{name}-e_check_menu
-Patch0:                %{name}-edirconf.patch 
-Patch1:                %{name}-ac_am_fixes.patch
-Patch2:                %{name}-pl.patch
-Patch3:                %{name}-no_eng_config.patch
-Patch4:                %{name}-check_menus.patch
+Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: d54d8f7094b398fbd547992b8ad80cae
+Source1:       %{name}-xsession.desktop
+Source2:       enlightenmentDR17-wcnt.txt
+Patch0:                enlightenmentDR17-module_temp_mac.patch
 URL:           http://enlightenment.org/
-BuildRequires: XFree86
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
-BuildRequires: esound-devel >= 0.2.13
-BuildRequires: fnlib-devel
-BuildRequires: freetype-devel
-BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2.1
-BuildRequires: iconv
-BuildRequires: imlib2-devel
-BuildRequires: libghttp-devel
-BuildRequires: libjpeg-devel
-BuildRequires: libpng >= 1.0.8
-BuildRequires: libtiff-devel
+# ecore-evas ecore-config ecore-dbus ecore-file
+BuildRequires: ecore-devel >= 0.9.9.038
+BuildRequires: edje >= 0.5.0.038
+BuildRequires: edje-devel >= 0.5.0.038
+BuildRequires: eet-devel >= 0.9.10.038
+BuildRequires: efreet-devel
+BuildRequires: embryo-devel >= 0.9.1.038
+BuildRequires: evas-devel >= 0.9.9.038
+BuildRequires: gettext-devel >= 0.12.1
 BuildRequires: libtool
-BuildRequires: libungif-devel
-BuildRequires: zlib-devel
-Requires:      ImageMagick-coder-png
-Requires:      vfmg >= 0.9.18-10
-Requires:      xinitrc-ng
+BuildRequires: pam-devel
+BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
+BuildRequires: xorg-lib-libXext-devel
+Requires:      fonts-TTF-bitstream-vera
+Requires:      vfmg >= 0.9.95
+Requires:      enlightenment-theme-default = %{version}
+Requires:      enlightenment-init-default = %{version}
+Requires:      evas-engine-buffer >= 0.9.9.038
+Requires:      evas-engine-software_x11 >= 0.9.9.038
+Requires:      evas-loader-eet >= 0.9.9.038
+Requires:      evas-loader-jpeg >= 0.9.9.038
+Requires:      evas-loader-png >= 0.9.9.038
+Obsoletes:     enlightenmentDR17 >= 0.16.999
+Obsoletes:     enlightenmentDR17-libs >= 0.16.999
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _wmpropsdir     /usr/share/wm-properties
-%define                _sysconfdir     /etc/X11/enlightenment
+%{expand:%%define      _sysconfdir     %{_sysconfdir}/X11}
+%undefine      __cxx
 
 %description
 Enlightenment is a Windowmanager for X Window that is designed to be
 powerful, extensible, configurable and able to be really good looking.
 
-%description -l pl
-Enlightenment jest najpotê¿niejszym i najpiêkniejszym zarz±dc± okien
-jaki kiedykolwiek zosta³ stworzony dla Linuksa ;)
+%description -l pl.UTF-8
+Enlightenment jest najpotężniejszym i najpiękniejszym zarządcą okien
+jaki kiedykolwiek został stworzony dla Linuksa ;)
+
+%package module-cpufreq-freqset
+Summary:       CPU speed management binary
+Summary(pl.UTF-8):     Program do zaządzania szybkością CPU
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+Obsoletes:     enlightenmentDR17-module-cpufreq-freqset >= 0.16.999
+
+%description module-cpufreq-freqset
+freqset makes you able to change CPU frequency using cpufreq module.
+
+It contains SUID binary.
+
+%description module-cpufreq-freqset -l pl.UTF-8
+freqset pozwala zmieniać częstotliwość pracy procesora przy użyciu
+modułu cpufreq.
+
+Zawiera binarkę SUID.
+
+%package devel
+Summary:       Development headers for Enlightenment
+Summary(pl.UTF-8):     Pliki nagłówkowe dla Enlightenmenta
+Group:         Development/Libraries
+# by headers included in e.h
+# ecore-x ecore-evas ecore-con ecore-ipc ecore-job ecore-txt ecore-config ecore-file ecore-dbus
+Requires:      ecore-devel >= 0.9.9.038
+Requires:      edje-devel >= 0.5.0.038
+Requires:      eet-devel >= 0.9.10.038
+Requires:      efreet-devel
+Obsoletes:     enlightenmentDR17-devel >= 0.16.999
+
+%description devel
+Development headers for Enlightenment.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla Enlightenmenta.
 
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-# tar-gziped text files !?!
-( cd config
-for LANG_FILE in ja ko pl; do
-       mkdir $LANG_FILE
-       cd $LANG_FILE
-       tar -zxvf ../config.$LANG_FILE
-       cd ..
-done )
-%patch3 -p1
-%patch4 -p1
-
-for FILE in actionclasses.cfg keybindings.cfg keybindings.gmc.cfg \
-               keybindings.nogmc.cfg menus.cfg; do
-       iconv -f EUC-JP -t UTF-8 config/ja/$FILE.ja > \
-               config/ja/$FILE.ja_JP.UTF-8
-       iconv -f EUC-KR -t UTF-8 config/ko/$FILE.ko > \
-               config/ko/$FILE.ko_KR.UTF-8
-       iconv -f ISO-8859-2 -t UTF-8 config/pl/$FILE.pl > \
-               config/pl/$FILE.pl_PL.UTF-8
-done   # it helps, but UTF-8 still isn't working correctly
-
-mv -f po/{no,nb}.po
-rm po/*.gmo
-
-cp %{SOURCE3} themes/winter.etheme.i18n
 
 %build
-rm -f missing
 %{__libtoolize}
-%{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-export LOCALEDIR=%{_datadir}/locale
 %configure \
-       --enable-sound=yes
-
-# regenerate gmo files
-%{__make} dist
+       --disable-static \
+       --disable-valgrind \
+       --with-profile=SLOW_PC
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_wmpropsdir},/etc/sysconfig/wmstyle}
+install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
-install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_gen_menu
-install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/enlightenment/scripts/e_check_menu
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/init/default.edj
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default.edj
 
-rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/enlightenment/X11
+install -d $RPM_BUILD_ROOT%{_libdir}/enlightenment/modules_extra
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/config-apps
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/%{name}/wcnt.txt
+find $RPM_BUILD_ROOT%{_libdir}/enlightenment -name '*.la' | xargs rm
+
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/fonts
+VERA=$(ls Vera*.ttf)
+for FONT in $VERA; do
+       rm -f $FONT
+       ln -s %{_fontsdir}/TTF/$FONT .
+done
+cd -
 
 %find_lang %{name}
 
@@ -119,12 +134,38 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS README NEWS
-%config %{_sysconfdir}
-%attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/enlightenment
-%{_datadir}/enlightenment/[!s]*
-%attr(755,root,root) %{_datadir}/enlightenment/scripts
+%doc AUTHORS COPYING COPYING-PLAIN README TODO
+%attr(755,root,root) %{_bindir}/enlightenment
+%attr(755,root,root) %{_bindir}/enlightenment_fm
+%attr(755,root,root) %{_bindir}/enlightenment_imc
+%attr(755,root,root) %{_bindir}/enlightenment_remote
+%attr(755,root,root) %{_bindir}/enlightenment_start
+# SETUID! allows rebooting, hibernating and shutting system down
+%attr(4754,root,sys) %{_bindir}/enlightenment_sys
+%attr(755,root,root) %{_bindir}/enlightenment_thumb
+%dir %{_libdir}/enlightenment
+%dir %{_libdir}/enlightenment/modules
+%dir %{_libdir}/enlightenment/modules/*
+%dir %{_libdir}/enlightenment/modules/*/linux-gnu-*
+%attr(755,root,root) %{_libdir}/enlightenment/modules/*/linux-gnu-*/*.so
+# should be in %{_datadir} (FHS)
+%{_libdir}/enlightenment/modules/*/module.desktop
+%{_libdir}/enlightenment/modules/*/e-module-*.edj
+%dir %{_libdir}/enlightenment/modules_extra
+%dir %{_libdir}/enlightenment/preload
+%attr(755,root,root) %{_libdir}/enlightenment/preload/e_precache.so
+%dir %{_sysconfdir}/enlightenment
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/enlightenment/sysactions.conf
+%{_datadir}/%{name}
 %{_datadir}/xsessions/%{name}.desktop
-%{_wmpropsdir}/*
-%{_mandir}/man1/*
+
+%files module-cpufreq-freqset
+%defattr(644,root,root,755)
+# what group should it be ?
+%attr(4754,root,sys) %{_libdir}/enlightenment/modules/cpufreq/linux-gnu-*/freqset
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/enlightenment-config
+%dir %{_includedir}/enlightenment
+%{_includedir}/enlightenment/*.h
This page took 0.153301 seconds and 4 git commands to generate.