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