]> git.pld-linux.org Git - packages/geheimnis.git/blob - geheimnis.spec
- added using %%{__make} macro.
[packages/geheimnis.git] / geheimnis.spec
1 Summary:        Geheimnis: KDE program for using GnuPG, PGP2, and PGP5 in a graphical manner.
2 Name:           geheimnis
3 Version:        0.60
4 Release:        1
5 License:        GPL
6 Group:          X11/KDE/Utilities
7 ######          Unknown group!
8 Vendor:         Chris Wiegand <cwiegand@urgentmail.com>
9 Source0:        %{name}-%{version}.tar.gz
10 Patch0:         %{name}-%{version}.patch
11 URL:            http://members.home.com/cdwiegand/geheimnis
12 BuildRequires:  qt-devel >= 1.42
13 BuildRequires:  kdesupport-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
18
19 %description
20 Geheimnis is a KDE program for using GnuPG, PGP2, and PGP5 in a
21 graphical manner reminiscent of Win31's PGP shells. It is built and
22 tested under KDE 1.0 (actually, revision 0.99 it appears).
23
24 %description -l pl
25 Geheminis jest programem KDE umozliwiaj±cym u¿ycie GNUPG, PGP2 i PGP5
26 poprzez interfejs graficzny, podobnie jak w pow³okach PGP Windows
27 3.1x. Program zosta³ zbudowany i przetestowany pod KDE 1.0 (a
28 dok³adnie w wersji 0.99).
29
30 %prep
31 %setup -q
32 %patch -p1
33
34 %build
35 if [ -z "$KDEDIR" ]; then
36         export KDEDIR=%{_prefix}
37 fi
38 ./configure --build-rpms
39 %{__make} CFLAGS="$RPM_OPT_FLAGS -I. -Wall"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} DESTDIR=$RPM_BUILD_ROOT install
44
45 cd $RPM_BUILD_ROOT
46 find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
47 find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
48 find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f ../file.list.%{name}
54 %defattr(644,root,root,755)
This page took 0.062423 seconds and 3 git commands to generate.