Package photivo: 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 | %define gimpplugindir %(gimptool-2.0 --gimpplugindir) # /usr/bin/hg identify | cut -c -12 %define rev 60f1eb32cced Name: photivo Version: 0 Release: alt2.%{rev}.M60P.1 Summary: Photivo photo processor Group: Graphics License: GPLv3+ Url: http://%name.org # mercurial repository # /usr/bin/hg clone https://photivo.googlecode.com/hg/ photivo && tar -cf photivo.tar photivo/ Source: %name.tar Patch: %name.patch Requires: %name-data = %version-%release BuildRequires: gcc-c++ ccache libgomp-devel libqt4-devel libltdl-devel BuildRequires: libexiv2-devel liblensfun-devel libfftw3-devel liblcms-devel liblcms2-devel liblqr-devel BuildRequires: libGraphicsMagick-c++-devel libjpeg-devel libtiff-devel libpng-devel bzlib-devel BuildRequires: libgimp-devel %description Photivo is a free and open source photo processor. It handles RAW files as well as bitmap files in a non-destructive 16 bit processing pipe with gimp workflow integration and batch mode. Photivo tries to provide the best algorithms available; even if this implies some redundancy. So, to my knowledge, it offers the most flexible and powerful denoise, sharpen and local contrast (fake HDR) algorithms in the open source world. (If not, let's port them ) Although, to get the desired results, there may be a quite steep learning curve. Photivo is just a developer, no manager and no Gimp. It is intended to be used in a workflow together with digiKam/F-Spot/Shotwell and Gimp. It needs a quite strong computer and is not aimed at beginners. %package data Summary: Data for the Photivo photo processor Group: Graphics BuildArch: noarch %description data Photivo is a free and open source photo processor. It handles RAW files as well as bitmap files in a non-destructive 16 bit processing pipe with gimp workflow integration and batch mode. This package provides the data files needed for the Photivo to work. %package -n gimp-plugin-%name Summary: Photivo plugin for Gimp Group: Graphics Requires: %name = %version-%release %description -n gimp-plugin-%name Photivo is a free and open source photo processor. It handles RAW files as well as bitmap files in a non-destructive 16 bit processing pipe with gimp workflow integration and batch mode. This package provides Photivo plugin for Gimp. %prep %setup -q -n %name %patch -p1 %build qmake-qt4 PREFIX=%_prefix %make_build %install %make INSTALL_ROOT=%buildroot install # quick hack to evade probably qmake bug install -m644 Curves/DeltaGamma\(*\).ptc %buildroot/usr/share/photivo/Curves/ # install gimp plugin install -pD -m644 ptGimp %buildroot%gimpplugindir/ptGimp # install utilities install -pD -m755 ptClear %buildroot%_bindir/PtClear ln -s PtClear %buildroot%_bindir/%name-clear install -pD -m755 ptCreateAdobeProfiles %buildroot%_bindir/ptCreateAdobeProfiles ln -s ptCreateAdobeProfiles %buildroot%_bindir/%name-CreateAdobeProfiles install -pD -m755 ptCreateCurves %buildroot%_bindir/ptCreateCurves ln -s ptCreateCurves %buildroot%_bindir/%name-CreateCurves # fix permissions under %_datadir/%name find %buildroot%_datadir/%name -type f -print0|xargs -r0 chmod 644 -- %files %_bindir/* %doc README %files data %_datadir/%name/ %_datadir/applications/* %_datadir/pixmaps/photivo.png %files -n gimp-plugin-%name %gimpplugindir/ptGimp %changelog * Sat Feb 18 2012 Sergey V Turchin <zerg@altlinux.org> 0-alt2.60f1eb32cced.M60P.1 - rebuild with new exiv2 * Sun May 01 2011 Yuri N. Sedunov <aris@altlinux.org> 0-alt2.60f1eb32cced - built current snapshot * Fri Apr 01 2011 Yuri N. Sedunov <aris@altlinux.org> 0-alt1.a02c90cbbe57.2 - built current snapshot * Thu Mar 17 2011 Yuri N. Sedunov <aris@altlinux.org> 0-alt1 - first build for Sisyphus |