rpms/slock/devel import.log, NONE, 1.1 slock-0.9-flags.patch, NONE, 1.1 slock.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Pavel Shevchuk stalwart at fedoraproject.org
Fri Mar 27 15:47:13 UTC 2009


Author: stalwart

Update of /cvs/pkgs/rpms/slock/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17178/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log slock-0.9-flags.patch slock.spec 
Log Message:
Initial commit


--- NEW FILE import.log ---
slock-0_9-5_fc10:HEAD:slock-0.9-5.fc10.src.rpm:1238168476

slock-0.9-flags.patch:

--- NEW FILE slock-0.9-flags.patch ---
diff -urp slock-0.9.orig/config.mk slock-0.9/config.mk
--- slock-0.9.orig/config.mk	2008-07-29 22:22:46.000000000 +0400
+++ slock-0.9/config.mk	2009-03-16 10:52:56.000000000 +0300
@@ -15,8 +15,8 @@ LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
-CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
-LDFLAGS = -s ${LIBS}
+CFLAGS = ${RPM_OPT_FLAGS} ${INCS} ${CPPFLAGS}
+LDFLAGS = ${LIBS}
 
 # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
 # On OpenBSD and Darwin remove -lcrypt from LIBS


--- NEW FILE slock.spec ---
Name:           slock
Version:        0.9
Release:        5%{?dist}
Summary:        Simple X display locker

Group:          User Interface/X
License:        MIT
URL:            http://www.suckless.org/programs/slock.html
Source0:        http://code.suckless.org/dl/tools/%{name}-%{version}.tar.gz
Patch0:         slock-0.9-flags.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libX11-devel libXext-devel 

%description
slock is a simple X display locker. Really this is the simplest X screen locker
we are aware of. It is stable and quite a lot people in this community are
using it every day when they are out with friends or fetching some food from
the local pub.


%prep
%setup -q
# set fedora generic compiler flags and allow debuginfo generation
%patch0 -p1 -b .flags


%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install PREFIX=$RPM_BUILD_ROOT/usr


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_bindir}/%{name}
# There is no freedesktop.org .desktop file because slock is basically a helper
# binary for light windowmanagers, and it shouldn't appear in applications menu


%changelog
* Fri Mar 27 2009 Pavel "Stalwart" Shevchuk <stlwrt at gmail.com> - 0.9-5
- Added comment about unneeded .desktop file

* Mon Mar 23 2009 Pavel "Stalwart" Shevchuk <stlwrt at gmail.com> - 0.9-4
- Replaced sed expressions with a patch

* Sun Mar 15 2009 Pavel "Stalwart" Shevchuk <stlwrt at gmail.com> - 0.9-3
- Fixed debuginfo generation

* Sun Mar 08 2009 Pavel "Stalwart" Shevchuk <stlwrt at gmail.com> - 0.9-2
- Set fedora generic compiler flags

* Fri Feb 27 2009 Pavel "Stalwart" Shevchuk <stlwrt at gmail.com> - 0.9-1
- Initial specfile for slock


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/slock/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Mar 2009 17:16:56 -0000	1.1
+++ .cvsignore	27 Mar 2009 15:46:42 -0000	1.2
@@ -0,0 +1 @@
+slock-0.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/slock/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Mar 2009 17:16:56 -0000	1.1
+++ sources	27 Mar 2009 15:46:42 -0000	1.2
@@ -0,0 +1 @@
+df342ad129cf2c3b8eb8da9d9d0ab845  slock-0.9.tar.gz




More information about the fedora-extras-commits mailing list