]> git.pld-linux.org Git - packages/imlib2_loaders.git/blob - imlib2_loaders.spec
- updated to 1.10.0
[packages/imlib2_loaders.git] / imlib2_loaders.spec
1 #
2 # Conditional build:
3 %bcond_with     eet     # eet images support
4
5 Summary:        Additional Loaders for Imlib2
6 Summary(pl.UTF-8):      Dodatkowe biblioteki wczytujące dla Imlib2
7 Name:           imlib2_loaders
8 Version:        1.10.0
9 Release:        1
10 License:        GPL v2+ (XCF loader), BSD-like (the rest)
11 Group:          Libraries
12 Source0:        https://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.xz
13 # Source0-md5:  71bea12aefbac970c33c7da69075bc36
14 URL:            https://www.enlightenment.org/
15 BuildRequires:  autoconf >= 2.52
16 BuildRequires:  automake >= 1.6
17 %{?with_eet:BuildRequires:      eet-devel >= 1.0.2}
18 BuildRequires:  imlib2-devel >= 1.10.0
19 BuildRequires:  libtool >= 2:2
20 BuildRequires:  pkgconfig
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires:       imlib2 >= 1.10.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This package contains additional image loaders for Imlib2 which for
28 some reason (such as license issues) are not distributed with Imlib2
29 directly.
30
31 %description -l pl.UTF-8
32 Ten pakiet zawiera dodatkowe biblioteki wczytujące obrazy dla Imlib2,
33 które z jakiegoś powodu (jak na przykład problemy licencyjne) nie są
34 rozprowadzane bezpośrednio z biblioteką Imlib2.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__libtoolize}
41 %{__aclocal} -I m4
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 %configure \
46         --disable-silent-rules \
47         --enable-eet%{!?with_eet:=no}
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %{__rm} $RPM_BUILD_ROOT%{_libdir}/imlib2/loaders/*.la
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS COPYING COPYING-PLAIN README
65 %if %{with eet}
66 %attr(755,root,root) %{_libdir}/imlib2/loaders/eet.so
67 %endif
68 %attr(755,root,root) %{_libdir}/imlib2/loaders/xcf.so
This page took 0.080848 seconds and 3 git commands to generate.