]> git.pld-linux.org Git - packages/babl.git/blob - babl.spec
- up to 0.1.0
[packages/babl.git] / babl.spec
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.1.0
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 Source0:        ftp://ftp.gtk.org/pub/babl/0.0/%{name}-%{version}.tar.bz2
9 # Source0-md5:  197133d84fe120ee66c8137dff1696e6
10 Patch0:         %{name}-as-needed.patch
11 Patch1:         %{name}-build.patch
12 URL:            http://www.gegl.org/babl/
13 BuildRequires:  autoconf >= 2.54
14 BuildRequires:  automake
15 BuildRequires:  libtool
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
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
30 %package devel
31 Summary:        Header files for babl library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki babl
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
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 %patch1 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --enable-static
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
84 %attr(755,root,root) %{_libdir}/libbabl-0.0.so.*.*.*
85 %attr(755,root,root) %ghost %{_libdir}/libbabl-0.0.so.0
86 %dir %{_libdir}/babl-0.0
87 %attr(755,root,root) %{_libdir}/babl-0.0/*.so*
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
This page took 0.078456 seconds and 3 git commands to generate.