forked from pool/go-sendxmpp
This commit is contained in:
parent
f098637545
commit
83f8d52086
@ -31,7 +31,7 @@ BuildRequires: golang-packaging
|
|||||||
A little tool to send messages to an XMPP contact or MUC.
|
A little tool to send messages to an XMPP contact or MUC.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go build \
|
go build \
|
||||||
@ -41,10 +41,10 @@ go build \
|
|||||||
%install
|
%install
|
||||||
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
|
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -d %{buildroot}%{_mandir}/man1
|
install -d %{buildroot}%{_mandir}/man1
|
||||||
install -D -m0655 man/%{name}.1 %{buildroot}%{_mandir}/man1
|
install -D -m0644 man/%{name}.1 %{buildroot}%{_mandir}/man1
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man1/*.1
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user