]>
Commit | Line | Data |
---|---|---|
08b26dc7 | 1 | # |
2 | Summary: A library for decoding RAW images | |
b865330f | 3 | Summary(pl.UTF-8): Biblioteka dekodjąca obrazy w formacie RAW |
08b26dc7 | 4 | Name: libopenraw |
5 | Version: 0.0.2 | |
c2c2b2ca | 6 | Release: 0.2 |
7 | License: GPL v2.1 | |
08b26dc7 | 8 | Group: Applications |
9 | Source0: http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz | |
10 | # Source0-md5: eae40ecaa92f69d99b27ae3bad8aa8ae | |
11 | URL: http://libopenraw.freedesktop.org/ | |
c2c2b2ca | 12 | BuildRequires: glib-devel |
13 | BuildRequires: gtk+2-devel | |
14 | BuildRequires: libjpeg-devel | |
08b26dc7 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | libopenraw is an ongoing project to provide a free software | |
19 | implementation for camera RAW files decoding. One of the main reason | |
20 | is that [WWW]dcraw is not suited for easy integration into | |
21 | applications, and there is a need for an easy to use API to build free | |
22 | software digital image processing application. | |
23 | ||
b865330f | 24 | %description -l pl.UTF-8 |
25 | libopenraw jest projektem dostarczającym wolnodostępną | |
26 | implementację dekodera plików w formacie RAW obsługiwanych przez | |
27 | cyfrowe aparaty fotograficzne. Jednym z głównych powodów powstania | |
28 | tej biblioteki jest to, że [WWW]dcraw nie jest przystosowany do | |
29 | łatwej integracji z aplikacjami, a istnieje potrzeba stworzenia | |
30 | łatwego w użyciu API do budowy wolnodostępnej aplikacji | |
31 | przetwarzania cyfrowych obrazów. | |
32 | ||
08b26dc7 | 33 | %package devel |
34 | Summary: Header files for libopenraw library | |
b865330f | 35 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libopenraw |
08b26dc7 | 36 | Group: Development/Libraries |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Header files for libopenraw library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki libopenraw. | |
44 | ||
45 | %package static | |
46 | Summary: Static libopenraw library | |
47 | Summary(pl.UTF-8): Statyczna biblioteka libopenraw | |
48 | Group: Development/Libraries | |
49 | Requires: %{name}-devel = %{version}-%{release} | |
50 | ||
51 | %description static | |
52 | Static libopenraw library. | |
53 | ||
54 | %description static -l pl.UTF-8 | |
55 | Statyczna biblioteka libopenraw. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | ||
60 | %build | |
61 | %configure | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS ChangeLog NEWS README TODO | |
79 | %attr(755,root,root) %{_libdir}/*.so.* | |
80 | ||
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %{_libdir}/*.so | |
84 | %{_libdir}/*.la | |
85 | %{_pkgconfigdir}/*.pc | |
86 | %{_includedir}/* | |
87 | ||
88 | %files static | |
89 | %defattr(644,root,root,755) | |
90 | %{_libdir}/*.a |