[3563] | 1 | %define date 20110419 |
---|
[1127] | 2 | |
---|
| 3 | Summary: The basic required files for the root user's directory. |
---|
| 4 | Summary(ja): rootユーザのためのデフォルトファイル |
---|
| 5 | Name: rootfiles |
---|
[3562] | 6 | Version: 8.1 |
---|
[1127] | 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: Public Domain |
---|
| 9 | Group: System Environment/Base |
---|
| 10 | Source: rootfiles-vine-%{date}.tar.bz2 |
---|
[3562] | 11 | |
---|
[1127] | 12 | BuildArchitectures: noarch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-root |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | The rootfiles package contains basic required files that are placed |
---|
| 17 | in the root user's account. These files are basically the same |
---|
| 18 | as the files found in the etcskel package, which are placed in regular |
---|
| 19 | users' home directories. |
---|
| 20 | |
---|
| 21 | %description -l ja |
---|
| 22 | rootfiles パッケージは root ユーザアカウントに必要とされる基本的な |
---|
| 23 | ファイルを含んでいます。これらのファイルは etcskel に含まれる通常の |
---|
| 24 | ユーザ用のファイルと基本的に同じです。 |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n rootfiles-vine-%{date} |
---|
| 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf $RPM_BUILD_ROOT |
---|
| 31 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 32 | |
---|
| 33 | %clean |
---|
| 34 | rm -rf $RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | %pre |
---|
| 37 | # we used to put .Xclients in this package -- back it up if it's been |
---|
| 38 | # customized |
---|
| 39 | cd /root |
---|
| 40 | if [ -f .Xclients -a -x /bin/awk ]; then |
---|
| 41 | m=`md5sum .Xclients | awk '{ print $1 }'` |
---|
| 42 | if [ $m != "506b9496f2853fc9fee6c6b1c5f3ee48" ]; then |
---|
| 43 | mv .Xclients .Xclients.rpmsave |
---|
| 44 | fi |
---|
| 45 | fi |
---|
| 46 | |
---|
| 47 | %files |
---|
| 48 | %defattr(640,root,root) |
---|
| 49 | %attr(750,root,root) %dir /root/.xemacs |
---|
| 50 | %attr(700,root,root) %dir /root/.gnupg |
---|
| 51 | %config /root/.[A-z]* |
---|
| 52 | |
---|
| 53 | %changelog |
---|
[3564] | 54 | * Tue Mar 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 8.1-1 |
---|
| 55 | - cleanup dotfiles |
---|
[3562] | 56 | |
---|
| 57 | * Fri May 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 8.0-1 |
---|
| 58 | - synced with etcskel-4.0.0 |
---|
| 59 | |
---|
[1127] | 60 | * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 7.8-1vl5 |
---|
| 61 | - applied new versioning policy, spec in utf-8 |
---|
| 62 | |
---|
| 63 | * Sun Jan 28 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 7.8-0vl2 |
---|
| 64 | - fix typo in spec <BTS:VineLinux:425> |
---|
| 65 | - add japanese description |
---|
| 66 | |
---|
| 67 | * Thu Nov 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 7.8-0vl1 |
---|
| 68 | - remove .rpmmacros |
---|
| 69 | |
---|
| 70 | * Thu Oct 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 7.7-0vl1 |
---|
| 71 | - synced with etcskel-3.4.0 |
---|
| 72 | - add .rpmmacros |
---|
| 73 | - use License: tag |
---|
| 74 | |
---|
| 75 | * Wed Aug 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 7.6-0vl1 |
---|
| 76 | - add .gnupg directory for first run of apt-get update |
---|
| 77 | - synced with etcskel-3.0-0vl3 |
---|
| 78 | |
---|
| 79 | * Wed Jul 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 7.5-0vl1 |
---|
| 80 | - synced with etcskel-3.0-0vl2 |
---|
| 81 | |
---|
| 82 | * Tue Jun 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 7.4-0vl1 |
---|
| 83 | - synced with etcskel-2.9-0vl3 |
---|
| 84 | |
---|
| 85 | * Mon Jun 21 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 7.3-0vl1 |
---|
| 86 | - synced with etcskel-2.9-0vl2 |
---|
| 87 | |
---|
| 88 | * Tue Nov 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 7.2-0vl1 |
---|
| 89 | - synced with etcskel-2.6-1vl1 |
---|
| 90 | |
---|
| 91 | * Sat Apr 21 2001 <sagami@vinelinux.org> |
---|
| 92 | - 6.2-0vl1 from 5.2-5vl4: what comes from 5.2?? /etc/redhat-release !? |
---|
| 93 | - imported some files from etcskel-2.3-1vl12 (Xdefaults, emacs.el ,canna...) |
---|
| 94 | |
---|
| 95 | * Tue Jan 23 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp> |
---|
| 96 | - fixed "eng" alias (LC_ALL) |
---|
| 97 | - defattr 640 |
---|
| 98 | - added Makefile to be lazy... |
---|
| 99 | |
---|
| 100 | * Wed Mar 15 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 101 | - update .Xdefaults and inport .canna |
---|
| 102 | |
---|
| 103 | * Sun Mar 5 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 104 | - inport dot-files from etcskel |
---|
| 105 | |
---|
| 106 | * Thu Oct 21 1999 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rins.st.ryukoku.ac.jp> |
---|
| 107 | - 5.2-5vl1 |
---|
| 108 | - add .emacs, .emacs.el, .xemacs.el and .canna onto 5.2-5 |
---|
| 109 | |
---|
| 110 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 111 | - auto rebuild in the new build environment (release 5) |
---|
| 112 | |
---|
| 113 | * Tue Jan 12 1999 Jeff Johnson <jbj@redhat.com> |
---|
| 114 | - add %clean (#719) |
---|
| 115 | |
---|
| 116 | * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 117 | - build for 6.0 |
---|
| 118 | |
---|
| 119 | * Wed Oct 9 1998 Bill Nottingham <notting@redhat.com> |
---|
| 120 | - remove /root from %files (it's in filesystem) |
---|
| 121 | |
---|
| 122 | * Sun Aug 23 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 123 | - portability fix for .cshrc (problem #235) |
---|
| 124 | - change version to be same as release. |
---|
| 125 | |
---|
| 126 | * Tue Sep 09 1997 Erik Troan <ewt@redhat.com> |
---|
| 127 | - made a noarch package |
---|
| 128 | |
---|
| 129 | * Thu Mar 20 1997 Erik Troan <ewt@redhat.com> |
---|
| 130 | - Removed .Xclients and .Xsession from package, added %pre to back up old |
---|
| 131 | .Xclients if necessary. |
---|