]> git.pld-linux.org Git - packages/ewl.git/blob - ewl.spec
- cleanups
[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 Release:        1
10 License:        BSD
11 Group:          Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  29bc8aec80b53480c2ea53aea1796e15
14 URL:            http://enlightenment.org/Libraries/Ewl/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  edje
18 BuildRequires:  edje-devel
19 BuildRequires:  emotion-devel
20 BuildRequires:  libtool
21 Requires:       %{name}-libs = %{version}-%{release}
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %undefine       __cxx
25
26 %description
27 EWL is a widget library which uses the E Foundation Libraries (EFL).
28
29 %description -l pl
30 EWL to biblioteka widgetów u¿ywaj±ca EFL (E Foundation Libraries -
31 podstawowych bibliotek Englightenmenta).
32
33 %package libs
34 Summary:        EWL library
35 Summary(pl):    Biblioteka EWL
36 Group:          Libraries
37
38 %description libs
39 EWL library.
40
41 %description libs -l pl
42 Biblioteka EWL.
43
44 %package devel
45 Summary:        EWL header files and test programs
46 Summary(pl):    Pliki nag³ówkowe i programy testowe dla biblioteki EWL
47 Group:          Development/Libraries
48 Requires:       %{name}-libs = %{version}-%{release}
49
50 %description devel
51 EWL header files and test programs.
52
53 %description devel -l pl
54 Pliki nag³ówkowe i programy testowe dla biblioteki EWL.
55
56 %package static
57 Summary:        Static EWL library
58 Summary(pl):    Statyczna biblioteka EWL
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static EWL library.
64
65 %description static -l pl
66 Statyczna biblioteka EWL.
67
68 %prep
69 %setup -q
70
71 %build
72 %configure \
73         %{!?with_static_libs:--disable-static}
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post   libs -p /sbin/ldconfig
86 %postun libs -p /sbin/ldconfig
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS COPYING* NEWS README TODO
91 %attr(755,root,root) %{_bindir}/ewl_test
92 %attr(755,root,root) %{_bindir}/ewl_*_test
93 %{_datadir}/%{name}
94
95 %files libs
96 %defattr(644,root,root,755)
97 %attr(755,root,root) %{_libdir}/libewl.so.*.*.*
98 %dir %{_libdir}/%{name}
99 %dir %{_libdir}/%{name}/tests
100 %attr(755,root,root) %{_libdir}/%{name}/tests/ewl_*.so
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_bindir}/ewl-config
105 %attr(755,root,root) %{_libdir}/libewl.so
106 %{_libdir}/libewl.la
107 %dir %{_includedir}/ewl
108 %{_includedir}/ewl/Ewl.h
109 %{_includedir}/ewl/ewl_*.h
110 %{_pkgconfigdir}/ewl.pc
111 %{_aclocaldir}/ewl.m4
112
113 %if %{with static_libs}
114 %files static
115 %defattr(644,root,root,755)
116 %{_libdir}/libewl.a
117 %endif
This page took 0.42604 seconds and 4 git commands to generate.