]> git.pld-linux.org Git - packages/libopenraw.git/blob - libopenraw.spec
- added
[packages/libopenraw.git] / libopenraw.spec
1 #
2 Summary:        A library for decoding RAW images
3 Name:           libopenraw
4 Version:        0.0.2
5 Release:        1
6 License:        - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
7 Group:          Applications
8 Source0:        http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  eae40ecaa92f69d99b27ae3bad8aa8ae
10 URL:            http://libopenraw.freedesktop.org/
11 BuildRequires:  gcc-c++
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 libopenraw is an ongoing project to provide a free software
16 implementation for camera RAW files decoding. One of the main reason
17 is that [WWW]dcraw is not suited for easy integration into
18 applications, and there is a need for an easy to use API to build free
19 software digital image processing application.
20
21 %package devel
22 Summary:        Header files for libopenraw library
23 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libopenraw.
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}-%{release}
26
27 %description devel
28 Header files for libopenraw library.
29
30 %description devel -l pl.UTF-8
31 Pliki nagłówkowe biblioteki libopenraw.
32
33 %package static
34 Summary:        Static libopenraw library
35 Summary(pl.UTF-8):      Statyczna biblioteka libopenraw
36 Group:          Development/Libraries
37 Requires:       %{name}-devel = %{version}-%{release}
38
39 %description static
40 Static libopenraw library.
41
42 %description static -l pl.UTF-8
43 Statyczna biblioteka libopenraw.
44
45 %prep
46 %setup -q
47
48 %build
49 %configure
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post   -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
63
64 %files
65 %defattr(644,root,root,755)
66 %doc AUTHORS ChangeLog NEWS README TODO
67 %attr(755,root,root) %{_libdir}/*.so.*
68
69 %files devel
70 %defattr(644,root,root,755)
71 %{_libdir}/*.so
72 %{_libdir}/*.la
73 %{_pkgconfigdir}/*.pc
74 %{_includedir}/*
75
76 %files static
77 %defattr(644,root,root,755)
78 %{_libdir}/*.a
This page took 0.043049 seconds and 4 git commands to generate.