|
@@ -2,13 +2,14 @@ Summary: a daily backup system similar to Plan9's dumpfs
|
|
Summary(ja): Plan9 もどきのバックアップシステム
|
|
Summary(ja): Plan9 もどきのバックアップシステム
|
|
Name: pdumpfs
|
|
Name: pdumpfs
|
|
Version: 1.3
|
|
Version: 1.3
|
|
-Release: 1%{?_dist_release}
|
|
+Release: 2%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/Archiving
|
|
Group: Applications/Archiving
|
|
URL: http://namazu.org/~satoru/%{name}/
|
|
URL: http://namazu.org/~satoru/%{name}/
|
|
-Source: http://namazu.org/~satoru/%{name}/%{name}-%{version}.tar.gz
|
|
+Source0: http://namazu.org/~satoru/%{name}/%{name}-%{version}.tar.gz
|
|
Source1: http://tach.arege.net/software/pdumpfs-clean/pdumpfs-clean
|
|
Source1: http://tach.arege.net/software/pdumpfs-clean/pdumpfs-clean
|
|
-Prefix: %{_prefix}
|
|
+Patch0: pdumpfs-1.3-utf8.patch
|
|
|
|
+Patch1: pdumpfs-clean-utf8.patch
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
Requires: ruby
|
|
Requires: ruby
|
|
@@ -31,11 +32,14 @@ pdumpfs は Plan9 の dumpfs もどきの単純なバックアップシステム
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%__cp %{SOURCE1} .
|
|
|
|
+%patch0 -p1 -b .utf8
|
|
|
|
+%patch1 -p0 -b .clean_utf8
|
|
|
|
|
|
%build
|
|
%build
|
|
%__make
|
|
%__make
|
|
( cd man/ja/man8 ; \
|
|
( cd man/ja/man8 ; \
|
|
- %{_bindir}/iconv -f iso-2022-jp -t euc-jp pdumpfs.8 > pdumpfs.8.tmp ; \
|
|
+ %{_bindir}/iconv -f iso-2022-jp -t utf-8 pdumpfs.8 > pdumpfs.8.tmp ; \
|
|
%__mv pdumpfs.8.tmp pdumpfs.8 )
|
|
%__mv pdumpfs.8.tmp pdumpfs.8 )
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -47,7 +51,7 @@ pdumpfs は Plan9 の dumpfs もどきの単純なバックアップシステム
|
|
%__install -m 755 pdumpfs %{buildroot}%{_bindir}/
|
|
%__install -m 755 pdumpfs %{buildroot}%{_bindir}/
|
|
|
|
|
|
# installing pdumpfs-clean
|
|
# installing pdumpfs-clean
|
|
-%__install -m 755 %{SOURCE1} %{buildroot}%{_bindir}/
|
|
+%__install -m 755 pdumpfs-clean %{buildroot}%{_bindir}/
|
|
|
|
|
|
# manpages
|
|
# manpages
|
|
( cd man && %__tar cf - . ) | \
|
|
( cd man && %__tar cf - . ) | \
|
|
@@ -65,6 +69,11 @@ pdumpfs は Plan9 の dumpfs もどきの単純なバックアップシステム
|
|
%{_mandir}/ja/man8/*
|
|
%{_mandir}/ja/man8/*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 17 2011 IWAI, Masaharu <iwai@alib.jp> 1.3-2
|
|
|
|
+- add utf-8 patch (Patch0, 1)
|
|
|
|
+- convert man/ja/man8/pdumpfs.8 to utf-8
|
|
|
|
+- drop Prefix tag
|
|
|
|
+
|
|
* Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5
|
|
* Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 1.3-1vl5
|
|
- applied new versioning policy, spec in utf-8
|
|
- applied new versioning policy, spec in utf-8
|
|
|
|
|