File raw-thumbnailer.spec of Package raw-thumbnailer
#
# spec file for package raw-thumbnailer (Version 0.99.1)
#
# 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
Summary: Thumbnailer for digital camera RAW
Name: raw-thumbnailer
Version: 0.99.1
Release: 4
License: GPL v2 or later
Group: Productivity/Graphics/Other
%if %suse_version >= 1030
%define prefix /usr
%define sysconfdir /etc
%else
%define prefix /opt/gnome
%define sysconfdir /etc%{prefix}
%endif
Source0: %name-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libopenraw-devel >= 0.0.4
BuildRequires: gnome-vfs2-devel gtk2-devel libgsf-devel libjpeg-devel perl-XML-Parser
# apparently on suse 10.0 it needs this
BuildRequires: libstdc++-devel
Requires: shared-mime-info
# All features provided by dcraw-gnome are now handled by other packages:
# Package existed in <= 10.3 and SLE == 10
Obsoletes: dcraw-gnome <= 0.11
%gconf_schemas_prereq
%description
A thumbnailer used by Nautilus for digital camera RAW files.
Authors:
--------
Hubert Figuiere
Based on totem-video-thumbnailer
%prep
%setup -q
%build
%configure
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%find_gconf_schemas
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc README NEWS COPYING ChangeLog
%{_bindir}/raw-thumbnailer
%{_datadir}/mime/packages/raw-thumbnailer.xml
%changelog
* Thu Apr 10 2008 sbrabec@suse.cz
- Added missing gconf scriptlet.
- Provide and obsolete dcraw-gnome.
- Fixed PreReq -> Requires.
* Thu Apr 03 2008 hfiguiere@suse.de
- Initial checkin