]> git.pld-linux.org Git - packages/imlib2.git/blob - imlib2.spec
up to 1.7.1
[packages/imlib2.git] / imlib2.spec
1 Summary:        Powerful image loading and rendering library
2 Summary(pl.UTF-8):      Potężna biblioteka wczytująca i renderująca obrazki
3 Name:           imlib2
4 Version:        1.7.1
5 Release:        1
6 License:        BSD-like
7 Group:          X11/Libraries
8 Source0:        http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2
9 # Source0-md5:  98569de9b10bcb6fd5d13e4d331ddd81
10 URL:            https://docs.enlightenment.org/api/imlib2/html/
11 BuildRequires:  autoconf >= 2.52
12 BuildRequires:  automake >= 1.6
13 BuildRequires:  bzip2-devel
14 BuildRequires:  freetype-devel >= 2.1
15 BuildRequires:  giflib-devel
16 BuildRequires:  libid3tag-devel
17 BuildRequires:  libjpeg-devel >= 6b-18
18 BuildRequires:  libpng-devel >= 1.0.8
19 BuildRequires:  libtiff-devel
20 BuildRequires:  libtool
21 BuildRequires:  libwebp-devel
22 BuildRequires:  libxcb-devel >= 1.9
23 BuildRequires:  pkgconfig
24 BuildRequires:  xorg-lib-libX11-devel
25 BuildRequires:  xorg-lib-libXext-devel
26 BuildRequires:  zlib-devel
27 Requires:       freetype >= 2.1
28 Requires:       libjpeg >= 6b-18
29 Requires:       libpng >= 1.0.8
30 Requires:       libxcb >= 1.9
31 Obsoletes:      libimlib2_1
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Imlib2 is an advanced replacement library for libraries like libXpm
36 that provides many more features with much greater flexibility and
37 speed than standard libraries, including font rasterization, rotation,
38 RGBA space rendering and blending, dynamic binary filters, scripting,
39 and more.
40
41 %description -l pl.UTF-8
42 Imlib2 jest zaawansowaną biblioteką, zamiennikiem takich bibliotek jak
43 libXpm. Imlib2 dostarcza o wiele więcej możliwości przy dużo większej
44 szybkości niż standardowe biblioteki (włączając w to rasteryzację
45 fontów, obracanie, renderowanie przestrzeni RGBA, mieszanie,
46 dynamiczne filtry (w postaci binarnej), obsługa języka skryptowego i
47 wiele więcej.
48
49 %package devel
50 Summary:        Imlib2 header files and development documentation
51 Summary(fr.UTF-8):      Fichiers entête pour Imlib2
52 Summary(pl.UTF-8):      Pliki nagłówkowe oraz dokumentacja do imlib2
53 Group:          X11/Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       freetype-devel
56 Requires:       libltdl-devel
57 Requires:       xorg-lib-libXext-devel
58 Obsoletes:      libimlib2_1-devel
59
60 %description devel
61 Header files and development documentation for Imlib2.
62
63 %description devel -l fr.UTF-8
64 Fichiers entête pour Imlib2.
65
66 %description devel -l pl.UTF-8
67 Pliki nagłówkowe oraz dokumentacja do biblioteki Imlib2.
68
69 %package static
70 Summary:        Imlib2 static library
71 Summary(pl.UTF-8):      Biblioteka statyczna imlib2
72 Group:          X11/Development/Libraries
73 Requires:       %{name}-devel = %{version}-%{release}
74
75 %description static
76 Imlib2 static library.
77
78 %description static -l pl.UTF-8
79 Biblioteka statyczna imlib2.
80
81 %prep
82 %setup -q
83
84 %build
85 %{__libtoolize}
86 %{__aclocal}
87 %{__autoconf}
88 %{__autoheader}
89 %{__automake}
90 %configure \
91         --disable-silent-rules \
92 %ifarch i586 i686 pentium3 pentium4 athlon
93         --enable-mmx
94 %else
95         --disable-mmx
96 %endif
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 # not needed
107 %{__rm} $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files
116 %defattr(644,root,root,755)
117 %doc AUTHORS COPYING COPYING-PLAIN ChangeLog README
118 %attr(755,root,root) %{_bindir}/imlib2_*
119 %attr(755,root,root) %{_libdir}/libImlib2.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libImlib2.so.1
121 %dir %{_libdir}/imlib2
122 %dir %{_libdir}/imlib2/filters
123 %attr(755,root,root) %{_libdir}/imlib2/filters/*.so
124 %dir %{_libdir}/imlib2/loaders
125 %attr(755,root,root) %{_libdir}/imlib2/loaders/*.so
126 %{_datadir}/imlib2
127
128 %files devel
129 %defattr(644,root,root,755)
130 %doc doc/{*.gif,*.html}
131 %attr(755,root,root) %{_bindir}/imlib2-config
132 %attr(755,root,root) %{_libdir}/libImlib2.so
133 %{_libdir}/libImlib2.la
134 %{_includedir}/Imlib2.h
135 %{_pkgconfigdir}/imlib2.pc
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/libImlib2.a
This page took 0.085825 seconds and 3 git commands to generate.