Author: arekm                        Date: Sun Jul 19 10:34:55 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/rfkill:
   rfkill.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rfkill/rfkill.spec
diff -u /dev/null packages/rfkill/rfkill.spec:1.1
--- /dev/null   Sun Jul 19 12:34:55 2009
+++ packages/rfkill/rfkill.spec Sun Jul 19 12:34:50 2009
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+%define        snap    20090719
+Summary:       Simple /dev/rfkill userspace tool
+Name:          rfkill
+Version:       0.1
+Release:       0.%{snap}.1
+License:       GPL
+Group:         Networking/Admin
+# git clone http://git.sipsolutions.net/rfkill.git
+Source0:       %{name}-%{snap}.tar.bz2
+# Source0-md5: 3edde5a4e66ad8848036805d8adeb1c4
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _bindir /bin
+
+%description
+Simple /dev/rfkill userspace tool.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install rfkill $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/07/19 10:34:50  arekm
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to