[i3lock/f17] Install manpage, README, LICENSE and CHANGELOG

Martin Preisler mpreisle at fedoraproject.org
Fri Jul 13 15:53:15 UTC 2012


commit 03fc2ef9e71592d84280cb7cca333f41055f3adc
Author: Martin Preisler <mpreisle at redhat.com>
Date:   Fri Jul 13 17:27:12 2012 +0200

    Install manpage, README, LICENSE and CHANGELOG
    
    Conflicts:
    	i3lock.spec

 i3lock.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/i3lock.spec b/i3lock.spec
index 1f98fdc..14170d2 100644
--- a/i3lock.spec
+++ b/i3lock.spec
@@ -1,6 +1,6 @@
 Name:           i3lock
 Version:        2.4.1
-Release:        2
+Release:        3
 Summary:        Simple X display locker
 
 Group:          User Interface/Desktops
@@ -41,7 +41,7 @@ sed \
 %build
 # we have to add libev cflags because the Makefile doesn't list them
 CFLAGS="%{optflags} `pkg-config --cflags libev`" make NOLIBCAIRO=y %{?_smp_mflags}
-
+gzip i3lock.1
 
 %install
 rm -rf %{buildroot}
@@ -49,10 +49,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}
@@ -60,12 +61,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-3
+- Make sure we install README, LICENSE, CHANGELOG and the manpage
+
 * Wed Jun 06 2012 Martin Preisler <mpreisle at redhat.com> - 2.4.1-2
 - Don't build with cairo support, cairo in f17 doesn't have the required XCB backend
 


More information about the scm-commits mailing list