diff --git a/libopenraw.changes b/libopenraw.changes index 092da15..bb809af 100644 --- a/libopenraw.changes +++ b/libopenraw.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 5 22:17:30 CET 2009 - crrodriguez@suse.de + +- exclude static libraries +- fix -devel package dependencies + ------------------------------------------------------------------- Fri Nov 21 14:24:11 EST 2008 - hfiguiere@suse.de diff --git a/libopenraw.spec b/libopenraw.spec index 4c90104..5df45e6 100644 --- a/libopenraw.spec +++ b/libopenraw.spec @@ -1,7 +1,7 @@ # # spec file for package libopenraw (Version 0.0.5) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary: A library to decode digtal camera RAW files Name: libopenraw Version: 0.0.5 -Release: 6 +Release: 7 License: LGPL v2.1 or later Group: Development/Libraries/C and C++ Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.bz2 @@ -33,7 +33,6 @@ BuildRequires: boost-devel >= 1.33.1 BuildRequires: libjpeg-devel BuildRequires: gtk2-devel BuildRequires: libxml2-devel >= 2.5.0 -%define prefix /usr %description libopenraw is a library that aim at decoding digital camera RAW files. @@ -63,7 +62,8 @@ Authors: %package -n libopenraw-devel License: LGPL v2.1 or later Summary: A library to decode digtal camera RAW files -Requires: libopenraw1 = %{version} +#include gdk-pixbuf/gdk-pixbuf.h +Requires: libopenraw1 = %{version} gtk2-devel Group: Development/Libraries/C and C++ %description -n libopenraw-devel @@ -81,13 +81,13 @@ Authors: %build #autoreconf -si -%configure -make %{?jobs:-j%jobs} +%configure --disable-static --with-pic +%{__make} %{?jobs:-j%jobs} #make %{?jobs:-j%jobs} check %install DESTDIR=$RPM_BUILD_ROOT make install -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la %post -n libopenraw1 -p /sbin/ldconfig @@ -104,12 +104,14 @@ rm -rf $RPM_BUILD_ROOT %files -n libopenraw-devel %defattr(-,root,root) %{_libdir}/*.so -%{_libdir}/*.a %dir %{_includedir}/libopenraw-1.0 %{_includedir}/libopenraw-1.0/* %{_libdir}/pkgconfig/*.pc %changelog +* Mon Jan 05 2009 crrodriguez@suse.de +- exclude static libraries +- fix -devel package dependencies * Fri Nov 21 2008 hfiguiere@suse.de - Disable make check in the mean time until the boost issue is solved. @@ -117,5 +119,5 @@ rm -rf $RPM_BUILD_ROOT - fix debug_packages_requires define * Fri Aug 01 2008 ro@suse.de - fix requires for debuginfo package -* Wed Apr 02 2008 hfiguiere@suse.de +* Thu Apr 03 2008 hfiguiere@suse.de - Initial checkin