3 %bcond_without static_libs # don't build static library
5 Summary: Enlightenment Widget Library
6 Summary(pl): Biblioteka widgetów Enlightenmenta (Enlightenment Widget Library)
9 #%define _snap 20060312
14 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
15 # Source0-md5: 29bc8aec80b53480c2ea53aea1796e15
16 #Source0: http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.bz2
17 URL: http://enlightenment.org/Libraries/Ewl/
18 BuildRequires: autoconf
19 BuildRequires: automake
21 BuildRequires: edje-devel
22 BuildRequires: emotion-devel
23 BuildRequires: libtool
24 Requires: %{name}-libs = %{version}-%{release}
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 EWL is a widget library which uses the E Foundation Libraries (EFL).
33 EWL to biblioteka widgetów u¿ywaj±ca EFL (E Foundation Libraries -
34 podstawowych bibliotek Englightenmenta).
38 Summary(pl): Biblioteka EWL
44 %description libs -l pl
48 Summary: EWL header files and test programs
49 Summary(pl): Pliki nag³ówkowe i programy testowe dla biblioteki EWL
50 Group: Development/Libraries
51 Requires: %{name}-libs = %{version}-%{release}
54 EWL header files and test programs.
56 %description devel -l pl
57 Pliki nag³ówkowe i programy testowe dla biblioteki EWL.
60 Summary: Static EWL library
61 Summary(pl): Statyczna biblioteka EWL
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
68 %description static -l pl
69 Statyczna biblioteka EWL.
82 %{!?with_static_libs:--disable-static}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
94 %post libs -p /sbin/ldconfig
95 %postun libs -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING* NEWS README TODO
100 %attr(755,root,root) %{_bindir}/ewl_test
101 %attr(755,root,root) %{_bindir}/ewl_*_test
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/libewl.so.*.*.*
107 %dir %{_libdir}/%{name}
108 %dir %{_libdir}/%{name}/tests
109 %attr(755,root,root) %{_libdir}/%{name}/tests/ewl_*.so
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/ewl-config
114 %attr(755,root,root) %{_libdir}/libewl.so
116 %dir %{_includedir}/ewl
117 %{_includedir}/ewl/Ewl.h
118 %{_includedir}/ewl/ewl_*.h
119 %{_pkgconfigdir}/ewl.pc
120 %{_aclocaldir}/ewl.m4
122 %if %{with static_libs}
124 %defattr(644,root,root,755)