File ufraw.spec of Package ufraw
#
# spec file for package ufraw (Version 0.13)
#
# 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
Name: ufraw
BuildRequires: gcc-c++ gimp-devel libgtkimageview-devel liblcms-devel libpng-devel libstdc++-devel libtiff-devel update-desktop-files
%if %suse_version > 1010
BuildRequires: libexiv2-devel
%endif
Url: http://ufraw.sourceforge.net/
# gimptool-2.0 --gimpplugindir
%define _gimpplugindir %(gimptool-2.0 --gimpplugindir)
License: GPL v2 or later
Group: Productivity/Graphics/Other
AutoReqProv: on
Version: 0.13
Release: 1
%define vversion 0.13
Summary: The Unidentified Flying Raw
Source: %{name}-%{version}.tar.bz2
Patch: %{name}-desktop.patch
Patch2: %{name}-gcc.patch
Patch3: %{name}-boundary.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Application to read and manipulate raw images from digital cameras. It
takes care of the color management, handles the Nikon curve formats and
has an editor for the tone curves. For batch processing of images you
can use the command-line.
Authors:
--------
Udi Fuchs UdiFuchs@gmail.com
%package gimp
Summary: Raw photo loader plugin for The GIMP
Group: Productivity/Graphics/Other
Requires: gimp-2.0
Obsoletes: rawphoto
Provides: gimp-2.0-dcraw-plugin rawphoto
Enhances: gimp-2.0
Suggests: dcraw-gnome
AutoReqProv: on
%description gimp
UFRaw is a utility to read and manipulate raw images from digital
cameras. It can be used as a GIMP plug-in. It reads raw images using
Dave Coffin's raw conversion utility DCRaw. And it supports basic color
management using Little CMS, allowing the user to apply color profiles.
Authors:
--------
Udi Fuchs UdiFuchs@gmail.com
%prep
%setup -q -n %{name}-%{vversion}
%patch
%patch2
%patch3
%build
%{suse_update_config -f}
./autogen.sh
%ifarch ppc64
export CFLAGS="-m64 $RPM_OPT_FLAGS"
%else
export CFLAGS="$RPM_OPT_FLAGS"
%endif
export CXXFLAGS="$CFLAGS"
./configure \
--prefix=%{_prefix} \
--mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file -i ufraw Photography
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc COPYING MANIFEST README TODO
/usr/bin/*
%{_mandir}/man?/*
/usr/share/pixmaps/ufraw.png
/usr/share/applications/*.desktop
%files gimp
%defattr(-,root,root)
%_gimpplugindir/plug-ins/
%changelog
* Fri Dec 07 2007 nadvornik@suse.cz
- updated to 0.13
* Simplified output path logic - output path defaults to the path of the input path.
* Added 'System profile' option to read display ICC profile from the X display. Based on code from Gimp.
* Do not read/write display ICC profile from/to ID files.
* Show camera white balance in EXIF page. Patch by Erik Burrows.
* Automatically fit histograms to allocated height.
* Read Canon lens from EXIF data. Patch by Andreas Steinel.
* Improved PPG interpolation. Patch by Alain Desbiolles.
* Remember maximized state of window between sessions.
* Add color smoothing option to all interpolation. Based on patch by alexander melkozerov. AHD+smoothing is exactly the same as the now obsolete EAHD.
* Added darkframe to GUI (patch by Bruce Guenter).
* Darkframe subtraction also handles hot pixels (patch by Bruce Guenter).
* Show spot values only if spot is selected and allow unselecting spot values.
* Add FITS output. Patch by Andreas Steinel. This option is disabled by default.
* Progressive JPEG encoding. Patch by Bruce Guenter.
* Blink over/under exposure in preview. Patch by Bruce Guenter.
* Enable --output option for stand-alone tool. It forces the output filename to the value specified. It is useful for F-Spot. Patch by Stephane Delcroix.
* Reimplemented the EXIF page. Patch by Andrew Zabolotny.
* Display flash mode in EXIF page.
* Moved shrink/size controls from Save dialog to main window.
* Added delete button to stand-alone tool.
* Added 'send to Gimp' option to stand-alone tool.
* Made the save-as button an icon only, to save space.
* Added option to save as PNG 8 or 16 bits.
* Write EXIF data to PNG files. Based on code from DigiKam.
* Added aspect ratio control. Patch by Andrew Zabolotny.
* New Spanish translation by Enrique Jorreto Ledesma.
* New Polish translation by Tomasz Golinski.
* New Korean translation by Homin Lee.
- built with GtkImageView, added modifications made by hfiguiere@novell.com
* Wed Aug 22 2007 postadal@suse.cz
- disabled in KDE menu [#298969]
* Mon Aug 13 2007 postadal@suse.cz
- enabled exiv2 support [#298890]
- fixed crash when spot selector reached image boundary (crash_fix.patch)
- fixed handling of non integer shrink factors
- some TIFF images were wrongly identified as raw file
* Mon Aug 06 2007 postadal@suse.cz
- updated to version 0.12
* full color management workflow with camera, display and output profiles
* image cropping, rotate/flip support
* added scrolling and panning (based on the new GtkImageView widget)
* added support for dcraw's wavelet denoising
* added Patterned Pixel Grouping (PPG) Interpolation. It can be even better
than other interpolations in some cases and much faster
* added EAHD interpolation. It is an enhancement of the AHD interpolation
with another phase of color smoothing. The improvement is mostly seen
in high contrast as it removes color artifacts such as chromatic aberration
* read raw files compressed with gzip or bzip2
* display luminosity value and Adams' zone for spot value
* added 'max zoom' (only 50%% at the moment) and 'zoom to fit' buttons
* retain some hue and saturation when clipping pixels (in positive exposure
compensation, and mostly for Canon cameras where positive exposure
is applied by default)
* added a Cinepaint plug-in (disabled by default)
* based the user interface more on icons and less on text
- fixed build (gcc.patch)
- reverted entry for this application in the menu (this is real application)
* Wed Aug 01 2007 stbinner@suse.de
- fix capitalization of GenericName entry in .desktop file
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Mon May 28 2007 schwab@suse.de
- Fix writing beyond array bounds.
* Fri Mar 09 2007 postadal@suse.cz
- updated to version 0.11
* option to restore highlights, relevant when applying negative
exposure correction (in HSV sharp details or in LCH soft natural details)
* option for soft, filmlike clipping of highlights, relevant when applying
positive exposure correction
* correct Canon DSLRs exposure by default (raw images are under exposed)
* translations to Danish, Japanese and Portuguese
- removed obsoleted autogen.patch
- call gimptool-2.0 --gimpplugindir to set right path
* Wed Feb 07 2007 postadal@suse.cz
- updated to version 0.10
* obsoleted patches po.patch and wb_presets.patch
- fixed gcc warning (gcc.patch) [#240197]
* Tue Jan 16 2007 aj@suse.de
- Changes for GNOME in /usr.
* Mon Nov 27 2006 stbinner@suse.de
- NoDisplay=true instead of Hidden=true in .desktop file
* Tue Nov 21 2006 stbinner@suse.de
- don't show entry for this application in the menu
* Sat Oct 28 2006 meissner@suse.de
- also use RPM_OPT_FLAGS for CXXFLAGS.
* Fri Oct 27 2006 postadal@suse.cz
- center the raw histogram if the rest of the controls are too wide
- duplicate the Leica R8 WB presets for the Lecia R9 (wb_presets.patch)
- updated Russian and French translation (po.patch)
* Mon Oct 23 2006 postadal@suse.cz
- updated from cvs
* fixes
- provides and obsoletes rawphoto package (gimp-plugin)
* Sat Oct 21 2006 schwab@suse.de
- Fix bogus version check.
* Mon Oct 16 2006 postadal@suse.cz
- updated from cvs
* updated dcraw to 8.40 (1.352)
* a lot of new WB presets
* --embedded-image for reading the embedded preview image in raw files
* Russian and Danish translations
* Thu Sep 14 2006 sbrabec@suse.cz
- Moved GIMP related provides and requires to ufraw-gimp.
* Tue Aug 15 2006 postadal@suse.cz
- updated to version 0.9.1
* updated dcraw to 8.29 (1.340)
* recognize Sony's *.arw file type
* treat Minolta's Alpha and Maxxum as the Dynax for WB presets
* Fri Aug 04 2006 postadal@suse.cz
- updated to version 0.9
* add darkframe subtraction option
* more conservative highlight unclipping
* support filenames in URI format
* Wed Aug 02 2006 postadal@suse.cz
- updated from cvs
* fixed zoom support (WB ...)
* show EXIF data
* updated dcraw to 8.28 (1.338)
* replaced old dcraw interface with C++ interface
* fixes
* Tue May 16 2006 postadal@suse.cz
- updated to version 0.8.1
* fixed Gimp plug-in half-interpolation crash
* fixed possible crash in auto-exposure
* Wed Mar 29 2006 postadal@suse.cz
- handled 'spot_wb' in --conf correctly [ufraw#1456944] (config2.patch)
- updated dcraw to 8.10 (1.320) (wb.patch)
* better support the Imacon Ixpress 22-Mp
* added WB support for Olympus C5060WZ and C8080WZ
* Mon Mar 27 2006 postadal@suse.cz
- fixed converting old config [ufraw#1456944] (config.patch)
* Sun Mar 26 2006 postadal@suse.cz
- updated from cvs
* updated dcraw to 8.09 (1.319)
* much more accurate white balance temperature setting
* white balance presets per camera model
* show the channel multipliers in the UI
* apply base curve before gamma curve
* fix camera specific bugs for Sony F828, Sigma Foveon, Nikon D2H, D1X
- added libstdc++-devel, gcc-c++ to BuildRequires
* Thu Jan 26 2006 postadal@suse.cz
- updated from cvs
* updated dcraw to 8.03 (1.313)
- added -fstack-protector
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 10 2006 sbrabec@suse.cz
- Enhances gimp in both branches, Suggests dcraw-gnome.
* Fri Jan 06 2006 postadal@suse.cz
- updated from cvs
- removed obsoleted patch gcc.patch
* Fri Nov 18 2005 postadal@suse.cz
- updated to version 0.6
* fixed bug in AHD interpolation in the border of image
- fixed gcc warning (gcc.patch)
- added -m64 for ppc64 building
* Mon Oct 17 2005 sbrabec@suse.cz
- Provide gimp-2.0-dcraw-plugin virtual.
* Thu Oct 13 2005 postadal@suse.cz
- updated from cvs
* uses new dcraw with AHD support
* Thu Sep 29 2005 postadal@suse.cz
- initial version 0.5