LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File Reveal.spec of Package Reveal (Project home:llunak:attic)

# spec file for package Reveal (Version 1.3)
# Copyright 2006 Pavel Nemec <pnemec@suse.cz>
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
# 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.

# norootforbuild                                                                             

Name:           Reveal
Version:        1.3
%define clay_version 2007_08_21
BuildRequires:  zlib-devel libjpeg-devel libtiff-devel
BuildRequires:  libexiv2-devel <= 0.17.1
BuildRequires:  update-desktop-files libqt4-devel gcc-c++ fdupes

URL:            http://albumshaper.sourceforge.net/
Release:        1
License:        GPLv2
Source:         clay_%clay_version.tar.bz2
Source1:        Reveal.desktop
Patch0:         disable-translation.patch
Patch1:		common-ressource_path.patch
Patch2:		Reveal-ressource-dir.patch
Patch3:         common-gcc43.patch
Patch4:         common-qmake-defines.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Productivity/Graphics/Viewers
Autoreqprov:    on
Summary:        EXIF Metadata Viewer

Easy to use, cross platform EXIF metadata viewer with
limited editing capabilities. Reveal was designed to present
as many details about how a photo was taken in a clear and
easy to understand format.

    Will Stokes <wstokes@gmail.com>


%setup -q -n clay_%clay_version

cd projects
qmake Reveal.pro

find . -name "*png" -exec chmod -x '{}' \;
find . -type d -name ".svn" | xargs rm -rf
cd projects    

cd resources
cd Reveal
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/pixmaps/
install -m 0644 Reveal.png $RPM_BUILD_ROOT/usr/share/pixmaps/reveal.png
%suse_update_desktop_file -i Reveal

%fdupes %{buildroot}%{_datadir}/Reveal/exifIcons

rm -rf "$RPM_BUILD_ROOT"

%doc docs/authors.txt docs/changelog_reveal.txt docs/copying.txt