]> git.pld-linux.org Git - packages/ewl.git/blob - ewl.spec
- up to 0.0.4.007
[packages/ewl.git] / ewl.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Enlightenment Widget Library
6 Summary(pl):    Biblioteka widgetów Enlightenmenta (Enlightenment Widget Library)
7 Name:           ewl
8 Version:        0.0.4.007
9 #%define        _snap   20060312
10 Release:        1
11 #.%{_snap}.1
12 License:        BSD
13 Group:          Libraries
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
20 BuildRequires:  edje
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)
26
27 %undefine       __cxx
28
29 %description
30 EWL is a widget library which uses the E Foundation Libraries (EFL).
31
32 %description -l pl
33 EWL to biblioteka widgetów u¿ywaj±ca EFL (E Foundation Libraries -
34 podstawowych bibliotek Englightenmenta).
35
36 %package libs
37 Summary:        EWL library
38 Summary(pl):    Biblioteka EWL
39 Group:          Libraries
40
41 %description libs
42 EWL library.
43
44 %description libs -l pl
45 Biblioteka EWL.
46
47 %package devel
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}
52
53 %description devel
54 EWL header files and test programs.
55
56 %description devel -l pl
57 Pliki nag³ówkowe i programy testowe dla biblioteki EWL.
58
59 %package static
60 Summary:        Static EWL library
61 Summary(pl):    Statyczna biblioteka EWL
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}-%{release}
64
65 %description static
66 Static EWL library.
67
68 %description static -l pl
69 Statyczna biblioteka EWL.
70
71 %prep
72 %setup -q
73 # -n %{name}
74
75 %build
76 #%%{__libtoolize}
77 #%%{__aclocal} -I m4
78 #%%{__autoconf}
79 #%%{__autoheader}
80 #%%{__automake}
81 %configure \
82         %{!?with_static_libs:--disable-static}
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   libs -p /sbin/ldconfig
95 %postun libs -p /sbin/ldconfig
96
97 %files
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
102 %{_datadir}/%{name}
103
104 %files libs
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
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_bindir}/ewl-config
114 %attr(755,root,root) %{_libdir}/libewl.so
115 %{_libdir}/libewl.la
116 %dir %{_includedir}/ewl
117 %{_includedir}/ewl/Ewl.h
118 %{_includedir}/ewl/ewl_*.h
119 %{_pkgconfigdir}/ewl.pc
120 %{_aclocaldir}/ewl.m4
121
122 %if %{with static_libs}
123 %files static
124 %defattr(644,root,root,755)
125 %{_libdir}/libewl.a
126 %endif
This page took 0.059512 seconds and 4 git commands to generate.