]>
Commit | Line | Data |
---|---|---|
fbd50e06 | 1 | # |
182b45ca | 2 | # TODO: |
3 | # - gabriel-passphrase.patch: | |
4 | # ssh_userauth_autopubkey from libssh takes two arguments. The second one is | |
5 | # public key passphrase. This patch asumes that passphrase is empty so it | |
6 | # won't work with encrypted public keys. It should call pinentry or something. | |
7 | # I have no idea. | |
fbd50e06 | 8 | Summary: Secure remote D-Bus |
9 | Summary(pl.UTF-8): Bezpieczny zdalny D-Bus | |
10 | Name: gabriel | |
11 | Version: 0.1 | |
12 | Release: 0.1 | |
182b45ca | 13 | License: GPL v2 |
fbd50e06 | 14 | Group: Applications |
15 | Source0: http://dl.sourceforge.net/gabriel/%{name}-%{version}.tar.gz | |
16 | # Source0-md5: 136d971aaf4917c31bfdc25c3f713091 | |
17 | # Very ugly hack. See TODO file. | |
18 | Patch0: %{name}-passphrase.patch | |
19 | URL: http://gabriel.sourceforge.net/ | |
20 | BuildRequires: autoconf | |
21 | BuildRequires: automake | |
22 | BuildRequires: glib-devel | |
23 | BuildRequires: libssh-devel | |
24 | BuildRequires: rpmbuild(macros) >= 1.228 | |
25 | Requires(post,preun): /sbin/chkconfig | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | Secure remote D-Bus. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Bezpieczny zdalny D-Bus. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %patch0 -p0 | |
38 | ||
39 | %build | |
40 | # Is it correct? | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__automake} | |
44 | ||
45 | CPPFLAGS=-I/usr/include/glib-2.0 | |
46 | %configure | |
47 | %{__make} | |
48 | %{__make} -C client | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | install -d $RPM_BUILD_ROOT%{_bindir} | |
54 | install client/gabriel $RPM_BUILD_ROOT%{_bindir}/%{name} | |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
60 | %defattr(644,root,root,755) | |
61 | %doc AUTHORS ChangeLog NEWS README server/gabriel-server-start server/gabriel-server-stop server/gabriel-dbus.conf | |
62 | %attr(755,root,root) %{_bindir}/gabriel |