[i3lock] Install manpage, README, LICENSE and CHANGELOG
Martin Preisler
mpreisle at fedoraproject.org
Fri Jul 13 15:33:06 UTC 2012
commit 2103a56b94a2b08a6a27810bec343ba68011387d
Author: Martin Preisler <mpreisle at redhat.com>
Date: Fri Jul 13 17:27:12 2012 +0200
Install manpage, README, LICENSE and CHANGELOG
i3lock.spec | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/i3lock.spec b/i3lock.spec
index c0f26dc..836d9f5 100644
--- a/i3lock.spec
+++ b/i3lock.spec
@@ -1,6 +1,6 @@
Name: i3lock
Version: 2.4.1
-Release: 3
+Release: 4
Summary: Simple X display locker
Group: User Interface/Desktops
@@ -42,7 +42,7 @@ sed \
%build
# we have to add libev cflags because the Makefile doesn't list them
CFLAGS="%{optflags} `pkg-config --cflags libev`" make %{?_smp_mflags}
-
+gzip i3lock.1
%install
rm -rf %{buildroot}
@@ -50,10 +50,11 @@ make install \
DESTDIR=%{buildroot} \
INSTALL="install -p"
-mkdir -p %{buildroot}%{_sysconfdir}/pam.d/
+mkdir -p %{buildroot}/%{_sysconfdir}/pam.d/
install -Dpm0644 %{SOURCE1} \
%{buildroot}/%{_sysconfdir}/pam.d/%{name}
+install -Dpm0644 i3lock.1.gz %{buildroot}/%{_mandir}/man1/i3lock.1.gz
%clean
rm -rf %{buildroot}
@@ -61,12 +62,15 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc LICENSE
+%doc README CHANGELOG LICENSE
%{_bindir}/%{name}
%{_sysconfdir}/pam.d/%{name}
-
+%{_mandir}/man1/i3lock.1.gz
%changelog
+* Fri Jul 13 2012 Martin Preisler <mpreisle at redhat.com> - 2.4.1-4
+- Make sure we install README, LICENSE, CHANGELOG and the manpage
+
* Fri Jun 15 2012 Martin Preisler <mpreisle at redhat.com> - 2.4.1-3
- rebuilt with a bumped release number to make sure the package updates from f17
More information about the scm-commits
mailing list