]> git.pld-linux.org Git - packages/babl.git/blob - babl.spec
f7c578ed87b5143497124d12498e3f302e1a8286
[packages/babl.git] / babl.spec
1 #
2 Summary:        Library for pixel-format agnosticism
3 Name:           babl
4 Version:        0.0.14
5 Release:        1
6 License:        GPL 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
13 BuildRequires:  automake
14 BuildRequires:  glib2-devel
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 %package devel
24 Summary:        Header files for babl library
25 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki babl
26 Group:          Development/Libraries
27 # if base package contains shared library for which these headers are
28 #Requires:      %{name} = %{version}-%{release}
29 # if -libs package contains shared library for which these headers are
30 #Requires:      %{name}-libs = %{version}-%{release}
31
32 %description devel
33 Header files for babl library.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki babl.
37
38 %package static
39 Summary:        Static babl library
40 Summary(pl.UTF-8):      Statyczna biblioteka babl
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static babl library.
46
47 %description static -l pl.UTF-8
48 Statyczna biblioteka babl.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
This page took 0.041697 seconds and 2 git commands to generate.