Package 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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | %def_disable snapshot %define rev %nil %if_enabled snapshot %define git_distance 1175 %endif %define xdg_name com.rawtherapee.RawTherapee Name: rawtherapee Version: 5.7%{?_enable_snapshot:.%git_distance} Release: alt1 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.tar.xz %endif %define gtk_ver 3.24.7 %define tiff_ver 4.0.4 %define rsvg_ver 2.40 Requires: %name-data = %version-%release Requires: libgtk+3 >= %gtk_ver BuildRequires(pre): cmake >= 2.8.8 %{?_enable_snapshot:BuildRequires: git} BuildRequires: libgtk+3-devel >= %gtk_ver librsvg-devel >= %rsvg_ver BuildRequires: libtiff-devel >= %tiff_ver BuildRequires: bzlib-devel gcc-c++ libgomp-devel libgtkmm3-devel libiptcdata-devel BuildRequires: libjpeg-devel liblcms2-devel libpng-devel libfftw3-devel BuildRequires: libexpat-devel libpixman-devel libcanberra-gtk3-devel BuildRequires: libXdmcp-devel libXdamage-devel libXxf86vm-devel BuildRequires: libexiv2-devel libharfbuzz-devel BuildRequires: liblensfun-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 # Do not install useless rtstart: subst "s|install (PROGRAMS rtstart|\#install (PROGRAMS rtstart|" CMakeLists.txt %build %define optflags -O3 -g %add_optflags -D_FILE_OFFSET_BITS=64 %cmake -DCMAKE_BUILD_TYPE:STRING="Release" \ %{?_disable_snapshot:-DCACHE_NAME_SUFFIX=""} \ %{?_enable_snapshot:-DCACHE_NAME_SUFFIX="5-dev"} %cmake_build VERBOSE=1 %install %cmakeinstall_std rm -f %buildroot/%_datadir/doc/rawtherapee/*.txt %files %_bindir/%name %_bindir/%name-cli %doc AUTHORS.txt LICENSE.txt RELEASE_NOTES.txt %files data %_desktopdir/%name.desktop %_datadir/%name/ %_iconsdir/hicolor/*/apps/* %_man1dir/%name.1.* %_datadir/metainfo/%xdg_name.appdata.xml %changelog * Wed Sep 11 2019 Yuri N. Sedunov <aris@altlinux.org> 5.7-alt1 - 5.7 * Sun Apr 21 2019 Yuri N. Sedunov <aris@altlinux.org> 5.6-alt1 - 5.6 * Wed Dec 19 2018 Yuri N. Sedunov <aris@altlinux.org> 5.5-alt1 - 5.5 * Wed Mar 21 2018 Yuri N. Sedunov <aris@altlinux.org> 5.4-alt1 - 5.4 * Mon Oct 02 2017 Yuri N. Sedunov <aris@altlinux.org> 5.3-alt1 - 5.3 * Thu Jul 27 2017 Yuri N. Sedunov <aris@altlinux.org> 5.2-alt1 - 5.2 * Wed May 17 2017 Yuri N. Sedunov <aris@altlinux.org> 5.1-alt1 - 5.1 * 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. |