]> git.pld-linux.org Git - packages/enlightenment.git/blobdiff - enlightenment.spec
- removed lang fr_CH for compatibility with previos releases but still need to resolv...
[packages/enlightenment.git] / enlightenment.spec
index acdf652a9f53908c1acfb128331ac7aeb36d86cd..54f7e993f60152c79098836c5145a6b18689eabb 100644 (file)
+#
+# TODO:
+# - do sf with fr_CH (french translation with more english words)
+#
+# How to build e17 :
+# 1. build imlib2 edb embryo epeg, install embryo-devel imlib2-devel epeg-devel edb-devel
+# 2. build eet, install eet-devel
+# 3. build imlib2_loaders, install imlib2_loaders
+# 4. build evas, install evas-devel
+# 5. build ecore, install ecore-devel
+# 6. build e_dbus efreet, install e_dbus-devel efreet-devel
+# 7. build edje, install edje-devel
+# 8. build emotion epsilon etk , install emotion-devel epsilon-devel etk-devel
+# 9. build esmart ewl, install esmart-devel ewl-devel
+# Now You can build enlightenment and/or rage
+# enligtenment-theme-default and enligtenment-theme-default are in enligtenment-theme-default.spec
+
+%define                ecore_ver       0.9.9.043
+%define                edje_ver        0.9.9.043
+%define                eet_ver         1.0.1
+%define                embryo_ver      0.9.9.043
+%define                evas_ver        0.9.9.043
+
 Summary:       Enlightenment Window Manager
-Summary(pl):   X Window menad¿er - Enlightenment  
+Summary(pl.UTF-8):     Zarządca okien X - Enlightenment
 Name:          enlightenment
-Version:       0.16
-Release:       0.2
-Copyright:     GPL
+Version:       0.16.999.043
+Release:       1
+License:       BSD
 Group:         X11/Window Managers
-Group(pl):     X11/Zarz±dcy okien
-Source:                ftp://www.rasterman.com/pub/enlightenment/%{name}-%{version}.devel.2.tar.gz
-Patch:         enlightenment-0.16-config-path.patch
-URL:           http://www.rasterman.com/
-Requires:      glib >= 1.2.1
-Requires:      gtk+ >= 1.2.1
-BuildRoot:     /tmp/%{name}-%{version}-root
-
-%define        _prefix /usr/X11R6
+Source0:       http://download.enlightenment.org/snapshots/2008-05-19/%{name}-%{version}.tar.bz2
+# Source0-md5: 6f502991ef3059772b290b85aadda108
+Source1:       %{name}-xsession.desktop
+Source2:       enlightenmentDR17-wcnt.txt
+URL:           http://enlightenment.org/
+BuildRequires: autoconf >= 2.59-9
+BuildRequires: automake
+# ecore-evas ecore-config ecore-dbus ecore-file
+BuildRequires: ecore-devel >= %{ecore_ver}
+BuildRequires: edje >= %{edje_ver}
+BuildRequires: edje-devel >= %{edje_ver}
+BuildRequires: eet-devel >= %{eet_ver}
+BuildRequires: efreet-devel
+BuildRequires: embryo-devel >= %{embryo_ver}
+BuildRequires: evas-devel >= %{evas_ver}
+BuildRequires: gettext-devel >= 0.12.1
+BuildRequires: libtool
+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 >= %{evas_ver}
+Requires:      evas-engine-software_x11 >= %{evas_ver}
+Requires:      evas-loader-eet >= %{evas_ver}
+Requires:      evas-loader-jpeg >= %{evas_ver}
+Requires:      evas-loader-png >= %{evas_ver}
+Obsoletes:     enlightenmentDR17 >= 0.16.999
+Obsoletes:     enlightenmentDR17-libs >= 0.16.999
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%{expand:%%define      _sysconfdir     %{_sysconfdir}/X11}
+%undefine      __cxx
 
 %description
-Enlightenment is a Windowmanager for X-Windows that is designed to be
+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 window-menad¿erem 
-jaki kiedykolwiek zosta³ stworzony dla Linuxa ;)
+%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 >= %{ecore_ver}
+Requires:      edje-devel >= %{edje_ver}
+Requires:      eet-devel >= %{eet_ver}
+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 -n %{name}-%{version}.devel.2
-%patch -p1
+%setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
-       --enable-fsstd \
-       --enable-sound
-
-make configdatadir=/etc/X11/enlightenment
+       --disable-static \
+       --disable-valgrind \
+       --with-profile=SLOW_PC
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/bin
+install -d $RPM_BUILD_ROOT%{_datadir}/xsessions
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_CH
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/init/default.edj
+rm $RPM_BUILD_ROOT%{_datadir}/%{name}/data/themes/default.edj
 
-make install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       configdatadir=/etc/X11/enlightenment
+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
 
-gzip -9nf AUTHORS README NEWS 
+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}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING COPYING-PLAIN ChangeLog NEWS README
+%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_init
+%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
+%attr(755,root,root) %{_libdir}/enlightenment/modules/battery/linux-gnu-*/batget
+%attr(755,root,root) %{_libdir}/enlightenment/modules/temperature/linux-gnu-*/tempget
+# 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
+
+%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)
-%doc {AUTHORS,README,NEWS}.gz
-%attr(755,root,root) /usr/X11R6/bin/*
-/usr/X11R6/share/enlightenment
-
-%dir /etc/X11/enlightenment
-%config /etc/X11/enlightenment/*
-
-%changelog
-* Sun Mar 21 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [0.15.4-4]
-- aadded --enable-fsstd to ./configure parameters,
-- gzipping %doc (instead bzipping2),
-- config files moved to /etc/X11/enlightenment,
-- removed Requires (autogenerate).
-
-* Sat Feb  6 1999 Micha³ Kuratczyk <kurkens@polbox.com>
-  [0.15.0-3d]
-- added %config macros
-- changed Group to X11/Window Managers
-- changed BuildRoot to /tmp/buildroot-%%{name}-%%{version}
-
-* Fri Feb 05 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.15.0-2.1d]
-- updated to latest snapshoot,
-- added Require: stringlist, Gtk-prel.
-
-* Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-  [0.14-2d]
-- build against glibc-2.1,
-- translation modified for pl,
-- added Require: Gtk-perl,
-- minor modifications of spec file.
-
-* Tue Jun 2 1998 The Rasterman <raster@redhat.com>
-- wrote .spec file
+%attr(755,root,root) %{_bindir}/enlightenment-config
+%dir %{_includedir}/enlightenment
+%{_includedir}/enlightenment/*.h
+%{_pkgconfigdir}/enlightenment.pc
This page took 0.135054 seconds and 4 git commands to generate.