package created by autospec [release 1.0.1-1mamba;Sat Jul 28 2012]

This commit is contained in:
Silvan Calarco 2024-01-05 18:12:48 +01:00
parent 5e06d3ae59
commit 5e9e5f6461
2 changed files with 49 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sux # sux
sux is a wrapper around su which will transfer your X credentials.

47
sux.spec Normal file
View File

@ -0,0 +1,47 @@
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