source: projects/specs/trunk/L/LibRaw/LibRaw-vl.spec @ 2344

Revision 2344, 2.4 KB checked in by kudoh, 13 years ago (diff)
Line 
1Summary: Library for reading RAW files obtained from digital photo cameras
2Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
3Name: LibRaw
4Version: 0.11.3
5Release: 1%{?_dist_release}
6License: LGPLv2 or CDDL or LibRaw Software License
7Group: System Environment/Libraries
8URL: http://www.libraw.org
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10
11Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
12
13# Configuration support. Patch sent upstream
14Patch0: %{name}-0.11.3-configure.patch
15
16%description
17LibRaw is a library for reading RAW files obtained from digital photo
18cameras (CRW/CR2, NEF, RAF, DNG, and others).
19
20LibRaw is based on the source codes of the dcraw utility, where part of
21drawbacks have already been eliminated and part will be fixed in future.
22
23%package devel
24Summary: LibRaw development libraries
25Summary(ja): LibRaw の開発ライブラリ
26Group: Development/Libraries
27License: LGPLv2 or CDDL o LibRaw Software License
28%description devel
29LibRaw development libraries
30
31This package contains static libraries that applications can use to build
32against libraw. LibRaw does not provide dynamic libraries.
33
34%prep
35%setup -q -n %{name}-%{version}
36
37%patch0 -p1 -b .configure
38#%patch1 -p1 -b .configure-optflags
39#%patch2 -p1 -b .configure-default-cflags
40
41%build
42# This is not the autotools generated configure script
43CFLAGS="%{optflags}" sh configure -P %{_prefix}
44make %{?_smp_mflags} library
45
46%install
47rm -rf %{buildroot}
48cp -pr doc manual
49
50# The source tree has these with execute permissions for some reason
51chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
52
53# The Libraries
54make install-library DESTDIR=%{buildroot} LIBDIR=%{_lib}
55
56%files devel
57%defattr(-,root,root,-)
58
59%doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
60%doc manual
61%doc samples
62
63%dir %{_includedir}/libraw
64%{_includedir}/libraw/*.h
65%{_libdir}/libraw.a
66%{_libdir}/libraw_r.a
67
68%changelog
69* Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
70- new upstream release
71- added License: LibRaw Software License
72- dropt patch1,2
73- replaced patch0 by Fedora development patch
74
75* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
76- new upstream release
77
78* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
79- initial build for VineSeed
80
81* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
82- New package
Note: See TracBrowser for help on using the repository browser.