]> git.pld-linux.org Git - packages/ewl.git/blob - ewl.spec
- proper URL
[packages/ewl.git] / ewl.spec
1 Summary:        Enlightenment Widget Library
2 Summary(pl):    Biblioteka widgetów Enlightenmenta (Enlightenment Widget Library)
3 Name:           ewl
4 Version:        0.0.4.004
5 Release:        1
6 License:        BSD
7 Group:          X11/Libraries
8 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  aed8f9eaf06ed5f0120d6f9ce2dc985c
10 URL:            http://enlightenment.org/Libraries/Ewl/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  edje-devel
14 BuildRequires:  emotion-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 EWL is a widget library which uses the E Foundation Libraries (EFL).
20
21 %description -l pl
22 EWL to biblioteka widgetów u¿ywaj±ca EFL (E Foundation Libraries -
23 podstawowych bibliotek Englightenmenta).
24
25 %package devel
26 Summary:        EWL header files and test programs
27 Summary(pl):    Pliki nag³ówkowe i programy testowe dla biblioteki EWL
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30
31 %description devel
32 EWL header files and test programs.
33
34 %description devel -l pl
35 Pliki nag³ówkowe i programy testowe dla biblioteki EWL.
36
37 %package static
38 Summary:        Static EWL library
39 Summary(pl):    Statyczna biblioteka EWL
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static EWL library.
45
46 %description static -l pl
47 Statyczna biblioteka EWL.
48
49 %prep
50 %setup -q
51 echo 'AC_DEFUN([AC_C___ATTRIBUTE__],
52  [
53   AC_MSG_CHECKING(for __attribute__)
54   AC_CACHE_VAL(ac_cv___attribute__, [
55   AC_TRY_COMPILE([#include <stdlib.h>],
56   [int func(int x); int foo(int x __attribute__ ((unused))) { exit(1); }],
57   ac_cv___attribute__=yes, ac_cv___attribute__=no)])
58   if test "$ac_cv___attribute__" = "yes"; then
59     AC_DEFINE(HAVE___ATTRIBUTE__, 1, [Define to 1 if compiler has __attribute__])
60   fi
61   AC_MSG_RESULT($ac_cv___attribute__)])' > acinclude.m4
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc AUTHORS COPYING* NEWS README TODO
87 %attr(755,root,root) %{_bindir}/ewl_edb_ed
88 %attr(755,root,root) %{_libdir}/libewl.so.*.*.*
89 %{_libdir}/libewl.la
90 %{_datadir}/%{name}
91
92 %files devel
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/ewl-config
95 %attr(755,root,root) %{_bindir}/ewl_test
96 %attr(755,root,root) %{_bindir}/ewl_embed_test
97 %attr(755,root,root) %{_bindir}/ewl_media_test
98 %attr(755,root,root) %{_bindir}/ewl_simple_test
99 %attr(755,root,root) %{_libdir}/libewl.so
100 %{_libdir}/libewl.la
101 %dir %{_includedir}/ewl
102 %{_includedir}/ewl/Ewl.h
103 %{_includedir}/ewl/ewl_*.h
104 %{_pkgconfigdir}/ewl.pc
105 %{_aclocaldir}/ewl.m4
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/libewl.a
This page took 0.064257 seconds and 4 git commands to generate.