File gpa.spec of Package gpa
#
# spec file for package gpa
#
# 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: gpa
Version: 0.9.3
Release: 0
Summary: GNU Privacy Assistant
License: GPL-3.0
Group: Productivity/Security
Url: http://www.gnupg.org/related_software/gpa/index.html
Source: gpa-%{version}.tar.bz2
BuildRequires: gnupg
BuildRequires: gpgme-devel >= 1.2.0
BuildRequires: gtk2-devel >= 2.10.0
BuildRequires: libassuan-devel >= 1.1.0
BuildRequires: update-desktop-files
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
%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