im-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. Summary: Internet Message
  2. Summary(ja): インターネット・メッセージ
  3. Name: im
  4. Version: 147
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Internet
  7. Source: http://tats.haun.org/im/im-%{version}.tar.gz
  8. URL: http://tats.haun.org/im/
  9. Requires: perl >= 1:5.8.2
  10. BuildArch: noarch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Distribution: Vine Linux
  13. Vendor: Project Vine
  14. License: Distributable
  15. %description
  16. This package provides a series of user interface commands (im*
  17. commands) and backend Perl5 libraries to integrate Email and NetNews
  18. user interface. They are designed to be used both from Mew and on
  19. command line.
  20. IM is be able to access local mail folder, local/remote NetNews and
  21. local NetNews spool.
  22. You should install perl 5.004_jp or above to use this RPM package.
  23. %description -l ja
  24. 電子メールとネット-ニュースのためのユーザインターフェイスを統合する
  25. Perl5 用のライブラリとコマンドが含まれています。
  26. Mew と コマンドラインで使用する用にデザインされています。
  27. IMは localメールフォルダー、local/remoteのニュースグループ、そして
  28. local のニュースグループ・スプールを取り扱います。
  29. また、このRPMパッケージにはperl 5.6 以上が必要です。
  30. %prep
  31. %setup -q
  32. %build
  33. %define MODDIR `perl -MConfig -e 'print $Config{installvendorlib}'`
  34. ./configure --libdir=%{_sysconfdir} --prefix=%{_prefix} --with-perldir=%{MODDIR}
  35. cd $RPM_BUILD_DIR/%{name}-%{version}/cnf.im
  36. sed -e 's/FromDomain=.*#/FromDomain=#/' \
  37. -e 's/ToDomain=.*#/ToDomain=#/' SiteConfig >SiteConfig.$$
  38. mv SiteConfig.$$ SiteConfig
  39. cd -
  40. %install
  41. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf $RPM_BUILD_ROOT
  42. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  43. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/im
  44. mkdir -p $RPM_BUILD_ROOT%{MODDIR}/IM
  45. make prefix=$RPM_BUILD_ROOT%{_prefix} \
  46. libdir=$RPM_BUILD_ROOT%{_sysconfdir} \
  47. perldir=$RPM_BUILD_ROOT%{MODDIR} \
  48. install
  49. rm -f rpm-files
  50. echo %{MODDIR}/IM/ > rpm-files
  51. %clean
  52. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  53. %post
  54. [ -f %{_libdir}/im/SiteConfig ] && cp %{_libdir}/im/SiteConfig %{_syscondir}/im/SiteConfig.rpmback || exit 0
  55. %files -f rpm-files
  56. %defattr(-, root, root)
  57. %doc 00* dot.im man
  58. %doc -P cnf.im/SiteConfig
  59. %dir %{_sysconfdir}/im
  60. %config(noreplace) %{_sysconfdir}/im/SiteConfig
  61. %{_bindir}/*
  62. %changelog
  63. * Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 147-1vl5
  64. - applied new versioning policy, spec in utf-8
  65. - rebuilt with perl-5.10.0
  66. * Tue Jul 11 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 147-0vl2
  67. - rebuilt with perl-5.8.6
  68. - used vendor_perl
  69. - changed Group to Applications/Internet
  70. * Wed Nov 10 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 147-0vl1
  71. - updated to 147
  72. - rebuilt with perl-5.8.2
  73. - used more macros
  74. - s/Copyright/License/
  75. * Sat Jun 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  76. - 140-2vl4
  77. - rebuilt with perl-5.6.1
  78. * Wed Jun 13 2001 Jun Nishii <jun@vinelinux.org> im-140-2vl2
  79. - build with perl-5.6
  80. * Fri Sep 8 2000 ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
  81. - im-140-2vl1
  82. - based on rpm of RedHat 7.0j.
  83. - fix incorrect Copyright in spec file.
  84. - change spec file name from im-{version}.spec to im.spec
  85. - SiteConfig move from /usr/lib/im to /etc/im
  86. - set %config /etc/im/SiteConfig
  87. - if /usr/lib/im/SiteConfig exist, it will be copied to
  88. /etc/im/SiteConfig.rpmback in %post
  89. * Wed Apr 26 2000 Lisa Sagami <czs14350@nifty.ne.jp>
  90. - updated im-140
  91. - added defattr
  92. * Wed Sep 29 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  93. - im-130-6
  94. - slight modifications for Vine-1.9
  95. - Change of my E-mail address.
  96. * Sun Sep 12 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  97. - im-130-5
  98. - optional specification of "perldir=" is forgotten
  99. to "make install" it modified it.
  100. * Sun Sep 12 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  101. - im-130-4
  102. - Description of the option of ".configre" and "make install"
  103. were modified.
  104. * Sat Sep 11 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  105. - im-130-3
  106. - modified spec file.
  107. * Mon Sep 6 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  108. - im-130-2
  109. - Spelling mistake was modified.
  110. - im-130-1
  111. - Only version change for stable release.
  112. * Fri Sep 3 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  113. - im-127-0.1
  114. - updated to im-127
  115. * Mon Aug 31 1999 Yasushi Karino <kari-p@mc.kcom.ne.jp>
  116. - im-126-1
  117. - first Release