packages: kbd/kbd.spec - package upstart script
glen
glen at pld-linux.org
Thu Jul 21 12:42:56 CEST 2011
Author: glen Date: Thu Jul 21 10:42:56 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- package upstart script
---- Files affected:
packages/kbd:
kbd.spec (1.112 -> 1.113)
---- Diffs:
================================================================
Index: packages/kbd/kbd.spec
diff -u packages/kbd/kbd.spec:1.112 packages/kbd/kbd.spec:1.113
--- packages/kbd/kbd.spec:1.112 Fri May 27 20:33:18 2011
+++ packages/kbd/kbd.spec Thu Jul 21 12:42:51 2011
@@ -6,7 +6,7 @@
Summary(pl.UTF-8): Narzędzia do obsługi konsoli
Name: kbd
Version: 1.15.3
-Release: 2
+Release: 3
License: GPL v2+
Group: Applications/Console
Source0: ftp://ftp.altlinux.org/pub/people/legion/kbd/%{name}-%{version}.tar.gz
@@ -25,6 +25,7 @@
Source9: %{name}-mac-pl.kmap
Source10: %{name}-pl3.map
Source11: %{name}-pl4.map
+Source12: console.upstart
Patch0: %{name}-unicode_start.patch
Patch1: %{name}-ngettext.patch
Patch2: %{name}-tty-detect.patch
@@ -83,7 +84,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/bin,/etc/{profile.d,rc.d/init.d,sysconfig}}
+install -d $RPM_BUILD_ROOT{/bin,/etc/{profile.d,rc.d/init.d,sysconfig,init}}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
@@ -95,12 +96,13 @@
done
install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/console
-cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/console
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/console
+cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/init/console.conf
%ifarch sparc sparc64
sed -i -e 's/KEYTABLE=pl2/KEYTABLE=sunkeymap/' $RPM_BUILD_ROOT/etc/sysconfig/console
%endif
-cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_ldatadir}/consolefonts/lat2u-16.psfu.gz
+cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_ldatadir}/consolefonts/lat2u-16.psfu.gz
gunzip -c %{SOURCE5} > $RPM_BUILD_ROOT%{_ldatadir}/unimaps/lat2u.uni
gzip -c %{SOURCE8} > $RPM_BUILD_ROOT%{_ldatadir}/keymaps/i386/qwerty/pl1.map.gz
@@ -108,8 +110,8 @@
gzip -c %{SOURCE10} > $RPM_BUILD_ROOT%{_ldatadir}/keymaps/i386/qwerty/pl3.map.gz
gzip -c %{SOURCE11} > $RPM_BUILD_ROOT%{_ldatadir}/keymaps/i386/qwerty/pl4.map.gz
-cp -a %{SOURCE6} $RPM_BUILD_ROOT/etc/profile.d
-cp -a %{SOURCE7} $RPM_BUILD_ROOT/etc/profile.d
+cp -p %{SOURCE6} $RPM_BUILD_ROOT/etc/profile.d
+cp -p %{SOURCE7} $RPM_BUILD_ROOT/etc/profile.d
bzip2 -dc %{SOURCE3} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
@@ -138,6 +140,7 @@
%doc AUTHORS COPYING ChangeLog README doc/*.txt
%attr(754,root,root) /etc/rc.d/init.d/console
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/console
+%config(noreplace) %verify(not md5 mtime size) /etc/init/console.conf
%attr(755,root,root) /etc/profile.d/console.csh
%attr(755,root,root) /etc/profile.d/console.sh
@@ -216,6 +219,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.113 2011/07/21 10:42:51 glen
+- package upstart script
+
Revision 1.112 2011/05/27 18:33:18 qboosh
- when not packaging resizecons program, don't package its manual either
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kbd/kbd.spec?r1=1.112&r2=1.113&f=u
More information about the pld-cvs-commit
mailing list