rpms/libopenraw/devel .cvsignore, 1.5, 1.6 libopenraw.spec, 1.10, 1.11 sources, 1.5, 1.6 libopenraw-0.0.5-includes.patch, 1.1, NONE

Debarshi Ray rishi at fedoraproject.org
Sun Dec 6 15:09:13 UTC 2009


Author: rishi

Update of /cvs/pkgs/rpms/libopenraw/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26825

Modified Files:
	.cvsignore libopenraw.spec sources 
Removed Files:
	libopenraw-0.0.5-includes.patch 
Log Message:
* Sat Dec 05 2009 Debarshi Ray <rishi at fedoraproject.org> - 0.0.8-1
- Version bump to 0.0.8.
  * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435)
  * cfa output should write the data in PGM as big endian.
  * Better handling of Canon CR2 "slices" to fix crasher with Canon
    450D/Digital Rebel XSi files (and possibly others).
  * Added new API or_rawfile_new_from_memory() to load a Raw file from a
    memory buffer.
  * Added new API or_rawfile_get_typeid() and the associated consts.
  * Added new API or_rawdata_get_minmax().
  * Added new API or_get_file_extensions().
  * Added new API or_rawfile_get_rendered_image() to get a rendered image.
  * Added new API or_bitmapdata_*().
  * New GdkPixbuf loader.
  * Decompress NEF files.
- License changed to LGPLv3 or later.
- Missing includes fixed by upstream.
- Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires:
  exempi-devel libcurl-devel'.
- Added 'Requires: gtk2' to pixbuf-loader for directory ownership.
- Added a %check stanza.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libopenraw/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore	4 Mar 2008 07:16:38 -0000	1.5
+++ .cvsignore	6 Dec 2009 15:09:12 -0000	1.6
@@ -1 +1 @@
-libopenraw-0.0.5.tar.gz
+libopenraw-0.0.8.tar.gz


Index: libopenraw.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libopenraw/devel/libopenraw.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- libopenraw.spec	25 Jul 2009 06:17:04 -0000	1.10
+++ libopenraw.spec	6 Dec 2009 15:09:12 -0000	1.11
@@ -1,22 +1,20 @@
-Name:           libopenraw
-Version:        0.0.5
-Release:        4%{?dist}
-Summary:        Decode camera RAW files
-
-Group:          System Environment/Libraries
-License:        LGPLv2+
-URL:            http://%{name}.freedesktop.org/wiki
-Source0:        http://%{name}.freedesktop.org/download/%{name}-%{version}.tar.gz
-Patch0:         libopenraw-0.0.5-includes.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  boost-devel
-BuildRequires:  libjpeg-devel
-BuildRequires:  glib2-devel
-BuildRequires:  gtk2-devel
-BuildRequires:  chrpath
-BuildRequires:  libxml2-devel
-
+Summary:	Decode camera RAW files
+Name:		libopenraw
+Version:	0.0.8
+Release:	1%{?dist}
+License:	LGPLv3+
+Group:		System Environment/Libraries
+URL:		http://libopenraw.freedesktop.org/wiki
+Source0:	http://libopenraw.freedesktop.org/download/%{name}-%{version}.tar.gz
+
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	boost-devel
+BuildRequires:	exempi-devel >= 1.99.5
+BuildRequires:	gtk2-devel
+BuildRequires:	libcurl-devel
+BuildRequires:	libjpeg-devel
+BuildRequires:	libxml2-devel
 
 %description
 libopenraw is an ongoing project to provide a free software
@@ -25,107 +23,160 @@ that dcraw is not suited for easy integr
 there is a need for an easy to use API to build free software digital
 image processing application.
 
+%package gnome
+Summary:	GUI components of %{name}
+Group:		System Environment/Libraries
 
-%package        gnome
-Summary:        GUI components of %{name}
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 
-%description    gnome 
+%description gnome 
 The %{name}-gnome package contains gui components of %{name}.
 
+%package devel
+Summary:	Development files for %{name}
+Group:		Development/Libraries
 
-%package        devel
-Summary:        Development files for %{name}
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
-Requires:       pkgconfig
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
 
-%description    devel
+%description devel
 The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
-
-%package        gnome-devel
-Summary:        Development files for %{name}-gnome
-Group:          Development/Libraries
-Requires:       %{name}-gnome = %{version}-%{release}
-Requires:       %{name}-devel = %{version}-%{release}
-Requires:       pkgconfig
+%package gnome-devel
+Summary:	Development files for %{name}-gnome
+Group:		Development/Libraries
+
+Requires:	%{name}-gnome = %{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	pkgconfig
 
 %description    gnome-devel
 The %{name}-gnome-devel package contains libraries and header files for
 developing applications that use %{name}-gnome.
 
+%package pixbuf-loader
+Summary:	RAW image loader for GTK+ applications
+Group:		System Environment/Libraries
+
+Requires:	gtk2
+Requires:	%{name} = %{version}-%{release}
+Requires(post):	gtk2
+Requires(postun): gtk2
+
+%description pixbuf-loader
+%{name}-pixbuf-loader contains a plugin to load RAW images, as created by
+digital cameras, in GTK+ applications.
 
 %prep
 %setup -q
-%patch0 -p1 -b .includes
-
 
 %build
-%configure --disable-static
+%configure --disable-static --enable-gnome
+
+# Omit unused direct shared library dependencies.
+sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
+
 make %{?_smp_mflags}
 
+%check
+make check
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-chrpath --delete $RPM_BUILD_ROOT/%{_libdir}/libopenrawgnome.so.1.4.0
+find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
 
+%postun -p /sbin/ldconfig
 
 %post gnome -p /sbin/ldconfig
+
 %postun gnome -p /sbin/ldconfig
 
+%post pixbuf-loader
+/usr/bin/update-gdk-pixbuf-loaders %{_target_platform}
+
+%postun pixbuf-loader
+if [ $1 = 0 ]; then 
+  /usr/bin/update-gdk-pixbuf-loaders %{_target_platform}
+fi
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README TODO 
+%doc AUTHORS
+%doc ChangeLog
+%doc COPYING
+%doc NEWS
+%doc README
+%doc TODO 
 %{_libdir}/%{name}.so.*
 
-
 %files gnome
 %defattr(-,root,root,-)
 %{_libdir}/%{name}gnome.so.*
 
-
 %files devel
 %defattr(-,root,root,-)
-%dir %{_includedir}/%{name}-1.0
-%{_includedir}/%{name}-1.0/%{name}
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/%{name}-1.0.pc
 
+%dir %{_includedir}/%{name}-1.0
+%{_includedir}/%{name}-1.0/%{name}/*.h
 
 %files gnome-devel
 %defattr(-,root,root,-)
-%{_includedir}/%{name}-1.0/%{name}-gnome
 %{_libdir}/%{name}gnome.so
 %{_libdir}/pkgconfig/%{name}-gnome-1.0.pc
 
+%dir %{_includedir}/%{name}-1.0/%{name}-gnome
+%{_includedir}/%{name}-1.0/%{name}-gnome/gdkpixbuf.h
+
+%files pixbuf-loader
+%defattr(-,root,root,-)
+%{_libdir}/gtk-2.0/2.10.0/loaders/%{name}_pixbuf.so
 
 %changelog
-* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.5-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+* Sat Dec 05 2009 Debarshi Ray <rishi at fedoraproject.org> - 0.0.8-1
+- Version bump to 0.0.8.
+  * Fixed a huge memory leak. (FreeDesktop Bugzilla #21435)
+  * cfa output should write the data in PGM as big endian.
+  * Better handling of Canon CR2 "slices" to fix crasher with Canon
+    450D/Digital Rebel XSi files (and possibly others).
+  * Added new API or_rawfile_new_from_memory() to load a Raw file from a
+    memory buffer.
+  * Added new API or_rawfile_get_typeid() and the associated consts.
+  * Added new API or_rawdata_get_minmax().
+  * Added new API or_get_file_extensions().
+  * Added new API or_rawfile_get_rendered_image() to get a rendered image.
+  * Added new API or_bitmapdata_*().
+  * New GdkPixbuf loader.
+  * Decompress NEF files.
+- License changed to LGPLv3 or later.
+- Missing includes fixed by upstream.
+- Replaced 'BuildRequires: chrpath glib2-devel' with 'BuildRequires:
+  exempi-devel libcurl-devel'.
+- Added 'Requires: gtk2' to pixbuf-loader for directory ownership.
+- Added a %%check stanza.
+
+* Fri Jul 24 2009 Release Engineering <rel-eng at fedoraproject.org> - 0.0.5-4
+- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
 * Wed Feb 25 2009 Caolán McNamara <caolanm at redhat.com> - 0.0.5-3
 - add stdio.h for fopen and friends
 
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.5-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+* Wed Feb 25 2009 Release Engineering <rel-eng at fedoraproject.org> - 0.0.5-2
+- Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Tue Mar 04 2008 Trond Danielsen <trond.danielsen at gmail.com> - 0.0.5-1
 - New upstream version.
 
-* Wed Feb 20 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.0.4-3
+* Wed Feb 20 2008 Release Engineering <rel-eng at fedoraproject.org> - 0.0.4-3
 - Autorebuild for GCC 4.3
 
 * Wed Jan 30 2008 Trond Danielsen <trond.danielsen at gmail.com> - 0.0.4-2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libopenraw/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sources	4 Mar 2008 07:16:38 -0000	1.5
+++ sources	6 Dec 2009 15:09:12 -0000	1.6
@@ -1 +1 @@
-90f9038cc6b47374ea1dd9aa347dfe5a  libopenraw-0.0.5.tar.gz
+fc26f146586a4b601326130bce6ffd88  libopenraw-0.0.8.tar.gz


--- libopenraw-0.0.5-includes.patch DELETED ---




More information about the fedora-extras-commits mailing list