rootfiles-vl.spec 3.8 KB

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