fcb873
Summary:	Decode camera RAW files
fcb873
Name:		libopenraw
fcb873
Version:	0.1.3
fcb873
Release:	11%{?dist}
fcb873
License:	LGPLv3+
fcb873
URL:		http://libopenraw.freedesktop.org/wiki
fcb873
Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.bz2
fcb873
fcb873
BuildRequires:  boost-devel
fcb873
BuildRequires:  gcc-c++
fcb873
BuildRequires:  libjpeg-devel
fcb873
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
fcb873
BuildRequires:  pkgconfig(glib-2.0)
fcb873
BuildRequires:  pkgconfig(libcurl)
fcb873
BuildRequires:  pkgconfig(libxml-2.0) >= 2.5.0
fcb873
BuildRequires: make
fcb873
fcb873
%description
fcb873
libopenraw is an ongoing project to provide a free software
fcb873
implementation for camera RAW files decoding. One of the main reason is
fcb873
that dcraw is not suited for easy integration into applications, and
fcb873
there is a need for an easy to use API to build free software digital
fcb873
image processing application.
fcb873
fcb873
%package gnome
fcb873
Summary:	GUI components of %{name}
fcb873
Requires:	%{name}%{?_isa} = %{version}-%{release}
fcb873
fcb873
%description gnome 
fcb873
The %{name}-gnome package contains gui components of %{name}.
fcb873
fcb873
%package devel
fcb873
Summary:	Development files for %{name}
fcb873
Requires:	%{name}%{?_isa} = %{version}-%{release}
fcb873
fcb873
%description devel
fcb873
The %{name}-devel package contains libraries and header files for
fcb873
developing applications that use %{name}.
fcb873
fcb873
%package gnome-devel
fcb873
Summary:	Development files for %{name}-gnome
fcb873
Requires:	%{name}-gnome%{?_isa} = %{version}-%{release}
fcb873
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
fcb873
fcb873
%description    gnome-devel
fcb873
The %{name}-gnome-devel package contains libraries and header files for
fcb873
developing applications that use %{name}-gnome.
fcb873
fcb873
%package pixbuf-loader
fcb873
Summary:	RAW image loader for GTK+ applications
fcb873
fcb873
Requires:	gtk2
fcb873
Requires:	%{name}%{?_isa} = %{version}-%{release}
fcb873
fcb873
%description pixbuf-loader
fcb873
%{name}-pixbuf-loader contains a plugin to load RAW images, as created by
fcb873
digital cameras, in GTK+ applications.
fcb873
fcb873
%prep
fcb873
%autosetup
fcb873
fcb873
%build
fcb873
%configure --disable-static --enable-gnome --disable-silent-rules
fcb873
fcb873
# Omit unused direct shared library dependencies.
fcb873
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
fcb873
fcb873
%{make_build}
fcb873
fcb873
%check
fcb873
make check
fcb873
fcb873
%install
fcb873
%make_install
fcb873
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
fcb873
fcb873
%ldconfig_scriptlets
fcb873
fcb873
%ldconfig_scriptlets gnome
fcb873
fcb873
fcb873
%files
fcb873
%license COPYING
fcb873
%doc AUTHORS ChangeLog NEWS README TODO
fcb873
%{_libdir}/%{name}.so.*
fcb873
fcb873
%files gnome
fcb873
%{_libdir}/%{name}gnome.so.*
fcb873
fcb873
%files devel
fcb873
%{_libdir}/%{name}.so
fcb873
%{_libdir}/pkgconfig/%{name}-0.1.pc
fcb873
fcb873
%dir %{_includedir}/%{name}-0.1
fcb873
%{_includedir}/%{name}-0.1/%{name}/*.h
fcb873
fcb873
%files gnome-devel
fcb873
%{_libdir}/%{name}gnome.so
fcb873
%{_libdir}/pkgconfig/%{name}-gnome-0.1.pc
fcb873
fcb873
%dir %{_includedir}/%{name}-0.1/%{name}-gnome
fcb873
%{_includedir}/%{name}-0.1/%{name}-gnome/gdkpixbuf.h
fcb873
fcb873
%files pixbuf-loader
fcb873
%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.so
fcb873
fcb873
%changelog
fcb873
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.3-11
fcb873
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
fcb873
  Related: rhbz#1991688
fcb873
fcb873
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1.3-10
fcb873
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
fcb873
fcb873
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-9
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fcb873
fcb873
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-8
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fcb873
fcb873
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-7
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
fcb873
fcb873
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-6
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fcb873
fcb873
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-5
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fcb873
fcb873
* Sun Jul 15 2018 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.3-4
fcb873
- Added gcc-c++ to BuildRequires as per https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
fcb873
fcb873
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fcb873
fcb873
* Wed Jul 04 2018 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.3-2
fcb873
- Removed ldconfig scriptlets as per
fcb873
  https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
fcb873
fcb873
* Fri May  4 2018 Peter Robinson <pbrobinson@fedoraproject.org> 0.1.3-1
fcb873
- Updated to 0.1.3
fcb873
fcb873
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fcb873
fcb873
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-3
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
fcb873
fcb873
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
fcb873
fcb873
* Mon May 22 2017 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.2-1
fcb873
- Updated to 0.1.2
fcb873
fcb873
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
fcb873
fcb873
* Mon Mar 27 2017 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.1-1
fcb873
- Updated to 0.1.1
fcb873
- Dropped gdk-pixbuf loaders scriptlet
fcb873
fcb873
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-4
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
fcb873
fcb873
* Sat Jan 28 2017 Jonathan Wakely <jwakely@redhat.com> - 0.1.0-3
fcb873
- Rebuilt for Boost 1.63
fcb873
fcb873
* Tue Nov 29 2016 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.0-2
fcb873
- Fixed %%{?_isa} usage
fcb873
fcb873
* Tue Nov 29 2016 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.0-1
fcb873
- Updated to 0.1.0
fcb873
- Dropped upstreamed patches
fcb873
- Cleaned up and modernised the .spec file
fcb873
fcb873
* Wed Jun 29 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 0.0.9-18
fcb873
- Fix crash in GdkPixbuf loader (#1279152)
fcb873
fcb873
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.9-17
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fcb873
fcb873
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 0.0.9-16
fcb873
- Rebuilt for Boost 1.60
fcb873
fcb873
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.0.9-15
fcb873
- Rebuilt for Boost 1.59
fcb873
fcb873
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-14
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
fcb873
fcb873
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.0.9-13
fcb873
- rebuild for Boost 1.58
fcb873
fcb873
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-12
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fcb873
fcb873
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.0.9-11
fcb873
- Rebuilt for GCC 5 C++11 ABI change
fcb873
fcb873
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.0.9-10
fcb873
- Rebuild for boost 1.57.0
fcb873
fcb873
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-9
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fcb873
fcb873
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-8
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fcb873
fcb873
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.0.9-7
fcb873
- Rebuild for boost 1.55.0
fcb873
fcb873
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-6
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fcb873
fcb873
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.0.9-5
fcb873
- Rebuild for boost 1.54.0
fcb873
fcb873
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-4
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fcb873
fcb873
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 0.0.9-3
fcb873
- rebuild due to "jpeg8-ABI" feature drop
fcb873
fcb873
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.0.9-2
fcb873
- rebuild against new libjpeg
fcb873
fcb873
* Sun Sep 30 2012 Julian Sikorski <belegdol@fedoraproject.org> - 0.0.9-1
fcb873
- Updated to 0.0.9
fcb873
- Dropped obsolete Group, Buildroot, %%clean and %%defattr
fcb873
- Switched to .bz2 sources
fcb873
- Dropped included patches
fcb873
fcb873
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-8
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fcb873
fcb873
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-7
fcb873
- Rebuilt for c++ ABI breakage
fcb873
fcb873
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-6
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fcb873
fcb873
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-5
fcb873
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fcb873
fcb873
* Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-4
fcb873
- fix %%post and %%postun scripts and install directory for
fcb873
  pixbuf-loader
fcb873
fcb873
* Sun Oct 24 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-3
fcb873
- add upstream patch 22287584fbfa4657098ee997957a6c4fc972a53b to
fcb873
  properly decompress CFA from certain cameras (BZ 624283)
fcb873
fcb873
* Wed Sep 08 2010 Christian Krause <chkr@fedoraproject.org> - 0.0.8-2
fcb873
- add upstream patch 1b15acdcfdc4664bc6c0be473cb6e096071a4e62
fcb873
  to support certain PEF files and to fix a crash when opening
fcb873
  such files (BZ 606898)
fcb873
fcb873
* Sat Dec 05 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.0.8-1
fcb873
- Version bump to 0.0.8.
fcb873
  * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435)
fcb873
  * cfa output should write the data in PGM as big endian.
fcb873
  * Better handling of Canon CR2 "slices" to fix crasher with Canon
fcb873
    450D/Digital Rebel XSi files (and possibly others).
fcb873
  * Added new API or_rawfile_new_from_memory() to load a Raw file from a
fcb873
    memory buffer.
fcb873
  * Added new API or_rawfile_get_typeid() and the associated consts.
fcb873
  * Added new API or_rawdata_get_minmax().
fcb873
  * Added new API or_get_file_extensions().
fcb873
  * Added new API or_rawfile_get_rendered_image() to get a rendered image.
fcb873
  * Added new API or_bitmapdata_*().
fcb873
  * New GdkPixbuf loader.
fcb873
  * Decompress NEF files.
fcb873
- License changed to LGPLv3 or later.
fcb873
- Missing includes fixed by upstream.
fcb873
- Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires:
fcb873
  exempi-devel libcurl-devel'.
fcb873
- Added 'Requires: gtk2' to pixbuf-loader for directory ownership.
fcb873
- Added a %%check stanza.
fcb873
fcb873
* Fri Jul 24 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-4
fcb873
- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fcb873
fcb873
* Wed Feb 25 2009 Caolán McNamara <caolanm@redhat.com> - 0.0.5-3
fcb873
- add stdio.h for fopen and friends
fcb873
fcb873
* Wed Feb 25 2009 Release Engineering <rel-eng@fedoraproject.org> - 0.0.5-2
fcb873
- Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fcb873
fcb873
* Tue Mar 04 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.5-1
fcb873
- New upstream version.
fcb873
fcb873
* Wed Feb 20 2008 Release Engineering <rel-eng@fedoraproject.org> - 0.0.4-3
fcb873
- Autorebuild for GCC 4.3
fcb873
fcb873
* Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-2
fcb873
- Added missing dependency on libxml
fcb873
fcb873
* Wed Jan 30 2008 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.4-1
fcb873
- New upstream version.
fcb873
fcb873
* Fri Dec 28 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.3-1
fcb873
- New upstream version.
fcb873
- Updated license tag.
fcb873
- Fixed rpath error.
fcb873
fcb873
* Thu May 03 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-5
fcb873
- Added unowned directory to list of files.
fcb873
- Changed license from GPL to LGPL.
fcb873
fcb873
* Wed May 02 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-4
fcb873
- Moved gui components to a separate package.
fcb873
fcb873
* Tue May 01 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-3
fcb873
- Added missing BuildRequirement.
fcb873
fcb873
* Mon Apr 30 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-2
fcb873
- Added missing BuildRequirement.
fcb873
fcb873
* Sun Apr 29 2007 Trond Danielsen <trond.danielsen@gmail.com> - 0.0.2-1
fcb873
- Inital version.