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

Revision 4105, 3.2 KB checked in by kudoh, 13 years ago (diff)
RevLine 
[1343]1Summary: Library for reading RAW files obtained from digital photo cameras
2Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
3Name: LibRaw
[4055]4Version: 0.13.5
[4105]5Release: 3%{?_dist_release}
[2344]6License: LGPLv2 or CDDL or LibRaw Software License
[1343]7Group: System Environment/Libraries
8URL: http://www.libraw.org
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
[4055]10BuildRequires: gcc libtool make
[4105]11BuildRequires: lcms-devel
[1343]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
[2344]26License: LGPLv2 or CDDL o LibRaw Software License
[4055]27
[1343]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
[4055]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
[1343]45%prep
46%setup -q -n %{name}-%{version}
47
48%build
49# This is not the autotools generated configure script
[4055]50CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \
51 --disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
[4105]52 --enable-static=no --enable-shared=no --enable-lcms
[4055]53make %{?_smp_mflags}
[1343]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
[4055]63#make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
64%makeinstall
[1343]65
[4055]66rm -rf %{buildroot}%{_libdir}/*.la
67
[1343]68%files devel
69%defattr(-,root,root,-)
70
[4055]71%doc Changelog.rus
72%doc manual samples
[1343]73
[4055]74%{_docdir}/libraw/
[1343]75%dir %{_includedir}/libraw
76%{_includedir}/libraw/*.h
[4055]77%{_libdir}/pkgconfig/*.pc
78
79%files static
80%defattr(-,root,root,-)
[1343]81%{_libdir}/libraw.a
82%{_libdir}/libraw_r.a
83
84%changelog
[4105]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
[4055]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
[2344]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
[1938]108* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
109- new upstream release
110
[1343]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.