48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
Name: sux
|
|
Version: 1.0.1
|
|
Release: 1mamba
|
|
Summary: A wrapper around su which will transfer your X credentials
|
|
Group: System/X11
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://sourceforge.net/projects/sux/
|
|
Source: http://downloads.sourceforge.net/project/sux/sux/%{version}/sux-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: coreutils
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
sux is a wrapper around su which will transfer your X credentials.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -d -m0755 %{buildroot}%{_bindir}
|
|
install -m0755 sux %{buildroot}%{_bindir}/sux
|
|
install -m0755 suxterm %{buildroot}%{_bindir}/suxterm
|
|
install -d -m0755 %{buildroot}%{_mandir}/man1
|
|
install -m0644 debian/sux.1 %{buildroot}%{_mandir}/man1/sux.1
|
|
install -m0644 debian/suxterm.1 %{buildroot}%{_mandir}/man1/suxterm.1
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/sux
|
|
%{_bindir}/suxterm
|
|
%{_mandir}/man1/sux.1*
|
|
%{_mandir}/man1/suxterm.1*
|
|
%doc debian/copyright
|
|
|
|
%changelog
|
|
* Sat Jul 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
|
- package created by autospec
|