Summary: Geheimnis: KDE program for using GnuPG, PGP2, and PGP5 in a graphical manner
Summary(pl): Graficzny interfejs pod KDE do programów GnuPG, PGP2 i PGP5
Name: geheimnis
-Version: 0.60
+Version: 1.96
Release: 1
License: GPL
Group: X11/Applications
Vendor: Chris Wiegand <cwiegand@urgentmail.com>
-Source0: http://munitions.vipul.net/software/pgp/frontend/%{name}_%{version}.tar.gz
-Patch0: %{name}-%{version}.patch
-URL: http://members.home.com/cdwiegand/geheimnis
-BuildRequires: qt-devel >= 1.42
-BuildRequires: kdesupport-devel
+Source0: ftp://ftp.sourceforge.net/pub/sourceforge/geheimnis/%{name}-%{version}.tar.gz
+URL: http://geheimnis.sourceforge.net/
+BuildRequires: kdelibs-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
%description
Geheimnis is a KDE program for using GnuPG, PGP2, and PGP5 in a
-graphical manner reminiscent of Win31's PGP shells. It is built and
-tested under KDE 1.0 (actually, revision 0.99 it appears).
+graphical manner reminiscent of Win31's PGP shells.
%description -l pl
Geheminis jest programem KDE umozliwiaj±cym u¿ycie GNUPG, PGP2 i PGP5
poprzez interfejs graficzny, podobnie jak w pow³okach PGP Windows
-3.1x. Program zosta³ zbudowany i przetestowany pod KDE 1.0 (a
-dok³adnie w wersji 0.99).
+3.1x.
%prep
-%setup -q
-%patch -p1
+%setup -q -n %{name}
%build
-if [ -z "$KDEDIR" ]; then
- export KDEDIR=%{_prefix}
-fi
-./configure --build-rpms
-%{__make} CFLAGS="%{rpmcflags} -I. -Wall"
+kde_icondir="%{_pixmapsdir}"; export kde_icondir
+%configure2_13
+
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+mv -f $RPM_BUILD_ROOT%{_applnkdir}/{Applications,Utilities}
-cd $RPM_BUILD_ROOT
-find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
-find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
-find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
+gzip -9nf AUTHORS NEWS TODO
%clean
rm -rf $RPM_BUILD_ROOT
-%files -f ../file.list.%{name}
+%files
%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/apps/geheimnis
+%{_pixmapsdir}/*/*/apps/*
+%{_applnkdir}/Utilities/geheimnis.desktop