]> git.pld-linux.org Git - packages/gabriel.git/blame - gabriel.spec
- missing BRs
[packages/gabriel.git] / gabriel.spec
CommitLineData
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.
d63e1d26 8#
9# NOTE:
10# - it won't work in most common configurations. DBUS authentication is really
11# strange. It assumes that client and server runs on the same host or at
12# least shares the home directory. The only use for this program I can
13# imagine is terminal server, thin clients uses /home from terminal server
14# via NFS, and application on client that want to talk to dbus on server.
15#
fbd50e06 16Summary: Secure remote D-Bus
17Summary(pl.UTF-8): Bezpieczny zdalny D-Bus
18Name: gabriel
19Version: 0.1
237d2693 20Release: 0.2
182b45ca 21License: GPL v2
fbd50e06 22Group: Applications
23Source0: http://dl.sourceforge.net/gabriel/%{name}-%{version}.tar.gz
24# Source0-md5: 136d971aaf4917c31bfdc25c3f713091
25# Very ugly hack. See TODO file.
26Patch0: %{name}-passphrase.patch
237d2693 27Patch1: %{name}-sshport.patch
fbd50e06 28URL: http://gabriel.sourceforge.net/
29BuildRequires: autoconf
30BuildRequires: automake
f48d7e73 31BuildRequires: glib2-devel
fbd50e06 32BuildRequires: libssh-devel
f48d7e73 33BuildRequires: pkgconfig
fbd50e06 34BuildRequires: rpmbuild(macros) >= 1.228
35Requires(post,preun): /sbin/chkconfig
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39Secure remote D-Bus.
40
41%description -l pl.UTF-8
42Bezpieczny zdalny D-Bus.
43
44%prep
45%setup -q
46
47%patch0 -p0
237d2693 48%patch1 -p0
fbd50e06 49
50%build
51# Is it correct?
52%{__aclocal}
53%{__autoconf}
54%{__automake}
55
56CPPFLAGS=-I/usr/include/glib-2.0
57%configure
58%{__make}
59%{__make} -C client
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64install -d $RPM_BUILD_ROOT%{_bindir}
65install client/gabriel $RPM_BUILD_ROOT%{_bindir}/%{name}
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc AUTHORS ChangeLog NEWS README server/gabriel-server-start server/gabriel-server-stop server/gabriel-dbus.conf
73%attr(755,root,root) %{_bindir}/gabriel
This page took 0.08972 seconds and 4 git commands to generate.