darktable/darktable.spec
Stephan Kulow 084596cda2 Accepting request 90532 from graphics
- Upgrade to release 0.9.3:
  + sse optimizations
    * non-local means
    * graduated density
    * velvia
    * color management
    * equalizer
    * zone system
  + updated translations
    * ru,fr,es,ja,it,sq,pl,nl,de
  + more presets
    * split toning
    * tone curve
    * equalizer
    * color zones
  + lots of bugfixes
    * tiling code (low mem/opencl)
    * gcc 4.6 compat
  + updates
    * libraw 0.14b2
    * rawspeed r379
   as well as more basecurves and color matrices.
- added Mesa-devel to BuildRequires (forwarded request 90525 from toganm)

OBS-URL: https://build.opensuse.org/request/show/90532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=8
2011-11-08 16:24:22 +00:00

115 lines
3.3 KiB
RPMSpec

#
# spec file for package darktable
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: darktable
Version: 0.9.3
Release: 1
License: GPLv3+
Group: Productivity/Graphics/Viewers
Url: http://darktable.sourceforge.net
Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: gconf2-devel
BuildRequires: gnome-keyring-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: lensfun-devel
BuildRequires: libcurl-devel
BuildRequires: libexiv2-devel
BuildRequires: libflickcurl-devel
BuildRequires: libglade2-devel
BuildRequires: libgphoto2-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: librsvg-devel
BuildRequires: libtiff-devel
BuildRequires: OpenEXR-devel
BuildRequires: pkg-config
BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: fdupes
BuildRequires: dbus-1-glib-devel
BuildRequires: Mesa-devel
Summary: A virtual Lighttable and Darkroom
%gconf_schemas_requires
%description
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.
%prep
%setup -q
%build
[ ! -d "build" ] && mkdir build
cd build
export CXXFLAGS="%{optflags} -fno-strict-aliasing "
export CFLAGS="$CXXFLAGS"
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_INSTALL=%{_lib} \
-DDONT_INSTALL_GCONF_SCHEMAS:BOOLEAN=ON \
-DCMAKE_BUILD_TYPE=Release \
-DBINARY_PACKAGE_BUILD=1 \
-DINSTALL_IOP_EXPERIMENTAL=Off -DINSTALL_IOP_LEGACY=Off ..
%__make %{_smp_mflags} VERBOSE=1
%install
cd build
%make_install
cd ..
%__mkdir_p %{buildroot}%{_sysconfdir}/gconf/schemas
install -m644 data/darktable.schemas %{buildroot}%{_sysconfdir}/gconf/schemas
%suse_update_desktop_file darktable
find %{buildroot}%{_libdir} -name "*.la" -delete
%find_lang darktable
%find_gconf_schemas
cat darktable.schemas_list >> darktable.lang
%__mkdir_p %{buildroot}%{_defaultdocdir}
%__mv %{buildroot}%{_datadir}/doc/darktable %{buildroot}%{_defaultdocdir}
%fdupes %{buildroot}
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%files -f darktable.lang
%defattr(-,root,root)
%doc doc/AUTHORS doc/TODO doc/LICENSE
%{_bindir}/darktable
%{_bindir}/darktable-cltest
%{_bindir}/darktable-faster
%{_libdir}/darktable
%{_datadir}/applications/darktable.desktop
%{_datadir}/darktable
%{_datadir}/icons/hicolor/*/apps/darktable.*
%{_mandir}/man1/darktable.1.*
%changelog