SPECS: ewl.spec - up to 20051118 unofficial snap - separated libs ...
sparky
sparky at pld-linux.org
Sun Nov 20 20:16:37 CET 2005
Author: sparky Date: Sun Nov 20 19:16:37 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 20051118 unofficial snap
- separated libs
- fixed %files
---- Files affected:
SPECS:
ewl.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/ewl.spec
diff -u SPECS/ewl.spec:1.7 SPECS/ewl.spec:1.8
--- SPECS/ewl.spec:1.7 Thu Aug 25 13:50:22 2005
+++ SPECS/ewl.spec Sun Nov 20 20:16:31 2005
@@ -3,17 +3,21 @@
Summary(pl): Biblioteka widgetów Enlightenmenta (Enlightenment Widget Library)
Name: ewl
Version: 0.0.4.004
-Release: 1
+%define _snap 20051118
+Release: 0.%{_snap}.1
License: BSD
Group: X11/Libraries
-Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: aed8f9eaf06ed5f0120d6f9ce2dc985c
+#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: f5b5701f01006e88ace5f7339403615e
URL: http://enlightenment.org/Libraries/Ewl/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: edje
BuildRequires: edje-devel
BuildRequires: emotion-devel
BuildRequires: libtool
+Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -23,11 +27,18 @@
EWL to biblioteka widgetów używająca EFL (E Foundation Libraries -
podstawowych bibliotek Englightenmenta).
+%package libs
+Summary: EWL library
+Group: X11/Libraries
+
+%description libs
+EWL library.
+
%package devel
Summary: EWL header files and test programs
Summary(pl): Pliki nagłówkowe i programy testowe dla biblioteki EWL
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
%description devel
EWL header files and test programs.
@@ -48,22 +59,11 @@
Statyczna biblioteka EWL.
%prep
-%setup -q
-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
+%setup -q -n %{name}
%build
%{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
@@ -79,24 +79,23 @@
%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* NEWS README TODO
-%attr(755,root,root) %{_bindir}/ewl_edb_ed
-%attr(755,root,root) %{_libdir}/libewl.so.*.*.*
-%{_libdir}/libewl.la
+%attr(755,root,root) %{_bindir}/ewl_test
+%attr(755,root,root) %{_bindir}/ewl_*_test
%{_datadir}/%{name}
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libewl.so.*.*.*
+
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ewl-config
-%attr(755,root,root) %{_bindir}/ewl_test
-%attr(755,root,root) %{_bindir}/ewl_embed_test
-%attr(755,root,root) %{_bindir}/ewl_media_test
-%attr(755,root,root) %{_bindir}/ewl_simple_test
%attr(755,root,root) %{_libdir}/libewl.so
%{_libdir}/libewl.la
%dir %{_includedir}/ewl
@@ -115,6 +114,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2005/11/20 19:16:31 sparky
+- up to 20051118 unofficial snap
+- separated libs
+- fixed %files
+
Revision 1.7 2005/08/25 11:50:22 charles
- proper URL
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ewl.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list