ufraw/ufraw.spec

173 lines
5.9 KiB
RPMSpec

Name: ufraw
Version: 0.22.20210424
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: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://ufraw.sourceforge.net/
Source: https://github.com/sergiomb2/ufraw.git/master/ufraw-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbabl-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: libgegl-devel
BuildRequires: libgimp-devel
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkimageview-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblcms2-devel
BuildRequires: liblensfun-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libgegl-devel >= 0.4.8-1mamba
BuildRequires: libcfitsio-devel >= 4.1.0
BuildRequires: liblensfun-devel >= 0.3.2-1mamba
BuildRequires: libexiv2-devel >= 0.23
Provides: dcraw
Obsoletes: dcraw < 0.22.20210424
%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 < 0.22.20210424
%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.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure \
--enable-extras \
--enable-dst-correction \
--enable-mime \
--enable-contras \
%ifarch arm
CXXFLAGS="%{optflags} -Wno-narrowing"
%endif
%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}/appdata/ufraw.appdata.xml
%{_datadir}/appdata/ufraw.appdata.xml
%{_datadir}/gconf/schemas/ufraw.schemas
%{_datadir}/pixmaps/ufraw.png
%{_mandir}/man1/ufraw.1*
%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
* Thu Apr 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.20210424-2mamba
- rebuilt with libcfitsio 4.1.0
* Sun Apr 25 2021 Automatic Build System <autodist@mambasoft.it> 0.22.20210424-1mamba
- automatic version update by autodist
* Thu Oct 18 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22.20181018git-1mamba
- update to 0.22.20181018git
* Sun Oct 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-2mamba
- rebuilt by autoport with build requirements: libgegl-devel>=0.4.8-1mamba--buildreqlibgegl-devel>=0.4.8-1mamba
* Wed Aug 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-1mamba
- update to 0.22
* Tue Aug 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21-3mamba
- rebuilt by autoport with build requirements: libcfitsio-devel>=3.390-1mamba
* Sat Mar 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21-2mamba
- rebuilt by autoport with build requirements: liblensfun-devel>=0.3.2-1mamba
* Mon Mar 09 2015 Automatic Build System <autodist@mambasoft.it> 0.21-1mamba
- automatic update by autodist
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 0.20-1mamba
- automatic update by autodist
* 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