2008-04-09 04:41:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package libopenraw (Version 0.0.5)
|
|
|
|
#
|
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# 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
|
2008-08-02 00:02:17 +02:00
|
|
|
Release: 4
|
2008-04-09 04:41:35 +02:00
|
|
|
License: LGPL v2.1 or later
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Source0: http://libopenraw.freedesktop.org/download/%name-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-08-02 00:02:17 +02:00
|
|
|
%define debug_package_requires libopenraw1 = %{version}
|
2008-04-09 04:41:35 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
Requires: libopenraw1 = %{version}
|
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
|
|
|
#autoreconf -si
|
|
|
|
%configure
|
|
|
|
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
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%dir %{_includedir}/libopenraw-1.0
|
|
|
|
%{_includedir}/libopenraw-1.0/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%changelog
|
2008-08-02 00:02:17 +02:00
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
- fix requires for debuginfo package
|
2008-04-09 04:41:35 +02:00
|
|
|
* Thu Apr 03 2008 hfiguiere@suse.de
|
|
|
|
- Initial checkin
|