source: projects/specs/branches/6/L/LibRaw/LibRaw-vl.spec @ 4105

Revision 4105, 3.2 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.13.5
5Release: 3%{?_dist_release}
6License: LGPLv2 or CDDL or LibRaw Software License
7Group: System Environment/Libraries
8URL: http://www.libraw.org
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10BuildRequires: gcc libtool make
11BuildRequires: lcms-devel
12
13Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
14
15%description
16LibRaw is a library for reading RAW files obtained from digital photo
17cameras (CRW/CR2, NEF, RAF, DNG, and others).
18
19LibRaw is based on the source codes of the dcraw utility, where part of
20drawbacks have already been eliminated and part will be fixed in future.
21
22%package devel
23Summary: LibRaw development libraries
24Summary(ja): LibRaw の開発ライブラリ
25Group: Development/Libraries
26License: LGPLv2 or CDDL o LibRaw Software License
27
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%package static
35Summary: LibRaw static libraries
36Summary(ja): LibRaw の静的ライブラリ
37Group: Development/Libraries
38License: LGPLv2 or CDDL o LibRaw Software License
39
40Requires: %{name}-devel = %{version}-%{release}
41
42%description static
43This package contains the static library for %{name}.
44
45%prep
46%setup -q -n %{name}-%{version}
47
48%build
49# This is not the autotools generated configure script
50CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \
51 --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
52 --enable-static=no --enable-shared=no --enable-lcms
53make %{?_smp_mflags}
54
55%install
56rm -rf %{buildroot}
57cp -pr doc manual
58
59# The source tree has these with execute permissions for some reason
60chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
61
62# The Libraries
63#make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
64%makeinstall
65
66rm -rf %{buildroot}%{_libdir}/*.la
67
68%files devel
69%defattr(-,root,root,-)
70
71%doc Changelog.rus
72%doc manual samples
73
74%{_docdir}/libraw/
75%dir %{_includedir}/libraw
76%{_includedir}/libraw/*.h
77%{_libdir}/pkgconfig/*.pc
78
79%files static
80%defattr(-,root,root,-)
81%{_libdir}/libraw.a
82%{_libdir}/libraw_r.a
83
84%changelog
85* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
86- added BuildRequires: lcms-devel
87- added configure option --enable-lcms
88
89* Sun Jun 05 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-2
90- added BuildRequires: gcc libtool make
91- fixed %%install
92- deleted library archive
93- fixed %%doc in -devel package
94
95* Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-1
96- new upstream release
97- dropt Patch0
98- fixed configure option
99- fixed %%files
100- splitted -static package
101
102* Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
103- new upstream release
104- added License: LibRaw Software License
105- dropt patch1,2
106- replaced patch0 by Fedora development patch
107
108* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
109- new upstream release
110
111* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1
112- initial build for VineSeed
113
114* Fri Jun 04 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-1
115- New package
Note: See TracBrowser for help on using the repository browser.