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