New upstream 0.14.3

This commit is contained in:
Siddhesh Poyarekar 2011-11-16 14:05:35 +05:30
parent d8c7c14ec5
commit 812c5a24c3
3 changed files with 42 additions and 29 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
LibRaw-0.9.1.tar.gz LibRaw-0.9.1.tar.gz
/LibRaw-0.11.3.tar.gz /LibRaw-0.11.3.tar.gz
/LibRaw-0.14.3.tar.gz

View File

@ -1,23 +1,18 @@
# No point in trying to build a debuginfo package since
# the package only has static libraries and find-debuginfo.sh
# does not grok them
%global debug_package %{nil}
Summary: Library for reading RAW files obtained from digital photo cameras Summary: Library for reading RAW files obtained from digital photo cameras
Name: LibRaw Name: LibRaw
Version: 0.11.3 Version: 0.14.3
Release: 3%{?dist} Release: 1%{?dist}
License: LGPLv2 or CDDL License: LGPLv2 or CDDL
Group: Development/Libraries Group: Development/Libraries
URL: http://www.libraw.org URL: http://www.libraw.org
#BuildRequires: lcms-devel >= 1.0 BuildRequires: lcms-devel >= 1.0
BuildRequires: jasper-devel
Source0: http://www.libraw.org/data/%{name}-%{version}.tar.gz Source0: http://www.libraw.org/data/%{name}-%{version}.tar.gz
# Configuration support. Patch sent upstream
Patch0: %{name}-0.11.3-configure.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
cameras (CRW/CR2, NEF, RAF, DNG, and others). cameras (CRW/CR2, NEF, RAF, DNG, and others).
@ -26,49 +21,66 @@ LibRaw is based on the source codes of the dcraw utility, where part of
drawbacks have already been eliminated and part will be fixed in future. drawbacks have already been eliminated and part will be fixed in future.
%package devel %package devel
Provides: LibRaw-static = %{version}-%{release}
Summary: LibRaw development libraries Summary: LibRaw development libraries
Group: Development/Libraries Group: Development/Libraries
#Requires: lcms-devel >= 1.0 Requires: %{name} = %{version}-%{release}
%description devel %description devel
LibRaw development libraries LibRaw development libraries.
This package contains static libraries that applications can use to build This package contains libraries that applications can use to build
against LibRaw. LibRaw does not provide dynamic libraries. against LibRaw.
%package static
Summary: LibRaw static development libraries
Group: Development/Libraries
%description static
LibRaw static development libraries.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .configure
%build %build
# This is not the autotools generated configure script # This is not the autotools generated configure script
CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix} %configure --enable-examples=no --enable-jasper --enable-lcms
make %{?_smp_mflags} library make %{?_smp_mflags}
%install %install
cp -pr doc manual cp -pr doc manual
chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
# The source tree has these with execute permissions for some reason chmod 644 manual/*.html
chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
# The Libraries # The Libraries
make install-library DESTDIR=%{buildroot} LIBDIR=%{_lib} make install DESTDIR=%{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
%{_libdir}/*.so.*
%files static
%defattr(-,root,root,-)
%{_libdir}/*.a
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
%doc manual %doc manual
%doc samples %doc samples
%dir %{_includedir}/libraw %dir %{_includedir}/libraw
%{_includedir}/libraw/*.h %{_includedir}/libraw/*.h
%{_libdir}/libraw.a %{_libdir}/*.so
%{_libdir}/libraw_r.a %{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/*.la
%exclude %{_docdir}/libraw/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog %changelog
* Wed Nov 16 2011 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> - 0.14.3-1
- Rebase to upstream 0.14.3
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
16d1113166979f4f9e133e350e9e5872 LibRaw-0.11.3.tar.gz d8f81a52b0fada9d5bf7e659e21e3a57 LibRaw-0.14.3.tar.gz