[521] | 1 | Summary: a daily backup system similar to Plan9's dumpfs |
---|
| 2 | Summary(ja): Plan9 もどきのバックアップシステム |
---|
| 3 | Name: pdumpfs |
---|
| 4 | Version: 1.3 |
---|
[3608] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: GPL |
---|
| 7 | Group: Applications/Archiving |
---|
| 8 | URL: http://namazu.org/~satoru/%{name}/ |
---|
[3608] | 9 | Source0: http://namazu.org/~satoru/%{name}/%{name}-%{version}.tar.gz |
---|
[521] | 10 | Source1: http://tach.arege.net/software/pdumpfs-clean/pdumpfs-clean |
---|
[3608] | 11 | Patch0: pdumpfs-1.3-utf8.patch |
---|
| 12 | Patch1: pdumpfs-clean-utf8.patch |
---|
[521] | 13 | BuildArch: noarch |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | Requires: ruby |
---|
| 16 | BuildRequires: tar sed |
---|
| 17 | |
---|
| 18 | Vendor: Project Vine |
---|
| 19 | Distribution: Vine Linux |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | pdumpfs is a simple daily backup system similar to Plan9's dumpfs which |
---|
| 23 | preserves every daily snapshot. pdumpfs is written in Ruby. You can access |
---|
| 24 | the past snapshots at any time for retrieving a certain day's file. Let's |
---|
| 25 | backup your home directory with pdumpfs! |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | pdumpfs は Plan9 の dumpfs もどきの単純なバックアップシステムです。Ruby で |
---|
| 29 | 実装されています。毎日のスナップショットを保存するため、いつでも過去のファ |
---|
| 30 | イルを取り戻すことができます。ホームディレクトリのバックアップに利用すると |
---|
| 31 | 便利です。 |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
[3608] | 35 | %__cp %{SOURCE1} . |
---|
| 36 | %patch0 -p1 -b .utf8 |
---|
| 37 | %patch1 -p0 -b .clean_utf8 |
---|
[521] | 38 | |
---|
| 39 | %build |
---|
| 40 | %__make |
---|
| 41 | ( cd man/ja/man8 ; \ |
---|
[3608] | 42 | %{_bindir}/iconv -f iso-2022-jp -t utf-8 pdumpfs.8 > pdumpfs.8.tmp ; \ |
---|
[521] | 43 | %__mv pdumpfs.8.tmp pdumpfs.8 ) |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | %__rm -rf %{buildroot} |
---|
| 47 | %__install -d %{buildroot}%{_bindir} |
---|
| 48 | %__install -d %{buildroot}%{_mandir} |
---|
| 49 | |
---|
| 50 | # installing binaries ... |
---|
| 51 | %__install -m 755 pdumpfs %{buildroot}%{_bindir}/ |
---|
| 52 | |
---|
| 53 | # installing pdumpfs-clean |
---|
[3608] | 54 | %__install -m 755 pdumpfs-clean %{buildroot}%{_bindir}/ |
---|
[521] | 55 | |
---|
| 56 | # manpages |
---|
| 57 | ( cd man && %__tar cf - . ) | \ |
---|
| 58 | ( cd %{buildroot}%{_mandir} && %__tar xvf - ) |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | %__rm -rf %{buildroot} |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root) |
---|
| 65 | %doc README ChangeLog COPYING doc/* |
---|
| 66 | %{_bindir}/pdumpfs |
---|
| 67 | %{_bindir}/pdumpfs-clean |
---|
| 68 | %{_mandir}/man8/* |
---|
| 69 | %{_mandir}/ja/man8/* |
---|
| 70 | |
---|
| 71 | %changelog |
---|
[3608] | 72 | * Sun Apr 17 2011 IWAI, Masaharu <iwai@alib.jp> 1.3-2 |
---|
| 73 | - add utf-8 patch (Patch0, 1) |
---|
| 74 | - convert man/ja/man8/pdumpfs.8 to utf-8 |
---|
| 75 | - drop Prefix tag |
---|
| 76 | |
---|
[521] | 77 | * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5 |
---|
| 78 | - applied new versioning policy, spec in utf-8 |
---|
| 79 | |
---|
| 80 | * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-0vl2 |
---|
| 81 | - changed Group to Applications/Archiving |
---|
| 82 | |
---|
| 83 | * Sat Apr 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.3-0vl1 |
---|
| 84 | - new upstream version |
---|
| 85 | - update pdumpfs-clean |
---|
| 86 | - re-add Prefix tag |
---|
| 87 | |
---|
| 88 | * Sat Aug 28 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.2-0vl1 |
---|
| 89 | - new upstream version |
---|
| 90 | |
---|
| 91 | * Wed Jul 21 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1-0vl1 |
---|
| 92 | - new upstream version |
---|
| 93 | |
---|
| 94 | * Sat Jun 26 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.0-0vl1 |
---|
| 95 | - new upstream version |
---|
| 96 | |
---|
| 97 | * Sun May 30 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.9-0vl1 |
---|
| 98 | - new upstream version |
---|
| 99 | - add README, COPYING |
---|
| 100 | - convert man/ja/man8/pdumpfs.8 from iso-2022-jp to euc-jp |
---|
| 101 | |
---|
| 102 | * Mon Apr 05 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.8-0vl1 |
---|
| 103 | - new upstream version |
---|
| 104 | - drop pdumpfs-man-ja.tar.gz |
---|
| 105 | - drop Prefix tag |
---|
| 106 | |
---|
| 107 | * Fri Aug 22 2003 KAZUKI SHIMURA <rito@pos.to> 0.6-0vl5 |
---|
| 108 | - add pdumpfs-man-ja.tar.gz from cvs |
---|
| 109 | - man/ja/man8/pdumpfs.8: Convert to EUC-JP. |
---|
| 110 | - fix %%files |
---|
| 111 | - s/Copyright/License/ |
---|
| 112 | |
---|
| 113 | * Mon Jun 23 2003 KAZUKI SHIMURA <rito@pos.to> 0.6-0vl4 |
---|
| 114 | - update pdumpfs-clean to 1.4 |
---|
| 115 | |
---|
| 116 | * Wed Jun 18 2003 KAZUKI SHIMURA <rito@pos.to> 0.6-0vl3 |
---|
| 117 | - update pdumpfs-clean to 1.3 |
---|
| 118 | |
---|
| 119 | * Sun Jun 15 2003 KAZUKI SHIMURA <rito@pos.to> 0.6-0vl2 |
---|
| 120 | - added pdumpfs-clean (Source1) |
---|
| 121 | |
---|
| 122 | * Thu Aug 8 2002 Uechi Yasumasa <uh@u.dhis.portside.net> 0.6-0vl1 |
---|
| 123 | - new upstream version. |
---|
| 124 | |
---|
| 125 | * Tue Feb 12 2002 akira yamada <akira@vinelinux.org> 0.5-0vl1 |
---|
| 126 | - new upstream version. |
---|
| 127 | - added manpages. |
---|
| 128 | |
---|
| 129 | * Tue Nov 06 2001 akira yamada <akira@vinelinux.org> 0.4-0vl2 |
---|
| 130 | - makes an excutable of /usr/bin/pdumpfs. |
---|
| 131 | |
---|
| 132 | * Tue Nov 06 2001 akira yamada <akira@vinelinux.org> 0.4-0vl1 |
---|
| 133 | - Initial packaging. |
---|