LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gpa.spec of Package gpa (Project security:privacy)

#
# spec file for package gpa
#
# Copyright (c) 2013 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:           gpa
Version:        0.9.4
Release:        0
Summary:        GNU Privacy Assistant
License:        GPL-3.0
Group:          Productivity/Security
Url:            http://www.gnupg.org/related_software/gpa/index.html
Source:         ftp://ftp.gnupg.org/gcrypt/gpa/%{name}-%{version}.tar.bz2
Source1:        ftp://ftp.gnupg.org/gcrypt/gpa/%{name}-%{version}.tar.bz2.sig
Source2:        gpa.keyring
BuildRequires:  gnupg
BuildRequires:  gpgme-devel >= 1.2.0
BuildRequires:  gtk2-devel >= 2.10.0
BuildRequires:  libassuan-devel >= 1.1.0
BuildRequires:  update-desktop-files
%if 0%{?suse_version} >= 1230
BuildRequires:  gpg-offline
%endif
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Gnu Privacy Assistant (GPA) is a graphical user interface for Gnu
Privacy Guard (GPG) for displaying keyrings, manipulating keys,
checking signatures, and signing, decrypting, and encrypting files.

%lang_package
%prep
%{?gpg_verify: %gpg_verify %{S:1}}
%setup -q

%build
%configure \
        --with-gnu-ld 
%__make %{?_smp_mflags}

%install
%makeinstall
%suse_update_desktop_file -i %name Security
%find_lang %{name} %{?no_lang_C}

%check
make check

%clean
rm -rf $RPM_BUILD_ROOT

%post
%desktop_database_post

%postun
%desktop_database_postun

%files
%defattr(-,root,root)
%doc NEWS COPYING TODO THANKS AUTHORS ChangeLog ChangeLog-2011
%doc %{_mandir}/man1/%{name}.1%{?ext_man}
%{_bindir}/gpa
%{_datadir}/applications/%name.desktop
%{_datadir}/gpa/
%{_datadir}/pixmaps/gpa.png

%files lang -f %{name}.lang

%changelog