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