]>
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 |
ce915584 | 4 | Version: 0.1.4 |
afa57aa4 | 5 | Release: 1 |
84fad386 | 6 | License: LGPL v3+ |
c5542464 | 7 | Group: Libraries |
ce915584 | 8 | Source0: ftp://ftp.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 1deaf8188b200b10d98a343a7e712b2b | |
afa57aa4 | 10 | Patch0: %{name}-as-needed.patch |
11 | URL: http://www.gegl.org/babl/ | |
9a2c082b | 12 | BuildRequires: autoconf >= 2.54 |
afa57aa4 | 13 | BuildRequires: automake |
35584e15 | 14 | BuildRequires: gobject-introspection-devel >= 0.6.8 |
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 | |
57 | ||
58 | %build | |
9a2c082b | 59 | %{__libtoolize} |
afa57aa4 | 60 | %{__aclocal} |
61 | %{__autoconf} | |
9a2c082b | 62 | %{__autoheader} |
afa57aa4 | 63 | %{__automake} |
9a2c082b | 64 | %configure \ |
067734f3 | 65 | --disable-silent-rules \ |
9a2c082b | 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 | ||
067734f3 JB |
75 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/babl-0.1/*.{la,a} |
76 | ||
afa57aa4 | 77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post -p /sbin/ldconfig | |
81 | %postun -p /sbin/ldconfig | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
35584e15 | 85 | %doc AUTHORS ChangeLog NEWS README TODO |
44d1c6ca AM |
86 | %attr(755,root,root) %{_libdir}/libbabl-0.1.so.*.*.* |
87 | %attr(755,root,root) %ghost %{_libdir}/libbabl-0.1.so.0 | |
88 | %dir %{_libdir}/babl-0.1 | |
35584e15 JB |
89 | %attr(755,root,root) %{_libdir}/babl-0.1/*.so |
90 | %{_libdir}/girepository-1.0/Babl-0.1.typelib | |
9a2c082b JB |
91 | |
92 | %files devel | |
93 | %defattr(644,root,root,755) | |
94 | %doc docs/{*.html,*.css} | |
44d1c6ca AM |
95 | %attr(755,root,root) %{_libdir}/libbabl-0.1.so |
96 | %{_libdir}/libbabl-0.1.la | |
97 | %{_includedir}/babl-0.1 | |
35584e15 | 98 | %{_datadir}/gir-1.0/Babl-0.1.gir |
9a2c082b JB |
99 | %{_pkgconfigdir}/babl.pc |
100 | ||
101 | %files static | |
102 | %defattr(644,root,root,755) | |
44d1c6ca | 103 | %{_libdir}/libbabl-0.1.a |