Autobuild autoformatter for 77913

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/darktable?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2011-08-04 10:36:22 +00:00 committed by Git OBS Bridge
parent f81d07e6b2
commit 7fc49ede90

View File

@ -1,16 +1,34 @@
#
# 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/
#
# norootforbuild
Name: darktable
Version: 0.9.1
Release: 0
Release: 1
License: GPLv3+
Group: Productivity/Graphics/Viewers
Url: http://darktable.sourceforge.net
Source0: %{name}-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM 0001-Remove-dependancy-on-git.patch
# Tobias Ellinghaus # <houz@gmx.de>
# Backported from git fixing accelstrings_gen.h
Patch0: 0001-Remove-dependancy-on-git.patch
Patch0: 0001-Remove-dependancy-on-git.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
@ -35,7 +53,6 @@ BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: fdupes
Summary: A virtual Lighttable and Darkroom
%gconf_schemas_requires
@ -56,7 +73,6 @@ 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 \
@ -91,7 +107,6 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%posttrans -f %{name}.schemas_posttrans
%files -f darktable.lang
%defattr(-,root,root)
%doc doc/AUTHORS doc/TODO doc/LICENSE
@ -103,3 +118,4 @@ test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%{_datadir}/darktable
%{_datadir}/icons/hicolor/*/apps/darktable.*
%{_mandir}/man1/darktable.1.*
%changelog