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