ufraw/ufraw.spec

133 lines
4.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: ufraw
Version: 0.19.2
Release: 2mamba
Summary: UFRaw is a utility to read and manipulate raw images from digital cameras.
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://ufraw.sourceforge.net/index.html
Source: http://downloads.sourceforge.net/sourceforge/ufraw/ufraw-%{version}.tar.gz
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcfitsio-devel
BuildRequires: libexiv2-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libgimp-devel
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkimageview-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms-devel
BuildRequires: liblensfun-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libexiv2-devel >= 0.23
Obsoletes: dcraw
Provides: dcraw
%description
The Unidentified Flying Raw (UFRaw) is a utility to read and manipulate raw images from digital cameras. It can be used on its own or as a Gimp plug-in. It reads raw images using Dave Coffin's raw conversion utility - DCRaw. UFRaw supports color management workflow based on Little CMS, allowing the user to apply ICC color profiles. For Nikon users UFRaw has the advantage that it can read the camera's tone curves. Even if you don't own a Nikon, you can still apply a Nikon curve to your images.
%package -n gimp-ufraw
Summary: Raw photo loader plugin for The GIMP
Group: Applications/Multimedia
Requires: gimp
Obsoletes: rawphoto
Provides: gimp-dcraw-plugin rawphoto
Provides: ufraw-gimp
Obsoletes: ufraw-gimp
%description -n gimp-ufraw
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.
%package -n cinepaint-ufraw
Summary: Raw photo loader plugin for Cinepaint
Group: Applications/Multimedia
Requires: cinepaint
%description -n cinepaint-ufraw
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.
%prep
%setup -q
%build
%configure \
--enable-extras \
--enable-dst-correction \
--enable-mime \
--enable-contras \
CFITSIO_CFLAGS=-I%{_includedir}/cfitsio/
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/dcraw
%{_bindir}/nikon-curve
%{_bindir}/ufraw
%{_bindir}/ufraw-batch
%{_datadir}/applications/ufraw.desktop
%{_datadir}/gconf/schemas/ufraw.schemas
%{_datadir}/pixmaps/ufraw.png
%{_mandir}/man1/ufraw.1.gz
%doc COPYING
#% doc README TODO
%files -n gimp-ufraw
%defattr(-,root,root)
%{_libdir}/gimp/*/plug-ins/ufraw-gimp
#%if "%stage1" != "1"
#%files -n cinepaint-ufraw
#%defattr(-,root,root)
#%{_libdir}/cinepaint/*/plug-ins/ufraw-cinepaint
#%endif
%changelog
* Sat Dec 28 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.2-2mamba
- disable unmaintained cinepaint plugin
* Mon Apr 01 2013 Automatic Build System <autodist@mambasoft.it> 0.19.2-1mamba
- automatic version update by autodist
* Wed Mar 13 2013 Automatic Build System <autodist@mambasoft.it> 0.19.1-1mamba
- automatic version update by autodist
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 0.19-1mamba
- automatic version update by autodist
* Sun Nov 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18-2mamba
- rebuilt with libexiv2 0.23
* Sat Mar 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18-1mamba
- update to 0.18
- specfile fixes
* Fri Mar 06 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.15-1mamba
- package created by autospec