Author: caleb Date: Mon Feb 13 19:59:33 2012 GMT Module: packages Tag: HEAD ---- Log message: - Initial add
---- Files affected: packages/slock: slock.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/slock/slock.spec diff -u /dev/null packages/slock/slock.spec:1.1 --- /dev/null Mon Feb 13 20:59:33 2012 +++ packages/slock/slock.spec Mon Feb 13 20:59:27 2012 @@ -0,0 +1,53 @@ +# $Revision$, $Date$ +Summary: slock - a simple X display locker +Name: slock +Version: 1.0 +Release: 0.1 +License: MIT +Group: Applications +Source0: http://dl.suckless.org/tools/%{name}-%{version}.tar.gz +# Source0-md5: 98503f0dae5acc15c90b81ffd423f987 +URL: http://tools.suckless.org/slock +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is the simplest X screen locker we are aware of. It is stable and +quite a lot of people in our community are using it every day when +they are out with friends or fetching some food from the local pub. + +%prep +%setup -q + +%build +cat << 'EOF' >> config.mk +PREFIX=%{_prefix} +CFLAGS:=%{rpmcflags} $(filter-out -Os,$(CFLAGS)) +LDFLAGS:=%{rpmldflags} $(LDFLAGS) +EOF + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(4755,root,root) %{_bindir}/slock +#%{_mandir}/man1/slock.1* + +%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 2012/02/13 19:59:27 caleb +- Initial add + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
