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