%define majver %(echo %version | cut -d. -f1-2) Name: darktable Version: 1.4.2 Release: 2mamba Summary: An open source photography workflow application and RAW developer Group: Graphical Desktop/Applications/Graphics Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan URL: http://www.darktable.org/ Source: http://downloads.sourceforge.net/project/darktable/darktable/%{majver}/darktable-%{version}.tar.xz Patch0: darktable-1.0-librsvg-2.36.4.patch Patch1: darktable-1.4.2-build-fixes-x86.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libGL-devel BuildRequires: libGLU-devel BuildRequires: libICE-devel BuildRequires: libSDL-devel BuildRequires: libSM-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libcolord-devel BuildRequires: libcurl-devel BuildRequires: libexiv2-devel BuildRequires: libflickcurl-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgnome-keyring-devel BuildRequires: libgomp-devel BuildRequires: libgphoto2-devel BuildRequires: libgtk2-devel BuildRequires: libilmbase-devel BuildRequires: libjpeg-devel BuildRequires: libjson-glib-devel BuildRequires: liblcms2-devel BuildRequires: liblensfun-devel BuildRequires: liblua-devel BuildRequires: libopenexr-devel BuildRequires: libopenjpeg1-devel BuildRequires: libpango-devel BuildRequires: libpng-devel BuildRequires: libreadline-devel BuildRequires: librsvg-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libgphoto2-devel >= 1:2.5 BuildRoot: %{_tmppath}/%{name}-%{version}-root %debug_package %description Darktable is an open source photography workflow application and RAW developer. A virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images and enhance them. %prep %setup -q %patch1 -p1 %build %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang %{name} # remove unpackaged files rm -f %{buildroot}%{_defaultdocdir}/darktable/{AUTHORS,LICENSE,README,TRANSLATORS} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/darktable* %dir %{_libdir}/darktable %{_libdir}/darktable/libdarktable.so %dir %{_libdir}/darktable/plugins %{_libdir}/darktable/plugins/*.so %dir %{_libdir}/darktable/plugins/imageio %dir %{_libdir}/darktable/plugins/imageio/format %{_libdir}/darktable/plugins/imageio/format/*.so %dir %{_libdir}/darktable/plugins/imageio/storage %{_libdir}/darktable/plugins/imageio/storage/*.so %dir %{_libdir}/darktable/plugins/lighttable %{_libdir}/darktable/plugins/lighttable/*.so %dir %{_libdir}/darktable/views %{_libdir}/darktable/views/*.so %{_datadir}/appdata/darktable.appdata.xml %{_datadir}/applications/darktable.desktop %dir %{_datadir}/darktable %{_datadir}/darktable/* %{_datadir}/icons/hicolor/*/apps/darktable.png %{_datadir}/icons/hicolor/*/apps/darktable.svg %{_datadir}/icons/hicolor/scalable/apps/darktable-2.svg %dir %{_docdir}/darktable %{_docdir}/darktable/darktablerc.html %{_mandir}/man1/darktable.1* %{_mandir}/man1/darktable-cli.1* %changelog * Fri Dec 26 2014 Silvan Calarco 1.4.2-2mamba - rebuilt with libgphoto2 2.5.5 * Sat May 03 2014 Automatic Build System 1.4.2-1mamba - automatic version update by autodist * Sun Mar 30 2014 Automatic Build System 1.4.1-1mamba - automatic version update by autodist * Sat Dec 28 2013 Automatic Build System 1.4-1mamba - automatic version update by autodist * Wed Sep 11 2013 Automatic Build System 1.2.3-1mamba - automatic version update by autodist * Wed Jun 26 2013 Automatic Build System 1.2.2-1mamba - automatic version update by autodist * Tue May 28 2013 Automatic Build System 1.2.1-1mamba - automatic version update by autodist * Sun Apr 14 2013 Automatic Build System 1.2-1mamba - update to 1.2 * Mon Feb 11 2013 Automatic Build System 1.1.3-1mamba - automatic version update by autodist * Mon Jan 14 2013 Automatic Build System 1.1.2-1mamba - automatic version update by autodist * Sat Dec 15 2012 Automatic Build System 1.1.1-1mamba - update to 1.1.1 * Sun Dec 02 2012 Automatic Build System 1.1-1mamba - automatic version update by autodist * Sat Nov 10 2012 Silvan Calarco 1.0-2mamba - rebuilt with libkexiv2 4.9.3 * Fri Mar 23 2012 Ercole 'ercolinux' Carpanetto 1.0-1mamba - update to version 1.0 * Sat Jan 21 2012 Davide Madrisan 0.9.3-1mamba - package created by autospec