File entangle.spec of Package entangle

#
# spec file for package entangle
#
# Copyright (c) 2012 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:           entangle
BuildRequires:  dbus-1-glib-devel
BuildRequires:  glib2-tools
BuildRequires:  gobject-introspection-devel
BuildRequires:  gtk3-devel
BuildRequires:  intltool
BuildRequires:  libgexiv2-devel
BuildRequires:  libgphoto2-devel
BuildRequires:  libgudev-1_0-devel
BuildRequires:  liblcms-devel
BuildRequires:  libpeas-devel
BuildRequires:  libtool
BuildRequires:  perl-Template-Toolkit
Summary:        A photobooth like application for libgphoto2
License:        GPL-3.0+
Group:          Development/Tools/Other
Version:        0.3.3
Release:        0
Url:            http://entangle-photo.org/
Source0:        http://entangle-photo.org/download/sources/%name-%version.tar.gz
Patch0:         entangle-desktop.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Entangle provides a graphical interface for "tethered shooting", aka
taking photographs with a digital camera completely controlled from
the computer.

%prep
%setup -q
%patch0 -p1

%build
%configure
make V=1

%check
make check

%install
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING NEWS README
%{_bindir}/*
%{_libdir}/girepository-1.0/Entangle-0.1.typelib
/usr/share/applications/entangle.desktop
/usr/share/entangle
%dir /usr/share/gir-1.0
/usr/share/gir-1.0/Entangle-0.1.gir
%dir /usr/share/glib-2.0/
%dir /usr/share/glib-2.0/schemas/
/usr/share/glib-2.0/schemas/gschemas.compiled
/usr/share/glib-2.0/schemas/org.entangle-photo.manager.gschema.xml
%dir /usr/share/gtk-doc
%dir /usr/share/gtk-doc/html
/usr/share/gtk-doc/html/Entangle

%dir /usr/share/locale/si
%dir /usr/share/locale/si/LC_MESSAGES
/usr/share/locale/*/LC_MESSAGES/entangle.mo

%changelog
openSUSE Build Service is sponsored by