plum-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. %define _lib lib
  2. Summary: Plum - proxy irc deamon
  3. Summary(ja): Plum - IRC 用中継/クライアントプログラム
  4. Name: plum
  5. Version: 2.33.2
  6. Release: 2%{?_dist_release}
  7. License: GPL
  8. Group: Applications/System
  9. Source: http://downloads.sourceforge.jp/plum/1482/%{name}-%{version}.tar.gz
  10. Url: http://sourceforge.jp/projects/plum/
  11. Patch: %{name}-2.33.1-debian.diff.gz
  12. Patch1: %{name}-debian.patch
  13. Patch2: plum-2.33.2-rfc2822.patch
  14. Requires: perl
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Autoreqprov: no
  17. BuildArchitectures: noarch
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
  21. %description
  22. plum
  23. %prep
  24. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  25. %setup
  26. %patch -p1
  27. %patch1 -p0
  28. %patch2 -p1
  29. %build
  30. %install
  31. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  32. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/plum
  33. install -m 755 plum ${RPM_BUILD_ROOT}%{_bindir}/plum
  34. cp -af module ${RPM_BUILD_ROOT}%{_libdir}/plum
  35. cp -af support ${RPM_BUILD_ROOT}%{_libdir}/plum
  36. %files
  37. %defattr(-,root,root)
  38. %doc doc/* *.conf
  39. %{_bindir}/plum
  40. %dir %{_libdir}/plum
  41. %{_libdir}/plum/*
  42. %changelog
  43. * Wed Mar 18 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.33.2-2
  44. - moved files from /usr/lib64 to /usr/lib. (for x86_64)
  45. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.33.2-1vl5
  46. - applied new versioning policy, spec in utf-8
  47. * Mon Apr 7 2003 IWAI Masaharu <iwai@alib.jp> 2.33.2-0vl2
  48. - add plum-2.33.2-rfc2822.patch (Patch2)
  49. - from http://sourceforge.jp/tracker/index.php?func=detail&aid=807&group_id=291&atid=1181
  50. * Mon Nov 4 2002 IWAI Masaharu <iwai@alib.jp> 2.33.2-0vl1
  51. - new upstream release
  52. - add URL tag
  53. - use rpmmacros
  54. - add example configuration files in %%doc
  55. - rename Patch0 in Spec file
  56. * Wed May 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  57. - 2.33.1-0vl2
  58. - increased release tag to avoid conflicting %{arch} & noarch rpm
  59. (both 2.33.1-0vl1.{i386,noarch}.rpm still exists on the tree)