SPECS (DEVEL): enlightenment.spec - updated to last version - 0.16...

charles charles at pld-linux.org
Wed Oct 12 00:27:53 CEST 2005


Author: charles                      Date: Tue Oct 11 22:27:53 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- updated to last version - 0.16.999.018 (based on enlightenmentDR17)
- O: enlightenmentDR17

---- Files affected:
SPECS:
   enlightenment.spec (1.83.2.2 -> 1.83.2.3) 

---- Diffs:

================================================================
Index: SPECS/enlightenment.spec
diff -u SPECS/enlightenment.spec:1.83.2.2 SPECS/enlightenment.spec:1.83.2.3
--- SPECS/enlightenment.spec:1.83.2.2	Sun Jan  9 00:23:46 2005
+++ SPECS/enlightenment.spec	Wed Oct 12 00:27:48 2005
@@ -2,20 +2,22 @@
 Summary:	Enlightenment Window Manager
 Summary(pl):	Zarządca okien X - Enlightenment
 Name:		enlightenment
-Version:	0.17.0
-%define _snap	20050106
-Release:	0.%{_snap}.0.1
+Version:	0.16.999.018
+Release:	1
 License:	BSD
 Group:		X11/Window Managers
-#Source0:	http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
-Source0:	ftp://ftp.sparky.homelinux.org/pub/e17/e-%{version}_pre10-%{_snap}.tar.gz
-# Source0-md5:	bd9a373605308955931f9102c7ebc29d
+Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+# Source0-md5:	2544e352df4eef6a6271aac0269f07ba
 Source1:        %{name}-xsession.desktop
 URL:		http://enlightenment.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	edje-devel
+BuildRequires:	gettext-devel
 BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
+Obsoletes:	enlightenmentDR17
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,7 +32,7 @@
 Summary:	Development headers for Enlightenment
 Summary:	Pliki nagłówkowe dla Enlightenmenta
 Group:		Development/Libraries
-Requires:	%{name} = %{version}
+Requires:	%{name} = %{version}-%{release}
 Requires:	edje-devel
 
 %description devel
@@ -40,15 +42,27 @@
 Pliki nagłówkowe dla Enlightenmenta.
 
 %prep
-%setup -q -n e
+%setup -q
 
 %build
+echo 'AC_DEFUN([AC_C___ATTRIBUTE__],
+ [
+  AC_MSG_CHECKING(for __attribute__)
+  AC_CACHE_VAL(ac_cv___attribute__, [
+  AC_TRY_COMPILE([#include <stdlib.h>],
+  [int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }],
+  ac_cv___attribute__=yes, ac_cv___attribute__=no)])
+  if test "$ac_cv___attribute__" = "yes"; then
+    AC_DEFINE(HAVE___ATTRIBUTE__, 1, [Define to 1 if compiler has __attribute__])
+  fi
+  AC_MSG_RESULT($ac_cv___attribute__)])' > acinclude.m4
+
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure 
 %{__make}
 
 %install
@@ -60,23 +74,44 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
 
+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
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING* README
 %attr(755,root,root) %{_bindir}/*
-%{_libdir}/%{name}
+%attr(755,root,root) %{_libdir}/libe.so.*.*.*
+%{_libdir}/enlightenment
 %{_datadir}/%{name}
 %{_datadir}/xsessions/%{name}.desktop
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/%{name}/*.h
+%attr(755,root,root) %{_libdir}/libe.so
+%{_libdir}/libe.la
+%dir %{_includedir}/enlightenment
+%{_includedir}/enlightenment/*.h
+%{_includedir}/E_Lib.h
+
+%if 0
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libe.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -84,6 +119,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.83.2.3  2005/10/11 22:27:48  charles
+- updated to last version - 0.16.999.018 (based on enlightenmentDR17)
+- O: enlightenmentDR17
+
 Revision 1.83.2.2  2005/01/08 23:23:46  sparky
 - added desktop file
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/enlightenment.spec?r1=1.83.2.2&r2=1.83.2.3&f=u




More information about the pld-cvs-commit mailing list