]>
Commit | Line | Data |
---|---|---|
1 | Summary: Library for pixel-format agnosticism | |
2 | Summary(pl.UTF-8): Biblioteka niezależności od formatu piksela | |
3 | Name: babl | |
4 | Version: 0.0.14 | |
5 | Release: 1 | |
6 | License: LGPL v2 | |
7 | Group: Applications | |
8 | Source0: ftp://ftp.gtk.org/pub/babl/0.0/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: c8274d0a2686f7f59e979313bd8e78fe | |
10 | Patch0: %{name}-as-needed.patch | |
11 | URL: http://www.gegl.org/babl/ | |
12 | BuildRequires: autoconf >= 2.54 | |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Babl is a dynamic, any to any, pixel format conversion library. It | |
19 | provides conversions between the myriad of buffer types images can be | |
20 | stored in. Babl doesn't only help with existing pixel formats, but | |
21 | also facilitates creation of new and uncommon ones. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Babl to biblioteka dynamicznych przekształceń między dowolnymi | |
25 | formatami pikseli. Udostępnia konwersje między wieloma różnymi typami | |
26 | buforów obrazów. Babl nie tylko pomaga przy istniejących formatach | |
27 | pikseli, ale także ułatwia tworzenie nowych i niestandardowych. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for babl library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki babl | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | ||
35 | %description devel | |
36 | Header files for babl library. | |
37 | ||
38 | %description devel -l pl.UTF-8 | |
39 | Pliki nagłówkowe biblioteki babl. | |
40 | ||
41 | %package static | |
42 | Summary: Static babl library | |
43 | Summary(pl.UTF-8): Statyczna biblioteka babl | |
44 | Group: Development/Libraries | |
45 | Requires: %{name}-devel = %{version}-%{release} | |
46 | ||
47 | %description static | |
48 | Static babl library. | |
49 | ||
50 | %description static -l pl.UTF-8 | |
51 | Statyczna biblioteka babl. | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | %patch0 -p1 | |
56 | ||
57 | %build | |
58 | %{__libtoolize} | |
59 | %{__aclocal} | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %configure \ | |
64 | --enable-static | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS ChangeLog NEWS README | |
82 | %attr(755,root,root) %{_libdir}/libbabl-0.0.so.*.*.* | |
83 | %dir %{_libdir}/babl-0.0 | |
84 | %attr(755,root,root) %{_libdir}/babl-0.0/*.so | |
85 | ||
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %doc docs/{*.html,*.css} | |
89 | %attr(755,root,root) %{_libdir}/libbabl-0.0.so | |
90 | %{_libdir}/libbabl-0.0.la | |
91 | %{_includedir}/babl-0.0 | |
92 | %{_pkgconfigdir}/babl.pc | |
93 | ||
94 | %files static | |
95 | %defattr(644,root,root,755) | |
96 | %{_libdir}/libbabl-0.0.a |