#https://github.com/rawstudio/rawstudio/commit/58a89591ffb46c30c3baa7fa4858a00479159f75 %global commit1 58a89591ffb46c30c3baa7fa4858a00479159f75 %global shortcommit1 %(c=%{commit1}; echo ${c:0:7}) #https://github.com/klauspost/rawspeed/commit/fa23d1c2f71c01cc085b80a2a6f8b633edd2626b %global commit2 fa23d1c2f71c01cc085b80a2a6f8b633edd2626b %global shortcommit2 %(c=%{commit2}; echo ${c:0:7}) Name: rawstudio Version: 2.1 Release: 0.30.20210527.git%{shortcommit1}%{?dist} Summary: Read, manipulate and convert digital camera raw images License: GPLv2+ URL: http://rawstudio.org Source0: https://github.com/rawstudio/%{name}/archive/%{commit1}/%{name}-%{shortcommit1}.tar.gz # cd plugins/load-rawspeed/rawspeed Source1: https://github.com/klauspost/rawspeed/archive/%{commit2}/rawspeed-%{shortcommit2}.tar.gz Patch0: https://github.com/sergiomb2/rawstudio/compare/master...load-dcraw_9.28.diff Patch1: https://patch-diff.githubusercontent.com/raw/rawstudio/rawstudio/pull/73.patch BuildRequires: make BuildRequires: gcc-c++ BuildRequires: gtk3-devel libxml2-devel GConf2-devel dbus-devel BuildRequires: lcms2-devel libjpeg-devel libtiff-devel exiv2-devel BuildRequires: lensfun-devel fftw-devel # rawstudio disabled support for osm-gps-map #BuildRequires: osm-gps-map-devel # Openssl no longer required BuildRequires: sqlite-devel gphoto2-devel BuildRequires: desktop-file-utils BuildRequires: libtool BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel Provides: bundled(ufraw) = 0.23 Requires: librawstudio%{?_isa} = %{version}-%{release} %description Rawstudio is a highly specialized application for processing RAW images from digital cameras. It is not a fully featured image editing application. The RAW format is often recommended to get the best quality out of digital camera images. The format is specific to cameras and cannot be read by most image editing applications. Rawstudio makes it possible to read and manipulate RAW images, experiment with the controls to see how they affect the image, and finally export into JPEG, PNG or TIF format images from most digital cameras. %package -n librawstudio-devel Summary: librawstudio development files Requires: librawstudio%{?_isa} = %{version}-%{release} %description -n librawstudio-devel Development files for rawstudio backend library %package -n librawstudio Summary: Rawstudio backend library %description -n librawstudio Rawstudio backend library %prep %autosetup -n %{name}-%{commit1} -a1 -p1 rmdir plugins/load-rawspeed/rawspeed mv rawspeed-%{commit2} plugins/load-rawspeed/rawspeed %build # autogen requires sources from git and works with git submodules #./autogen.sh --no-configure autoreconf -i %configure --disable-static --enable-experimental --enable-maintainer-mode %make_build %install %make_install %find_lang %{name} desktop-file-install \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --remove-category Application \ --delete-original \ ${RPM_BUILD_ROOT}%{_datadir}/applications/rawstudio.desktop %files -f %{name}.lang %doc README.md NEWS AUTHORS %license COPYING %{_bindir}/rawstudio %{_libdir}/rawstudio %{_datadir}/rawstudio %{_datadir}/rawspeed %{_datadir}/pixmaps/rawstudio %{_datadir}/applications/*rawstudio.desktop %{_datadir}/icons/rawstudio.png %{_datadir}/appdata/rawstudio.appdata.xml %files -n librawstudio %{_libdir}/librawstudio-%{version}.so %files -n librawstudio-devel %{_includedir}/rawstudio-%{version} %{_libdir}/librawstudio.so %{_libdir}/pkgconfig/rawstudio-%{version}.pc %changelog * Fri Jan 21 2022 Fedora Release Engineering - 2.1-0.30.20210527.git58a8959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.1-0.29.20210527.git58a8959 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 28 2021 Sérgio Basto - 2.1-0.28.20210527.git58a8959 - Update to rawstudio 20210527.git58a8959 more ufraw updates * Sun Apr 25 2021 Sérgio Basto - 2.1-0.27.20200525.g8c732f1_rawspeed.20161119.gfa23d1c - rawstudio-2.1-0.26.20200525.g8c732f1 more ufraw updates * Wed Jan 27 2021 Fedora Release Engineering - 2.1-0.26.20200305.g6e16257_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.1-0.25.20200305.g6e16257_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Sérgio Basto - 2.1-0.24.20200305.g6e16257_rawspeed.20161119.gfa23d1c - Organize sources and update official git commit, but dont expect anything new. * Thu Jan 30 2020 Fedora Release Engineering - 2.1-0.23.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.1-0.22.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 18 2019 Sérgio Basto - 2.1-0.21.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Update plugins/load-dcraw (ufraw) with dcraw_9.28 to fix FTBFS * Sat Feb 02 2019 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 30 2019 Rex Dieter - 2.1-0.20.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - rebuild (exiv2) * Sat Jul 14 2018 Fedora Release Engineering - 2.1-0.19.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.1-0.18.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 29 2018 Sérgio Basto - 2.1-0.17.20170414.g003dd4f_rawspeed.20161119.gfa23d1c - Update rawstudio - Drop already upstreamed patches - Update rawspeed - load-dcraw updated to ufraw-0.22 + patches from ufraw fedora package - Use system theme as default * Thu Aug 03 2017 Fedora Release Engineering - 2.1-0.16.20160223git6643b14_rawspeed_5f78369 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.1-0.15.20160223git6643b14_rawspeed_5f78369 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 02 2017 Rex Dieter - 2.1-0.14.20160223git_rawspeed_ - rebuild (exiv2) * Sat Feb 11 2017 Fedora Release Engineering - 2.1-0.13.20160223git6643b14_rawspeed_5f78369 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 25 2016 Sérgio Basto - 2.1-0.12.20160223gitb6bddc9_rawspeed_5f78369 - Update Rawstudio and Rawspeed to the latest commits upstream. - Remove plugin load-dcraw, also fix FTBFS (#1307983). - Add one patch that isn't already in upstream tree. - Add license tag. * Thu Feb 04 2016 Fedora Release Engineering - 2.1-0.11.20150511git75ef4c4_rawspeed_4ea46dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 03 2016 Rex Dieter 2.1-0.10.20150511git75ef4c4_rawspeed_4ea46dd - rebuild (lensfun) * Mon Dec 07 2015 Sérgio Basto - 2.1-0.9.20150511git75ef4c4_rawspeed_4ea46dd - Update rawspeed to git head 4ea46dd. - Update to git latest bugfix, fix (#1285632) and other 2 SIGSEGV. - Rawstudio requires same version of librawstudio. * Wed Nov 25 2015 Sérgio Basto - 2.1-0.5.20150511git983bda1 - Autotooling well. - Follow https://fedoraproject.org/wiki/Packaging:SourceURL - Added bundled(dcraw). * Wed Jun 24 2015 Rex Dieter - 2.1-0.4.20150511git983bda1 - rebuild (exiv2) * Thu Jun 18 2015 Fedora Release Engineering - 2.1-0.3.20150511git983bda1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu May 14 2015 Nils Philippsen - 2.1-0.2.20150511git983bda1 - rebuild for lensfun-0.3.1 * Wed May 13 2015 Sérgio Basto - 2.1-0.1.20150511git983bda1 - Rawstudio from github https://github.com/rawstudio/rawstudio/ . - Drop all patches because they are upstreamed. - https://fedoraproject.org/wiki/Packaging:SourceURL#Github - Updated requirements. - Use a parcial copy of autogen.sh to build this package. * Sat May 02 2015 Kalev Lember - 2.0-19 - Rebuilt for GCC 5 C++11 ABI change * Sun Mar 22 2015 Kalev Lember - 2.0-18 - Fix the build with lensfun 0.3 (#1184156) * Tue Jan 20 2015 Peter Robinson 2.0-17 - rebuild (libgphoto2) * Sun Aug 17 2014 Fedora Release Engineering - 2.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 20 2014 Peter Robinson 2.0-15 - Fix builds for new arches (aarch64/ppc64le) - Modernise spec * Sun Jun 08 2014 Fedora Release Engineering - 2.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Dec 03 2013 Rex Dieter - 2.0-13 - rebuild (exiv2) * Sun Aug 04 2013 Fedora Release Engineering - 2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 01 2013 Jon Ciesla - 2.0-11 - Drop desktop vendor tag. * Thu Feb 14 2013 Fedora Release Engineering - 2.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jan 18 2013 Adam Tkac - 2.0-9 - rebuild due to "jpeg8-ABI" feature drop * Fri Dec 21 2012 Adam Tkac - 2.0-8 - rebuild against new libjpeg * Sat Jul 21 2012 Fedora Release Engineering - 2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 11 2012 Gianluca Sforna - 2.0-6 - rebuild (flickcurl) - add patch for newer lensfun headers location * Wed May 02 2012 Rex Dieter - 2.0-5 - rebuild (exiv2) * Tue Feb 28 2012 Gianluca Sforna - 2.0-4 - Fix FTBS with in F17+ (patch from upstream) * Sat Jan 14 2012 Fedora Release Engineering - 2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 14 2011 Rex Dieter - 2.0-2 - rebuild (exiv2) * Fri Apr 8 2011 Gianluca Sforna - 2.0-1 - Update to final release - remove upstreamed patch * Sat Mar 26 2011 Gianluca Sforna - 2.0-0.1.beta1 - Update to released beta - Split librawstudio library in own package * Mon Mar 14 2011 Gianluca Sforna - 1.2-10 - update to newer snapshot, another fixed crash * Mon Feb 21 2011 Gianluca Sforna - 1.2-9 - update to newer snapshot, includes fixes for #635964 and #636919 - remove upstreamed patch, add new one to remove -Werror - require gphoto2 * Wed Feb 09 2011 Fedora Release Engineering - 1.2-8.20100907svn3521 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jan 02 2011 Rex Dieter - 1.2-7.20100907svn3521 - rebuild (exiv2) * Wed Sep 8 2010 Gianluca Sforna - Fix BuildRequires - Add updated patch for X11 link issue * Tue Sep 7 2010 Gianluca Sforna - move to a snapshot - drop upstreamed patches - add find-lang - remove .la files - disable static library build * Mon May 31 2010 Rex Dieter - 1.2-5 - rebuild (exiv2) * Sat Feb 13 2010 Gianluca Sforna - 1.2-4 - Add explicit link to libX11 (#564638) * Mon Jan 04 2010 Rex Dieter - 1.2-3 - rebuild (exiv2) * Sun Jul 26 2009 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Apr 10 2009 Gianluca Sforna - 1.2-1 - New upstream release * Thu Feb 26 2009 Gianluca Sforna - 1.1.1-4 - Fix build with newer glibc * Wed Feb 25 2009 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Dec 18 2008 Rex Dieter - 1.1.1-2 - respin (eviv2) * Mon Oct 13 2008 Gianluca Sforna - 1.1.1-1 - new upstream release * Tue Sep 16 2008 Gianluca Sforna - 1.1-1 - new upstream release * Thu May 1 2008 Gianluca Sforna - 1.0-1 - new upstream release - drop upstreamed patch - slightly improved summary * Tue Feb 26 2008 Gianluca Sforna - 0.7-2 - rebuild with gcc 4.3 * Thu Jan 24 2008 Gianluca Sforna - 0.7-1 - New upstream release - Improved package description - Add fix for PPC build * Sun Aug 19 2007 Gianluca Sforna 0.6-1 - New upstream release - Updated License field - Include new pixmaps directory * Wed Feb 21 2007 Gianluca Sforna 0.5.1-1 - New upstream release - Fix desktop-file-install warnings * Tue Feb 06 2007 Gianluca Sforna 0.5-1 - new upstream version - add libtiff-devel BR - drop upstreamed patch - drop dcraw runtime Require * Wed Sep 27 2006 Gianluca Sforna 0.4.1-1 - new upstream version - Add DESTDIR patch (and BR: automake) - New .desktop file and icon * Fri Jul 28 2006 Gianluca Sforna 0.3-1 - Initial package. Adapted from fedora-rpmdevtools template.