]> git.pld-linux.org Git - packages/cl.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 2 Jan 2007 10:48:44 +0000 (10:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cl.spec -> 1.1

cl.spec [new file with mode: 0644]

diff --git a/cl.spec b/cl.spec
new file mode 100644 (file)
index 0000000..0bce288
--- /dev/null
+++ b/cl.spec
@@ -0,0 +1,32 @@
+Summary:       Console Locker
+Name:          cl
+Version:       0.1
+Release:       0.1
+License:       RPL Rebane Public License (beerware)
+Group:         Applications/System
+Source0:       http://rebane.alkohol.ee/%{name}.c.txt
+# Source0-md5: cf7cc688e32668bc297477a15069e299
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Linux Console locker by Rebane.
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%prep
+%setup -qcT
+cp %{SOURCE0} cl.c
+
+%build
+%{__cc} cl.c -o cl -lpam
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+install cl $RPM_BUILD_ROOT%{_sbindir}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/cl
This page took 0.088439 seconds and 4 git commands to generate.