SPECS: esmart.spec - back to unofficial snap, it buids and officia...

sparky sparky at pld-linux.org
Sun Oct 30 13:12:07 CET 2005


Author: sparky                       Date: Sun Oct 30 12:12:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- back to unofficial snap, it buids and official didn't
- separated libs

---- Files affected:
SPECS:
   esmart.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/esmart.spec
diff -u SPECS/esmart.spec:1.5 SPECS/esmart.spec:1.6
--- SPECS/esmart.spec:1.5	Wed Aug 24 20:40:23 2005
+++ SPECS/esmart.spec	Sun Oct 30 13:12:02 2005
@@ -3,11 +3,13 @@
 Summary(pl):	"Inteligentne obiekty" Evas
 Name:		esmart
 Version:	0.9.0.004
-Release:	1
+%define	_snap	20051025
+Release:	1.%{_snap}.1
 License:	BSD
 Group:		X11/Libraries
-Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5:	23605a2ff7e90c8b28e934f6a1fbfc4d
+#Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+Source0:	http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.bz2
+# Source0-md5:	a9839d5d33c162bb81ad3480d1351f4a
 URL:		http://enlightenment.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -15,6 +17,7 @@
 BuildRequires:	epeg-devel
 BuildRequires:	epsilon-devel
 BuildRequires:	libtool
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,11 +28,22 @@
 Esmart zawiera "inteligentne" wstępnie zbudowane obiekty evas.
 Aktualnie zawiera generator miniaturek i kontener poziomy/pionowy.
 
+%package libs
+Summary:	Esmart libraries
+Summary(pl):	Biblioteka Esmart
+Group:		X11/Libraries
+
+%description libs
+Esmart libraries.
+
+%description libs -l pl
+Biblioteka Esmart.
+
 %package devel
 Summary:	Evas "smart objects" header files
 Summary(pl):	Pliki nagłówkowe "inteligentnych obiektów" Evas
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	edje-devel
 Requires:	epeg-devel
 Requires:	epsilon-devel
@@ -53,11 +67,11 @@
 Statyczne biblioteki Esmart.
 
 %prep
-%setup -q
+%setup -q -n %{name}
 
 %build
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -73,19 +87,22 @@
 %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
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING* README
 %attr(755,root,root) %{_bindir}/esmart_file_dialog_test
 %attr(755,root,root) %{_bindir}/esmart_test
+%{_datadir}/%{name}
+
+%files libs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libesmart_*.so.*.*.*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/layout
 %attr(755,root,root) %{_libdir}/%{name}/layout/*.so
-%{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
@@ -108,6 +125,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/10/30 12:12:02  sparky
+- back to unofficial snap, it buids and official didn't
+- separated libs
+
 Revision 1.5  2005/08/24 18:40:23  charles
 - updated to 0.9.0.004
 - new Source0 ("official" snapshots)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/esmart.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list