SPECS: ecore.spec - use externam vera - separated libs subpackage
sparky
sparky at pld-linux.org
Sat Oct 29 19:38:48 CEST 2005
Author: sparky Date: Sat Oct 29 17:38:48 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use externam vera
- separated libs subpackage
---- Files affected:
SPECS:
ecore.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SPECS/ecore.spec
diff -u SPECS/ecore.spec:1.8 SPECS/ecore.spec:1.9
--- SPECS/ecore.spec:1.8 Wed Oct 12 00:19:16 2005
+++ SPECS/ecore.spec Sat Oct 29 19:38:43 2005
@@ -16,6 +16,8 @@
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkgconfig
+Requires: %{name}-libs = %{version}-%{release}
+Requires: fonts-TTF-bitstream-vera
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -31,11 +33,22 @@
biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
ułatwienia swojej pracy przy aplikacjach.
+%package libs
+Summary: Ecore library
+Summary(pl): Biblioteka ecore
+Group: X11/Libraries
+
+%description libs
+Ecore library.
+
+%description libs -l pl
+Biblioteka ecore.
+
%package devel
Summary: Ecore header files
Summary(pl): Pliki nagłówkowe Ecore
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
Requires: evas-devel
Requires: openssl-devel
@@ -91,19 +104,29 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}/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}/ecore_*
-%attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
%{_datadir}/%{name}
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
+
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ecore-config
@@ -123,6 +146,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2005/10/29 17:38:43 sparky
+- use externam vera
+- separated libs subpackage
+
Revision 1.8 2005/10/11 22:19:16 charles
- updated to 0.9.9.018
- added -missing_m4.patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ecore.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list