File gpa.spec of Package gpa

#
# spec file for package gpa (Version 0.8.0)
#
# Copyright (c) 2008 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:           gpa
BuildRequires:  gnupg gpgme-devel gtk2-devel libassuan-devel update-desktop-files
Version:        0.8.0
Release:        1
License:        GPL v2 or later
Group:          Productivity/Security
AutoReqProv:    on
Summary:        GNU Privacy Assistant
Source:         gpa-%{version}.tar.bz2
Source1:        gpa.desktop
Url:            http://www.gnupg.org/related_software/gpa/index.html
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.



Authors:
--------
    Markus Gerwinski <markus.gerwinski@sercon.de>
    Peter Gerwinski <markus.gerwinski@sercon.de>
    Werner Koch <werner.koch@guug.de>

%prep
%setup -q

%build
echo >> configure.ac
aclocal
automake
autoreconf --force --install
test -f po/Makevars || mv po/Makevars.template po/Makevars
export CFLAGS=$RPM_OPT_FLAGS 
%configure \
        --enable-shared \
        --with-gnu-ld \
        --enable-static-rnd=linux \
make

%check
make check

%install
#make install DESTDIR=$RPM_BUILD_ROOT
%makeinstall
mv $RPM_BUILD_ROOT/usr/share/locale/zh_TW.Big5 \
   $RPM_BUILD_ROOT/usr/share/locale/zh_TW
%suse_update_desktop_file -i %name Security
%find_lang %{name}

%files -f %{name}.lang
%defattr(-,root,root)
/usr/share/applications/%name.desktop
/usr/bin/gpa
%doc NEWS COPYING TODO THANKS AUTHORS
/usr/share/pixmaps/gpa.png
/usr/share/gpa

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Mon Sep 15 2008 ro@suse.de
- remove gtk-devel from buildrequires
* Fri Sep 05 2008 puzel@suse.cz
- update to 0.8.0
  * Add basic UI server mode and option --daemon.
  * GPA now supports direct crypto operations to and from the
  clipboard, and features a simple text edit area as well.
  * GPA supports manipulating the backend configuration through
  gpg-conf.
  * GPA has now basic support for X.509; use the command line switch
     --cms to enable this.
  * The default keyserver is now taken from gpg.conf and not from
  gpa.conf.
- add libassuan to BuildReqs
- update authors section
* Thu Feb 21 2008 crrodriguez@suse.de
- fix desktop file again
- use find_lang macro
* Wed May 30 2007 ltinkl@suse.cz
- update to bugfix release 0.7.6
- add gnupg to BuildRequires to fix compilation
- fix .desktop file English Name spelling
- fix rpmlint warning about %%check section
* Mon May 14 2007 coolo@suse.de
- fix desktop file
* Wed Mar 14 2007 ltinkl@suse.cz
- update to 0.7.5
  * Allow setting a password if it was empty.
  * Fixed changing of expiration date for non-C-99 systems.
  * Fixed a crash while encrypting several files.
  * Fixed a bug while encrypting to several keys.
* Mon Sep 04 2006 pnemec@suse.cz
- updated to version 0.7.4
  fixed minor bugs
  added icon
* Wed Aug 30 2006 ro@suse.de
- add extra newline to configure.ac for new m4
* Wed Jul 12 2006 pnemec@suse.cz
- updated to version 0.7.3
  fixed many minor bugs
  added desktop file
  add detection for detached signature
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006 kukuk@suse.de
- Add gpgme-devel to nfb
* Tue Dec 14 2004 sndirsch@suse.de
- moved chinese mo file to correct directory (Bug #47262)
* Thu Aug 05 2004 postadal@suse.cz
- updated to version 0.7.0
- removed obsoleted patch gcc3
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Mon Sep 08 2003 adrian@suse.de
- remove Utility Category
* Sun Aug 17 2003 adrian@suse.de
- add desktop file
* Thu Jun 19 2003 ro@suse.de
- build with current gettext
* Tue Nov 12 2002 ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> to <>
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Thu Feb 14 2002 postadal@suse.cz
- used macro %%{suse_update_config}
* Tue Jan 22 2002 vinil@suse.cz
- Update to gpa-0.4.3 (hope didn't brake gcc3 fixes :-)
* Tue Sep 11 2001 garloff@suse.de
- Fix gcc3 fixes :-(
* Mon Sep 10 2001 garloff@suse.de
- Update to gpa-0.4.2.
  * Many fixes
  * Supports GnuPG-1.0.5+ output format
- Include messages and share dir.
- gcc3 fixes (needed on axp)
* Wed Aug 08 2001 cihlar@suse.cz
- fixed to compile on axp
* Wed Jun 13 2001 pblaha@suse.cz
- fix compilation and #needforbuild
- fix prefix into /usr/X11R6/
- bziped source
* Wed Oct 25 2000 garloff@suse.de
- Initial creation of package gpa-0.3.1.
openSUSE Build Service is sponsored by