libopenraw/libopenraw.spec

128 lines
3.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libopenraw (Version 0.0.5)
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://libopenraw.freedesktop.org/
Summary: A library to decode digtal camera RAW files
Name: libopenraw
Version: 0.0.5
Release: 8
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.bz2
Patch0: libopenraw-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libopenraw1 = %{version}-%{release}
BuildRequires: gcc-c++
BuildRequires: boost-devel >= 1.33.1
BuildRequires: libjpeg-devel
BuildRequires: gtk2-devel
BuildRequires: libxml2-devel >= 2.5.0
%description
libopenraw is a library that aim at decoding digital camera RAW files.
Authors:
--------
Hubert Figuiere <hub AT figuiere DOT net>
Bradly Broom
%package -n libopenraw1
License: LGPL v2.1 or later
Summary: A library to decode digtal camera RAW files
Group: Development/Libraries/C and C++
%description -n libopenraw1
libopenraw is a library that aim at decoding digital camera RAW files.
Authors:
--------
Hubert Figuiere <hub AT figuiere DOT net>
Bradly Broom
%package -n libopenraw-devel
License: LGPL v2.1 or later
Summary: A library to decode digtal camera RAW files
#include gdk-pixbuf/gdk-pixbuf.h
Requires: libopenraw1 = %{version} gtk2-devel
Group: Development/Libraries/C and C++
%description -n libopenraw-devel
libopenraw is a library that aim at decoding digital camera RAW files.
Authors:
--------
Hubert Figuiere <hub AT figuiere DOT net>
Bradly Broom
%prep
%setup -q
%patch0
%build
#autoreconf -si
%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
%post -n libopenraw1 -p /sbin/ldconfig
%postun -n libopenraw1 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files -n libopenraw1
%defattr(-,root,root)
%doc README TODO COPYING ChangeLog
%{_libdir}/*.so.*
%files -n libopenraw-devel
%defattr(-,root,root)
%{_libdir}/*.so
%dir %{_includedir}/libopenraw-1.0
%{_includedir}/libopenraw-1.0/*
%{_libdir}/pkgconfig/*.pc
%changelog
* Wed Feb 25 2009 coolo@suse.de
- update to compile against gcc 4.4
* 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.
* Wed Oct 22 2008 mrueckert@suse.de
- fix debug_packages_requires define
* Fri Aug 01 2008 ro@suse.de
- fix requires for debuginfo package
* Thu Apr 03 2008 hfiguiere@suse.de
- Initial checkin