2011-08-04 12:36:22 +02:00
|
|
|
#
|
|
|
|
# spec file for package darktable
|
|
|
|
#
|
2012-02-29 14:06:13 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-08-04 12:36:22 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-08-04 12:36:12 +02:00
|
|
|
|
|
|
|
Name: darktable
|
2012-12-14 06:37:17 +01:00
|
|
|
Version: 1.1.1
|
2012-02-29 14:06:13 +01:00
|
|
|
Release: 0
|
2011-08-04 12:36:12 +02:00
|
|
|
Url: http://darktable.sourceforge.net
|
2012-12-14 06:37:17 +01:00
|
|
|
Source0: https://downloads.sourceforge.net/project/darktable/darktable/1.1/darktable-%{version}.tar.gz
|
|
|
|
Source1: http://downloads.sourceforge.net/project/darktable/darktable/1.1/darktable-usermanual-%{version}.pdf
|
2011-08-04 12:36:12 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: cmake
|
2012-02-29 14:06:13 +01:00
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: fdupes
|
2011-08-04 12:36:12 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: lensfun-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2012-11-28 10:12:30 +01:00
|
|
|
BuildRequires: libxslt
|
2011-08-04 12:36:12 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: update-desktop-files
|
2012-11-28 10:12:30 +01:00
|
|
|
BuildRequires: pkgconfig(OpenEXR)
|
|
|
|
BuildRequires: pkgconfig(colord)
|
|
|
|
BuildRequires: pkgconfig(dri)
|
|
|
|
BuildRequires: pkgconfig(exiv2)
|
|
|
|
BuildRequires: pkgconfig(flickcurl)
|
|
|
|
BuildRequires: pkgconfig(gnome-keyring-1)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(libglade-2.0)
|
|
|
|
BuildRequires: pkgconfig(libgphoto2)
|
|
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2012-12-14 06:37:17 +01:00
|
|
|
BuildRequires: pkgconfig(sdl)
|
2012-06-14 22:25:32 +02:00
|
|
|
ExclusiveArch: %ix86 x86_64
|
2011-08-04 12:36:12 +02:00
|
|
|
|
|
|
|
Summary: A virtual Lighttable and Darkroom
|
2012-02-29 14:06:13 +01:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Graphics/Viewers
|
2011-08-04 12:36:12 +02:00
|
|
|
|
|
|
|
%description
|
2012-11-28 10:12:30 +01:00
|
|
|
darktable is a virtual lighttable and darkroom for photographers: it manages
|
|
|
|
your digital negatives in a database and lets you view them through a zoomable
|
2011-08-04 12:36:12 +02:00
|
|
|
lighttable. it also enables you to develop raw images and enhance them.
|
|
|
|
|
2012-12-14 06:37:17 +01:00
|
|
|
%package doc
|
|
|
|
Summary: A virtual Lighttable and Darkroom
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Graphics/Viewers
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
darktable is a virtual lighttable and darkroom for photographers: it manages
|
|
|
|
your digital negatives in a database and lets you view them through a zoomable
|
|
|
|
lighttable. it also enables you to develop raw images and enhance them.
|
|
|
|
|
|
|
|
This package provides the user manual in pdf format
|
2011-08-04 12:36:12 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-11-28 10:12:30 +01:00
|
|
|
chmod -x tools/create_control_svg.sh tools/purge_non_existing_images.sh
|
2012-12-14 06:37:17 +01:00
|
|
|
cp %{S:1} darktable-usermanual.pdf
|
2011-08-04 12:36:12 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
[ ! -d "build" ] && mkdir build
|
|
|
|
cd build
|
|
|
|
|
2012-11-28 10:12:30 +01:00
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing "
|
2011-08-04 12:36:12 +02:00
|
|
|
export CFLAGS="$CXXFLAGS"
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL=%{_lib} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
Accepting request 128842 from graphics
- Update to release 1.0.5
+ Update to RawSpeed r438
+ Update to LibRaw 0.14.7
+ White balance presets for Nikon Coolpix P7100 and Panasonic GF3
+ White balance preset updates for Canon EOS 7D, Canon EOS 350D
+ Standard Color Matrices for Canon EOS 650D, Canon EOS 5D Mark
III, Canon EOS 1D X, Canon PowerShot G1 X, Canon PowerShot SX220,
Nikon D3200, Nikon D4, Nikon D800, Olympus E-M5, Panasonic GF5,
Sony SLT-A37/A57, Leica X1/X2, Sony DSC-RX100
+ A few memory leaks were resolved
+ A few generic bugs were resolved
- use -DLENSFUN_INCLUDE_DIR to fix finding lensfun.h (forwarded request 128841 from toganm)
OBS-URL: https://build.opensuse.org/request/show/128842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=16
2012-07-24 16:08:15 +02:00
|
|
|
-DBINARY_PACKAGE_BUILD=1 \
|
2012-11-28 10:12:30 +01:00
|
|
|
-DUSE_XMLLINT=OFF \
|
|
|
|
-DINSTALL_IOP_EXPERIMENTAL=On ..
|
2011-08-04 12:36:12 +02:00
|
|
|
%__make %{_smp_mflags} VERBOSE=1
|
|
|
|
|
|
|
|
%install
|
|
|
|
cd build
|
|
|
|
%make_install
|
|
|
|
cd ..
|
|
|
|
%suse_update_desktop_file darktable
|
|
|
|
find %{buildroot}%{_libdir} -name "*.la" -delete
|
|
|
|
%find_lang darktable
|
|
|
|
|
|
|
|
%__mkdir_p %{buildroot}%{_defaultdocdir}
|
|
|
|
%__mv %{buildroot}%{_datadir}/doc/darktable %{buildroot}%{_defaultdocdir}
|
|
|
|
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
|
|
|
|
%files -f darktable.lang
|
|
|
|
%defattr(-,root,root)
|
2012-12-14 06:37:17 +01:00
|
|
|
%doc doc/AUTHORS doc/TODO doc/LICENSE tools/purge_non_existing_images.sh tools/create_control_svg.sh
|
2011-08-04 12:36:12 +02:00
|
|
|
%{_bindir}/darktable
|
|
|
|
%{_bindir}/darktable-cltest
|
2012-11-28 10:12:30 +01:00
|
|
|
%{_bindir}/darktable-cli
|
2012-12-14 06:37:17 +01:00
|
|
|
%{_bindir}/darktable-viewer
|
2011-08-04 12:36:12 +02:00
|
|
|
%{_libdir}/darktable
|
|
|
|
%{_datadir}/applications/darktable.desktop
|
|
|
|
%{_datadir}/darktable
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/darktable.*
|
|
|
|
%{_mandir}/man1/darktable.1.*
|
2011-09-05 16:25:30 +02:00
|
|
|
|
2012-12-14 06:37:17 +01:00
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc darktable-usermanual.pdf
|
|
|
|
|
2011-08-04 12:36:22 +02:00
|
|
|
%changelog
|