Пакет rawtherapee: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | %def_disable snapshot %define rev r1 %if_enabled snapshot %define git_distance 1175 %endif Name: rawtherapee Version: 5.0%{?_enable_snapshot:.%git_distance} Release: alt0.r1.M80P.2 Summary: THe Experimental RAw Photo Editor License: GPLv3+ Group: Graphics Url: http://www.rawtherapee.com/ %if_enabled snapshot # use full archive not git-archive to avoid dancing around version Source: rawtherapee-%version.tar %else Source: http://rawtherapee.com/shared/source/%name-%version-%rev-gtk3.tar.xz %endif Patch: rawtherapee-5.0-r1-gtk3-alt-e2k.patch Requires: %name-data = %version-%release %{?_enable_snapshot:BuildRequires: git} %ifnarch %e2k # lcc-1.23.12: ftbfs on gauss.cc:339 and others BuildRequires: libgomp-devel %endif BuildRequires: bzlib-devel cmake gcc-c++ libgtkmm3-devel libiptcdata-devel BuildRequires: libjpeg-devel liblcms2-devel libpng-devel libtiff-devel libfftw3-devel BuildRequires: libexpat-devel libpixman-devel libcanberra-gtk3-devel BuildRequires: libXdmcp-devel libXdamage-devel libXxf86vm-devel BuildRequires: libexiv2-devel libharfbuzz-devel %description Raw Therapee is a free RAW converter and digital photo processing software. %package data Summary: Arch independent files for Raw Therapee Group: Graphics BuildArch: noarch %description data This package provides noarch data needed for Raw Therapee to work. %prep %setup -n %name-%version-%rev-gtk3 %ifarch %e2k # lcc-1.23.12 can't do ternary operations on vectors yet (curves.h:253) %patch -p1 %endif # Do not install useless rtstart: subst "s|install (PROGRAMS rtstart|\#install (PROGRAMS rtstart|" CMakeLists.txt %build %cmake -DCMAKE_BUILD_TYPE:STRING="Release" \ -DCMAKE_CXX_FLAGS="-std=c++11" \ -DCACHE_NAME_SUFFIX="" %cmake_build VERBOSE=1 %install %cmakeinstall_std rm -f %buildroot/%_datadir/doc/rawtherapee/*.txt %files %_bindir/%name %doc AUTHORS.txt LICENSE.txt RELEASE_NOTES.txt %files data %_desktopdir/%name.desktop %_datadir/%name/ %_iconsdir/hicolor/*/apps/* %_man1dir/%name.1.* %_datadir/appdata/%name.appdata.xml %changelog * Fri Feb 01 2019 Michael Shigorin <mike@altlinux.org> 5.0-alt0.r1.M80P.2 - E2K: fix ftbfs (by avoiding openmp for now too) * Wed Mar 29 2017 Yuri N. Sedunov <aris@altlinux.org> 5.0-alt0.r1.M80P.1 - backport to p8 * Wed Feb 08 2017 Yuri N. Sedunov <aris@altlinux.org> 5.0-alt1.r1 - 5.0-r1 * Thu Jan 26 2017 Yuri N. Sedunov <aris@altlinux.org> 5.0-alt1 - 5.0 (gtk3) * Fri Jun 12 2015 Gleb F-Malinovskiy <glebfm@altlinux.org> 4.2-alt1.1 - Rebuilt for gcc5 C++11 ABI. * Tue Mar 31 2015 Yuri N. Sedunov <aris@altlinux.org> 4.2-alt1 - 4.2 * Mon Jan 13 2014 Yuri N. Sedunov <aris@altlinux.org> 4.0.12-alt1 - 4.0.12 * Wed Dec 18 2013 Yuri N. Sedunov <aris@altlinux.org> 4.0.11-alt1 - 4.0.11 * Mon Oct 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.7-alt1.1 - Rebuilt with libpng15 * Mon Mar 26 2012 Victor Forsiuk <force@altlinux.org> 4.0.7-alt1 - 4.0.7 * Fri Dec 16 2011 Victor Forsiuk <force@altlinux.org> 4.0.5-alt1 - 4.0.5 * Tue Jun 14 2011 Victor Forsiuk <force@altlinux.org> 3.0-alt2.20110614 - Mercurial repository snapshot from 2011-06-14. * Mon Feb 15 2010 Victor Forsiuk <force@altlinux.org> 3.0-alt1.alpha1 - Initial build. |