]> git.pld-linux.org Git - packages/babl.git/blob - babl.spec
- package gi files
[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.4
5 Release:        1
6 License:        LGPL v3+
7 Group:          Libraries
8 Source0:        ftp://ftp.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
9 # Source0-md5:  1deaf8188b200b10d98a343a7e712b2b
10 Patch0:         %{name}-as-needed.patch
11 URL:            http://www.gegl.org/babl/
12 BuildRequires:  autoconf >= 2.54
13 BuildRequires:  automake
14 BuildRequires:  gobject-introspection-devel >= 0.6.8
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
58 %build
59 %{__libtoolize}
60 %{__aclocal}
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure \
65         --disable-silent-rules \
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 %{__rm} $RPM_BUILD_ROOT%{_libdir}/babl-0.1/*.{la,a}
76
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)
85 %doc AUTHORS ChangeLog NEWS README TODO
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
89 %attr(755,root,root) %{_libdir}/babl-0.1/*.so
90 %{_libdir}/girepository-1.0/Babl-0.1.typelib
91
92 %files devel
93 %defattr(644,root,root,755)
94 %doc docs/{*.html,*.css}
95 %attr(755,root,root) %{_libdir}/libbabl-0.1.so
96 %{_libdir}/libbabl-0.1.la
97 %{_includedir}/babl-0.1
98 %{_datadir}/gir-1.0/Babl-0.1.gir
99 %{_pkgconfigdir}/babl.pc
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libbabl-0.1.a
This page took 0.055664 seconds and 4 git commands to generate.