]> git.pld-linux.org Git - packages/cl.git/commitdiff
- made homepage, use make and optflags
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 2 Jan 2007 11:45:22 +0000 (11:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cl.spec -> 1.2

cl.spec

diff --git a/cl.spec b/cl.spec
index 0bce28847986f4a54a505b2c837883bdca011714..1afd70131788a3e7f08601b4d41b0058be58d527 100644 (file)
--- a/cl.spec
+++ b/cl.spec
@@ -4,8 +4,9 @@ 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
+Source0:       http://glen.alkohol.ee/cl/%{name}-%{version}.tar.bz2
+# Source0-md5: 05797d09bbb4d4c8b8c5024e6fb21ed0
+URL:           http://glen.alkohol.ee/cl/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -15,17 +16,16 @@ Linux Console locker by Rebane.
 rm -rf $RPM_BUILD_ROOT
 
 %prep
-%setup -qcT
-cp %{SOURCE0} cl.c
+%setup -q
 
 %build
-%{__cc} cl.c -o cl -lpam
+%{__make} \
+       OPTFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
-
-install cl $RPM_BUILD_ROOT%{_sbindir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
This page took 0.094787 seconds and 4 git commands to generate.