|
@@ -1,14 +1,15 @@
|
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
|
Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
|
|
|
Name: LibRaw
|
|
|
-Version: 0.13.5
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Version: 0.14.3
|
|
|
+Release: 1%{?_dist_release}
|
|
|
License: LGPLv2 or CDDL or LibRaw Software License
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://www.libraw.org
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: gcc libtool make
|
|
|
BuildRequires: lcms-devel
|
|
|
+BuildRequires: jasper-devel
|
|
|
|
|
|
Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
|
|
|
|
|
@@ -49,15 +50,15 @@ This package contains the static library for %{name}.
|
|
|
# This is not the autotools generated configure script
|
|
|
CFLAGS="%{optflags}" sh configure --prefix=/usr --disable-examples \
|
|
|
--disable-demosaic-pack-gpl2 --disable-demosaic-pack-gpl3 \
|
|
|
- --enable-static=no --enable-shared=no --enable-lcms
|
|
|
+ --enable-lcms --enable-jasper
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
cp -pr doc manual
|
|
|
-
|
|
|
-# The source tree has these with execute permissions for some reason
|
|
|
-chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
+cp -pr doc manual
|
|
|
+chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
|
|
+chmod 644 manual/*.html
|
|
|
|
|
|
# The Libraries
|
|
|
#make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
|
|
@@ -65,23 +66,37 @@ chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
-%files devel
|
|
|
+%files
|
|
|
%defattr(-,root,root,-)
|
|
|
+%doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
|
|
+%{_libdir}/*.so.*
|
|
|
|
|
|
-%doc Changelog.rus
|
|
|
+%files devel
|
|
|
+%defattr(-,root,root,-)
|
|
|
%doc manual samples
|
|
|
-
|
|
|
-%{_docdir}/libraw/
|
|
|
+%exclude %{_docdir}/libraw/
|
|
|
%dir %{_includedir}/libraw
|
|
|
%{_includedir}/libraw/*.h
|
|
|
+%{_libdir}/*.so
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
+
|
|
|
%files static
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_libdir}/libraw.a
|
|
|
-%{_libdir}/libraw_r.a
|
|
|
+%{_libdir}/*.a
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Dec 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14.3-1
|
|
|
+- new upstream release
|
|
|
+- added BuildRequires: jasper-devel
|
|
|
+- fixed configure option
|
|
|
+ - deleted --enable-shared=no, --enable-static=no
|
|
|
+ - added --enable-jasper
|
|
|
+- fixed %%files in -devel
|
|
|
+- run ldconfig in %%post, %%postun
|
|
|
+
|
|
|
* Thu Jun 09 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.5-3
|
|
|
- added BuildRequires: lcms-devel
|
|
|
- added configure option --enable-lcms
|