%global _kde4_build_tests -DKDE4_BUILD_TESTS:BOOL=ON Name: libkdcraw Summary: A C++ interface around LibRaw library Version: 4.14.3 Release: 1%{?dist} # libkdcraw is GPLv2+, # LibRaw(bundled) is LGPLv2 # demosaic-pack GPLv2+ GPLv3+ (addons to libraw) License: GPLv2+ and LGPLv2 and GPLv3+ URL: https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz ## upstream patches BuildRequires: kdelibs4-devel BuildRequires: pkgconfig(libraw) >= 0.15 Requires: kdelibs4%{?_isa} >= %{_kde4_version} # when split occurred Conflicts: kdegraphics-libs < 7:4.6.95-10 %description Libkdcraw is a C++ interface around LibRaw library used to decode RAW picture files. More information about LibRaw can be found at http://www.libraw.org. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: kdelibs4-devel %description devel %{summary}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig pkg-config --modversion libkdcraw make -C %{_target_platform}/tests %post /sbin/ldconfig touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : %postun /sbin/ldconfig if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : fi %files %doc AUTHORS ChangeLog COPYING NEWS README TODO %{_kde4_libdir}/libkdcraw.so.23* %{_kde4_appsdir}/libkdcraw/ %{_kde4_iconsdir}/hicolor/*/*/* %files devel %{_kde4_libdir}/libkdcraw.so %{_kde4_libdir}/pkgconfig/libkdcraw.pc %{_kde4_includedir}/libkdcraw/ %changelog * Sat Nov 08 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Aug 14 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Mon Jul 14 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sat Jun 07 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Thu Apr 03 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sat Mar 22 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Tue Mar 18 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sat Mar 01 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Tue Jan 21 2014 Jon Ciesla - 4.12.1-2 - LibRaw rebuild. * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Fri Nov 15 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Tue Sep 03 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Thu Aug 08 2013 Than Ngo - 4.11.0-1 - 4.11.0 * Thu Jul 25 2013 Rex Dieter - 4.10.97-1 - 4.10.97 * Tue Jul 23 2013 Rex Dieter - 4.10.95-1 - 4.10.95 * Sat Jul 13 2013 Alexey Kurov - 4.10.90-4 - apply external LibRaw patch only for F20+ - remove bundled LibRaw for F20+ * Mon Jul 8 2013 Alexey Kurov - 4.10.90-3 - build against external LibRaw kde#307146 * Fri Jun 28 2013 Kevin Kofler - 4.10.90-2 - rebase libjpeg-turbo patch * Thu Jun 27 2013 Rex Dieter - 4.10.90-1 - 4.10.90 * Sat Jun 01 2013 Rex Dieter - 4.10.4-1 - 4.10.4 * Mon May 06 2013 Than Ngo - 4.10.3-1 - 4.10.3 * Sun Mar 31 2013 Rex Dieter - 4.10.2-1 - 4.10.2 * Sat Mar 09 2013 Kevin Kofler - 4.10.1-1.1 - make libjpeg support work on Fedora 17 * Sat Mar 02 2013 Rex Dieter - 4.10.1-1 - 4.10.1 * Fri Feb 08 2013 Rex Dieter 4.10.0-3 - Requires: libjpeg-turbo >= 1.2.90 * Wed Feb 06 2013 Kevin Kofler - 4.10.0-2 - BR libjpeg-turbo-devel >= 1.2.90, fix libjpeg detection for libjpeg-turbo * Thu Jan 31 2013 Rex Dieter - 4.10.0-1 - 4.10.0 * Sat Jan 19 2013 Rex Dieter - 4.9.98-1 - 4.9.98 * Fri Jan 04 2013 Rex Dieter - 4.9.97-1 - 4.9.97 * Wed Dec 19 2012 Rex Dieter - 4.9.95-1 - 4.9.95 * Mon Dec 03 2012 Rex Dieter 4.9.90-1 - 4.9.90 (4.10 beta2) * Tue Nov 20 2012 Rex Dieter 4.9.80-1 - 4.9.80 * Thu Nov 8 2012 Alexey Kurov - 4.9.60-1 - libkdcraw update from digikam-3.0.0-beta3 * Wed Oct 24 2012 Alexey Kurov - 4.9.50-3 - rebuild for libjpeg8 * Sat Oct 13 2012 Alexey Kurov - 4.9.50-2 - BR: pkgconfig(jasper) pkgconfig(libxml-2.0) * Sat Oct 13 2012 Alexey Kurov - 4.9.50-1 - libkdcraw update from digikam-3.0.0-beta2 - enable build against lcms2 - enable RawSpeed libraw codec * Fri Sep 28 2012 Rex Dieter - 4.9.2-1 - 4.9.2 * Mon Sep 03 2012 Than Ngo - 4.9.1-1 - 4.9.1 * Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 - 4.9.0 * Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 11 2012 Rex Dieter - 4.8.97-1 - 4.8.97 * Wed Jun 27 2012 Jaroslav Reznik - 4.8.95-1 - 4.8.95 * Sat Jun 09 2012 Rex Dieter - 4.8.90-1 - 4.8.90 * Sat May 26 2012 Jaroslav Reznik - 4.8.80-1 - 4.8.80 - bump soname version to 21* * Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 - 4.8.3 * Fri Mar 30 2012 Jaroslav Reznik - 4.8.2-1 - 4.8.2 * Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 - 4.8.1 * Tue Feb 28 2012 Fedora Release Engineering - 4.8.0-2 - Rebuilt for c++ ABI breakage * Sun Jan 22 2012 Rex Dieter - 4.8.0-1 - 4.8.0 * Wed Jan 04 2012 Radek Novacek - 4.7.97-1 - 4.7.97 * Wed Dec 21 2011 Radek Novacek - 4.7.95-1 - 4.7.95 * Sun Dec 04 2011 Rex Dieter - 4.7.90-1 - 4.7.90 * Fri Nov 25 2011 Jaroslav Reznik 4.7.80-1 - 4.7.80 (beta 1) * Sat Oct 29 2011 Rex Dieter 4.7.3-1 - 4.7.3 * Tue Oct 04 2011 Rex Dieter 4.7.2-1 - 4.7.2 * Wed Sep 07 2011 Than Ngo - 4.7.1-1 - 4.7.1 * Tue Jul 26 2011 Jaroslav Reznik 4.7.0-1 - 4.7.0 * Mon Jul 11 2011 Rex Dieter 4.6.95-1 - 4.6.95 * Mon Jul 11 2011 Rex Dieter 4.6.90-5 - License: GPLv2+ and LGPLv2 and GPLv3+ - Provides: bundled(LibRaw) * Sun Jul 10 2011 Rex Dieter 4.6.90-4 - fix URL - fix scriptlets * Sun Jul 10 2011 Rex Dieter 4.6.90-3 - License: GPLv2+ - %%doc: +ChangeLog NEWS - add %%check section * Wed Jul 06 2011 Rex Dieter 4.6.90-2 - fix Source0 URL - Conflicts: kdegraphics < 7:4.6.90-10 * Tue Jul 05 2011 Rex Dieter 4.6.90-1 - first try