SPECS: edje.spec - external vera, separated libs - Warning: some p...

sparky sparky at pld-linux.org
Sat Oct 29 20:44:05 CEST 2005


Author: sparky                       Date: Sat Oct 29 18:44:05 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- external vera, separated libs
- Warning: some packages will nead booth edje abd edje-devel to build

---- Files affected:
SPECS:
   edje.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/edje.spec
diff -u SPECS/edje.spec:1.10 SPECS/edje.spec:1.11
--- SPECS/edje.spec:1.10	Wed Oct 12 00:19:53 2005
+++ SPECS/edje.spec	Sat Oct 29 20:44:00 2005
@@ -16,6 +16,8 @@
 BuildRequires:	embryo-devel
 BuildRequires:	imlib2-devel >= 1.2.1
 BuildRequires:	libtool
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	fonts-TTF-bitstream-vera
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -51,11 +53,22 @@
 raczej domeną aplikacji lub zbioru widgetów, które mogą używać Edje
 jako wygodnego sposobu konfigurowania części ekranu.
 
+%package libs
+Summary:	Edje library
+Summary(pl):	Biblioteka edje
+Group:		X11/Libraries
+
+%description libs
+Edje library.
+
+%description libs -l pl
+Biblioteka edje.
+
 %package devel
 Summary:	Edje header files
 Summary(pl):	Pliki nagłówkowe Edje
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 Requires:	ecore-devel
 Requires:	embryo-devel
 Requires:	imlib2-devel >= 1.2.1
@@ -98,20 +111,30 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/data/test/fonts
+VERA=$(ls Vera*.ttf)
+for FONT in $VERA; do
+	rm -f $FONT
+	ln -s %{_fontsdir}/TTF/$FONT .
+done
+
 %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 COPYING-PLAIN INSTALL README
 %attr(755,root,root) %{_bindir}/edje
 %attr(755,root,root) %{_bindir}/edje_*
-%attr(755,root,root) %{_libdir}/libedje.so.*.*.*
 %{_datadir}/%{name}
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libedje.so.*.*.*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/edje-config
@@ -130,6 +153,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/10/29 18:44:00  sparky
+- external vera, separated libs
+- Warning: some packages will nead booth edje abd edje-devel to build
+
 Revision 1.10  2005/10/11 22:19:53  charles
 - updated to 0.5.0.018
 - added -missing_m4.patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/edje.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list