From 6e2d2919875831a79a18188bb6e54747c369233a Mon Sep 17 00:00:00 2001 From: cassmodiah Date: Dec 02 2009 19:50:04 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..23c2be2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +i3lock-1.0.tar.gz diff --git a/i3lock.spec b/i3lock.spec new file mode 100644 index 0000000..08c4ab7 --- /dev/null +++ b/i3lock.spec @@ -0,0 +1,61 @@ +Name: i3lock +Version: 1.0 +Release: 1%{?dist} +Summary: Simple X display locker + +Group: User Interface/Desktops +License: MIT +URL: http://i3.zekjur.net/i3lock/ +Source0: http://i3.zekjur.net/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libX11-devel +BuildRequires: pam-devel +BuildRequires: libXext-devel + + +%description +i3lock improves slock by making it fork() and therefore combinable with commands +to suspend your computer. Additionally, instead of turning off your screen via +DPMS and/or displaying a black screen, i3lock displays a white screen so you can +see if your computer failed to resume from suspend or if your screen is just +locked. Also, when entering a wrong password, i3lock does not call XBell(). +This is important because i3lock/slock think you’ve entered a password when +resuming from suspend, at least sometimes. + + +%prep +%setup -q + +##### I M P O R T A N T ##### +##### !!!! TO CHECK ON EVERY UPDATE !!!! ##### +# honor optflags and generate debugpackage +sed -e 's|CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}|CFLAGS = -std=c99 -pedantic %{optflags} ${INCS} ${CPPFLAGS}|g' \ + -e 's|LDFLAGS = -s ${LIBS}|LDFLAGS = ${LIBS}|g' \ + -i config.mk +############################################## + + +%build +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} INSTALL="install -p" + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENSE +%{_bindir}/%{name} +%{_mandir}/man*/%{name}* + + +%changelog +* Wed Dec 02 2009 Simon Wesp - 1.0-1 +- Package build for Fedora diff --git a/import.log b/import.log new file mode 100644 index 0000000..100f176 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +i3lock-1_0-1_fc12:HEAD:i3lock-1.0-1.fc12.src.rpm:1259783201 diff --git a/sources b/sources index e69de29..b9b2cf4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +27db4766271d0c7ea3bbb14ac7b9932c i3lock-1.0.tar.gz