|
@@ -1,9 +1,9 @@
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
Summary: Library for reading RAW files obtained from digital photo cameras
|
|
Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
|
|
Summary(ja): デジタルカメラから取り込んだ RAW ファイルを読むためのライブラリ
|
|
Name: LibRaw
|
|
Name: LibRaw
|
|
-Version: 0.10.0
|
|
+Version: 0.11.3
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-License: LGPLv2 or CDDL
|
|
+License: LGPLv2 or CDDL or LibRaw Software License
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://www.libraw.org
|
|
URL: http://www.libraw.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
@@ -11,11 +11,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
|
|
Source0: http://www.libraw.org/data/LibRaw-%{version}.tar.gz
|
|
|
|
|
|
# Configuration support. Patch sent upstream
|
|
# Configuration support. Patch sent upstream
|
|
-Patch0: %{name}-0.9.1-configure.patch
|
|
+Patch0: %{name}-0.11.3-configure.patch
|
|
-# Use optflags for build
|
|
|
|
-Patch1: %{name}-0.9.1-configure-optflags.patch
|
|
|
|
-# Don't impose -O4 and -w
|
|
|
|
-Patch2: %{name}-0.9.1-configure-default-cflags.patch
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
LibRaw is a library for reading RAW files obtained from digital photo
|
|
LibRaw is a library for reading RAW files obtained from digital photo
|
|
@@ -28,7 +24,7 @@ drawbacks have already been eliminated and part will be fixed in future.
|
|
Summary: LibRaw development libraries
|
|
Summary: LibRaw development libraries
|
|
Summary(ja): LibRaw の開発ライブラリ
|
|
Summary(ja): LibRaw の開発ライブラリ
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
-
|
|
+License: LGPLv2 or CDDL o LibRaw Software License
|
|
%description devel
|
|
%description devel
|
|
LibRaw development libraries
|
|
LibRaw development libraries
|
|
|
|
|
|
@@ -39,13 +35,13 @@ against libraw. LibRaw does not provide dynamic libraries.
|
|
%setup -q -n %{name}-%{version}
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
%patch0 -p1 -b .configure
|
|
%patch0 -p1 -b .configure
|
|
-%patch1 -p1 -b .configure-optflags
|
|
+#%patch1 -p1 -b .configure-optflags
|
|
-%patch2 -p1 -b .configure-default-cflags
|
|
+#%patch2 -p1 -b .configure-default-cflags
|
|
|
|
|
|
%build
|
|
%build
|
|
# This is not the autotools generated configure script
|
|
# This is not the autotools generated configure script
|
|
CFLAGS="%{optflags}" sh configure -P %{_prefix}
|
|
CFLAGS="%{optflags}" sh configure -P %{_prefix}
|
|
-make %{?_smp_mflags}
|
|
+make %{?_smp_mflags} library
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
@@ -55,13 +51,14 @@ cp -pr doc manual
|
|
chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
|
|
|
|
|
# The Libraries
|
|
# The Libraries
|
|
-make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
|
|
+make install-library DESTDIR=%{buildroot} LIBDIR=%{_lib}
|
|
|
|
|
|
%files devel
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
%doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
|
%doc LICENSE.CDDL LICENSE.LibRaw.pdf LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
|
%doc manual
|
|
%doc manual
|
|
|
|
+%doc samples
|
|
|
|
|
|
%dir %{_includedir}/libraw
|
|
%dir %{_includedir}/libraw
|
|
%{_includedir}/libraw/*.h
|
|
%{_includedir}/libraw/*.h
|
|
@@ -69,6 +66,12 @@ make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
|
|
%{_libdir}/libraw_r.a
|
|
%{_libdir}/libraw_r.a
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Dec 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- added License: LibRaw Software License
|
|
|
|
+- dropt patch1,2
|
|
|
|
+- replaced patch0 by Fedora development patch
|
|
|
|
+
|
|
* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
|
|
* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.10.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|