]>
Commit | Line | Data |
---|---|---|
2f85ead4 | 1 | Summary: Enlightenment Widget Library |
2 | Name: ewl | |
3 | Version: 0.0.4 | |
4 | %define _snap 20050106 | |
5 | Release: 0.%{_snap}.0.1 | |
6 | License: BSD | |
7 | Group: X11/Libraries | |
8 | #Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz | |
9 | Source0: ftp://ftp.sparky.homelinux.org/pub/e17/%{name}-%{version}-%{_snap}.tar.gz | |
94b85c17 | 10 | # Source0-md5: 3c25a2544fab78de5c9e66e7d6bf1968 |
2f85ead4 | 11 | URL: http://enlightenment.org/ |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: edje-devel | |
15 | BuildRequires: emotion-devel | |
16 | BuildRequires: etox-devel | |
17 | BuildRequires: libtool | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | EWL is a widget library which uses the E Foundation Libraries (EFL). | |
22 | ||
23 | %package devel | |
24 | Summary: EWL headers and development libraries | |
25 | Group: Development/Libraries | |
26 | Requires: %{name} = %{version} | |
27 | ||
28 | %description devel | |
29 | EWL development files. | |
30 | ||
31 | %package static | |
32 | Summary: Static libraries | |
33 | Group: Development/Libraries | |
34 | Requires: %{name}-devel = %{version} | |
35 | ||
36 | %description static | |
37 | Static libraries. | |
38 | ||
39 | %prep | |
40 | %setup -q -n %{name} | |
41 | ||
42 | %build | |
43 | %{__libtoolize} | |
44 | %{__aclocal} | |
45 | %{__autoconf} | |
46 | %{__autoheader} | |
47 | %{__automake} | |
48 | %configure | |
49 | %{__make} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %post -p /sbin/ldconfig | |
60 | %postun -p /sbin/ldconfig | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc AUTHORS COPYING* NEWS README TODO | |
65 | %attr(755,root,root) %{_libdir}/libewl.so.* | |
66 | %{_libdir}/libewl.la | |
67 | %attr(755,root,root) %{_bindir}/ewl_edb_ed | |
68 | %{_datadir}/%{name} | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %{_aclocaldir}/ewl.m4 | |
73 | %attr(755,root,root) %{_libdir}/libewl.so | |
74 | %{_libdir}/libewl.la | |
75 | %{_pkgconfigdir}/ewl.pc | |
76 | %{_includedir}/ewl/Ewl.h | |
77 | %{_includedir}/ewl/ewl_*.h | |
78 | %attr(755,root,root) %{_bindir}/ewl-config | |
79 | %attr(755,root,root) %{_bindir}/ewl_test | |
80 | %attr(755,root,root) %{_bindir}/ewl_embed_test | |
81 | %attr(755,root,root) %{_bindir}/ewl_media_test | |
82 | %attr(755,root,root) %{_bindir}/ewl_simple_test | |
83 | ||
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/libewl.a |