SPECS: etk.spec - updated to 0.1.0.003 - separated -libs

qboosh qboosh at pld-linux.org
Sun Sep 9 17:10:43 CEST 2007


Author: qboosh                       Date: Sun Sep  9 15:10:43 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.1.0.003
- separated -libs

---- Files affected:
SPECS:
   etk.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/etk.spec
diff -u SPECS/etk.spec:1.14 SPECS/etk.spec:1.15
--- SPECS/etk.spec:1.14	Sun Sep  9 14:17:11 2007
+++ SPECS/etk.spec	Sun Sep  9 17:10:38 2007
@@ -1,21 +1,25 @@
 # $Revision$, $Date$
-%define	_snap	20060704
 Summary:	Toolkit based on the EFL
 Summary(pl.UTF-8):	Toolkit oparty na EFL
 Name:		etk
-Version:	0.1
-Release:	0.%{_snap}.5
+Version:	0.1.0.003
+Release:	1
 License:	BSD
 Group:		Libraries
-Source0:	http://sparky.homelinux.org/snaps/enli/e17/proto/%{name}-%{_snap}.tar.bz2
-# Source0-md5:	bb42f7a94f3dd5ae1148227ff4cb7037
+Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+# Source0-md5:	52e1adf8cc840d486e21bf439c68f041
 URL:		http://enlightenment.org/p.php?p=about/libs/etk
 BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	edje
-BuildRequires:	edje-devel
+BuildRequires:	automake >= 1.4
+# ecore-file ecore-x ecore-fb
+BuildRequires:	ecore-devel >= 0.9.9
+BuildRequires:	edje >= 0.5.0
+BuildRequires:	edje-devel >= 0.5.0
+BuildRequires:	evas-devel >= 0.9.9
+BuildRequires:	gettext-devel >= 0.14.1
 BuildRequires:	libtool
-BuildRequires:	sed >= 4.0
+BuildRequires:	pkgconfig
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	fonts-TTF-bitstream-vera
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,11 +29,33 @@
 %description -l pl.UTF-8
 Toolkit oparty na EFL (Enlightenment Foundations Library).
 
+%package libs
+Summary:	EFL toolkit library
+Summary(pl.UTF-8):	Biblioteka toolkitu EFL.
+Group:		Libraries
+Requires:	ecore-fb >= 0.9.9
+Requires:	ecore-file >= 0.9.9
+Requires:	ecore-x >= 0.9.9
+Requires:	edje-libs >= 0.5.0
+Requires:	evas >= 0.9.9
+Conflicts:	etk < 0.1.0.003
+
+%description libs
+Enlightenment Foundations Library based toolkit library.
+
+%description libs -l pl.UTF-8
+Biblioteka toolkitu opartego na EFL (Enlightenment Foundations
+Library).
+
 %package devel
 Summary:	Header files for etk library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki etk
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
+# ecore-file ecore-x ecore-fb
+Requires:	ecore-devel >= 0.9.9
+Requires:	edje-devel >= 0.5.0
+Requires:	evas-devel >= 0.9.9
 
 %description devel
 This is the package containing the header files for etk library.
@@ -50,11 +76,9 @@
 Statyczna biblioteka etk.
 
 %prep
-%setup -q -n %{name}
-sed -e '/SUBDIRS/s/$/ po/' -i Makefile.am
+%setup -q
 
 %build
-touch config.rpath
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
@@ -77,28 +101,38 @@
 done
 cd -
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/etk/engines/*.{la,a}
+
 %find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog INSTALL README TODO
+%doc AUTHORS COPYING ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/etk_prefs
 %attr(755,root,root) %{_bindir}/etk_test
-%attr(755,root,root) %{_libdir}/libetk.so.*.*.*
 %{_datadir}/%{name}
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libetk.so.*.*.*
+%dir %{_libdir}/etk
+%dir %{_libdir}/etk/engines
+%attr(755,root,root) %{_libdir}/etk/engines/ecore_*.so
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/etk-config
 %attr(755,root,root) %{_libdir}/libetk.so
 %{_libdir}/libetk.la
-%{_includedir}/%{name}
-%{_pkgconfigdir}/%{name}.pc
+%{_includedir}/etk
+%{_includedir}/Etk_Engine_Ecore_*.h
+%{_pkgconfigdir}/etk.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -110,6 +144,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007/09/09 15:10:38  qboosh
+- updated to 0.1.0.003
+- separated -libs
+
 Revision 1.14  2007/09/09 12:17:11  qboosh
 - updated URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/etk.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list