New upstream 0.14.3
This commit is contained in:
parent
d8c7c14ec5
commit
812c5a24c3
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
LibRaw-0.9.1.tar.gz
|
||||
/LibRaw-0.11.3.tar.gz
|
||||
/LibRaw-0.14.3.tar.gz
|
||||
|
68
LibRaw.spec
68
LibRaw.spec
@ -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
|
||||
Name: LibRaw
|
||||
Version: 0.11.3
|
||||
Release: 3%{?dist}
|
||||
Version: 0.14.3
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2 or CDDL
|
||||
Group: Development/Libraries
|
||||
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
|
||||
|
||||
# Configuration support. Patch sent upstream
|
||||
Patch0: %{name}-0.11.3-configure.patch
|
||||
|
||||
%description
|
||||
LibRaw is a library for reading RAW files obtained from digital photo
|
||||
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.
|
||||
|
||||
%package devel
|
||||
Provides: LibRaw-static = %{version}-%{release}
|
||||
Summary: LibRaw development libraries
|
||||
Group: Development/Libraries
|
||||
#Requires: lcms-devel >= 1.0
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
LibRaw development libraries
|
||||
LibRaw development libraries.
|
||||
|
||||
This package contains static libraries that applications can use to build
|
||||
against LibRaw. LibRaw does not provide dynamic libraries.
|
||||
This package contains libraries that applications can use to build
|
||||
against LibRaw.
|
||||
|
||||
%package static
|
||||
Summary: LibRaw static development libraries
|
||||
Group: Development/Libraries
|
||||
|
||||
%description static
|
||||
LibRaw static development libraries.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .configure
|
||||
|
||||
%build
|
||||
# This is not the autotools generated configure script
|
||||
CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix}
|
||||
make %{?_smp_mflags} library
|
||||
%configure --enable-examples=no --enable-jasper --enable-lcms
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
cp -pr doc manual
|
||||
|
||||
# The source tree has these with execute permissions for some reason
|
||||
chmod 644 LICENSE.CDDL LICENSE.LGPL LICENSE.LibRaw.pdf
|
||||
chmod 644 LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
||||
chmod 644 manual/*.html
|
||||
|
||||
# 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
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
%doc LICENSE.CDDL LICENSE.LGPL COPYRIGHT Changelog.txt Changelog.rus
|
||||
%doc manual
|
||||
%doc samples
|
||||
|
||||
%dir %{_includedir}/libraw
|
||||
%{_includedir}/libraw/*.h
|
||||
%{_libdir}/libraw.a
|
||||
%{_libdir}/libraw_r.a
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%exclude %{_libdir}/*.la
|
||||
%exclude %{_docdir}/libraw/*
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user